DEFAULT_LISTEN_PORT, DEFAULT_SIGTYPE, PROP_ENABLE_SSL, PROP_FAST_RECEIVE, PROP_GZIP, PROP_PW, PROP_RELIABILITY, PROP_RELIABILITY_BEST_EFFORT, PROP_RELIABILITY_GUARANTEED, PROP_RELIABILITY_NONE, PROP_SIGTYPE, PROP_TCP_HOST, PROP_TCP_PORT, PROP_USER, PROTOCOL_BYTE| Constructor and Description |
|---|
I2PSimpleClient() |
| Modifier and Type | Method and Description |
|---|---|
I2PSession | createSession(I2PAppContext context,
Properties options)Create a new session (though do not connect it yet) |
I2PSession | createSession(InputStream destKeyStream,
Properties options)Create a new session (though do not connect it yet) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateDestination, createDestination, createDestinationpublic I2PSession createSession(I2PAppContext context, Properties options) throws I2PSessionException
context - the application contextoptions - set of options to configure the router withI2PSessionException - on errorpublic I2PSession createSession(InputStream destKeyStream, Properties options) throws I2PSessionException
createSession in interface I2PClientdestKeyStream - stream containing the private key dataoptions - set of options to configure the router withI2PSessionException - if there is a problem creating the session