DEFAULT_SIGTYPE, PROP_FAST_RECEIVE, PROP_RELIABILITY, PROP_RELIABILITY_BEST_EFFORT, PROP_RELIABILITY_GUARANTEED, PROP_RELIABILITY_NONE, PROP_SIGTYPE, PROP_TCP_HOST, PROP_TCP_PORT, PROTOCOL_BYTE
コンストラクタ | 説明 |
---|---|
I2PSimpleClient() |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
Destination |
createDestination(java.io.OutputStream destKeyStream) |
推奨されていません。
Don't do this
|
Destination |
createDestination(java.io.OutputStream destKeyStream,
SigType type) |
推奨されていません。
Don't do this
|
Destination |
createDestination(java.io.OutputStream destKeyStream,
Certificate cert) |
推奨されていません。
Don't do this
|
I2PSession |
createSession(java.io.InputStream destKeyStream,
java.util.Properties options) |
Create a new session (though do not connect it yet)
|
I2PSession |
createSession(I2PAppContext context,
java.util.Properties options) |
Create a new session (though do not connect it yet)
|
@Deprecated public Destination createDestination(java.io.OutputStream destKeyStream) throws I2PException, java.io.IOException
I2PClient
createDestination
インタフェース内 I2PClient
destKeyStream
- create a new destination and write out the object to the given stream,
formatted as Destination, PrivateKey, and SigningPrivateKey
format is specified in PrivateKeyFile
java.lang.UnsupportedOperationException
- alwaysI2PException
java.io.IOException
@Deprecated public Destination createDestination(java.io.OutputStream destKeyStream, SigType type) throws I2PException, java.io.IOException
I2PClient
createDestination
インタフェース内 I2PClient
destKeyStream
- location to write out the destination, PrivateKey, and SigningPrivateKey,
format is specified in PrivateKeyFile
java.lang.UnsupportedOperationException
- alwaysI2PException
java.io.IOException
@Deprecated public Destination createDestination(java.io.OutputStream destKeyStream, Certificate cert) throws I2PException, java.io.IOException
I2PClient
createDestination
インタフェース内 I2PClient
destKeyStream
- location to write out the destination, PrivateKey, and SigningPrivateKey,
format is specified in PrivateKeyFile
cert
- certificate to tie to the destinationjava.lang.UnsupportedOperationException
- alwaysI2PException
java.io.IOException
public I2PSession createSession(java.io.InputStream destKeyStream, java.util.Properties options) throws I2PSessionException
createSession
インタフェース内 I2PClient
destKeyStream
- location from which to read the Destination, PrivateKey, and SigningPrivateKey from,
format is specified in PrivateKeyFile
options
- set of options to configure the router with, if null will use System propertiesI2PSessionException
public I2PSession createSession(I2PAppContext context, java.util.Properties options) throws I2PSessionException