Changeset 3a30f07
- Timestamp:
- Feb 6, 2019 11:54:29 AM (2 years ago)
- Branches:
- master
- Children:
- 490b81c
- Parents:
- 61c6242
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
core/java/src/net/i2p/client/datagram/I2PDatagramMaker.java
r61c6242 r3a30f07 46 46 * repliable datagrams going to be sent through the specified I2PSession. 47 47 * 48 * Does NOT support LS2 offline keys! 49 * 48 50 * @param session I2PSession used to send I2PDatagrams through 51 * @throws IllegalArgumentException if session has offline keys 49 52 */ 50 53 public I2PDatagramMaker(I2PSession session) { … … 60 63 } 61 64 65 /** 66 * Does NOT support LS2 offline keys! 67 * 68 * @param session I2PSession used to send I2PDatagrams through 69 * @throws IllegalArgumentException if session has offline keys 70 */ 62 71 public void setI2PDatagramMaker(I2PSession session) { 72 if (session.isOffline()) 73 throw new IllegalArgumentException("Offline keys unsupported"); 63 74 sxPrivKey = session.getPrivateKey(); 64 75 sxDestBytes = session.getMyDestination().toByteArray();
Note: See TracChangeset
for help on using the changeset viewer.