パッケージ | 説明 |
---|---|
net.i2p.router.transport |
The transport system allows the usage of communication layers that are below I2P in the stack, on which I2P messages are sent.
|
net.i2p.router.transport.ntcp |
The NTCP transport allows passing I2P messages on top of TCP.
|
net.i2p.router.transport.udp |
The UDP transport (also known as 'SSU transport') allows passing I2P messages on top of UDP.
|
修飾子とタイプ | メソッド | 説明 |
---|---|---|
static Transport.AddressSource |
Transport.AddressSource.valueOf(java.lang.String name) |
指定した名前を持つこの型の列挙型定数を返します。
文字列は、この型の列挙型定数を宣言するのに使用した識別子と正確に
一致している必要があります。(余分な空白文字を含めることは
できません。)
|
static Transport.AddressSource[] |
Transport.AddressSource.values() |
この列挙型の定数を含む配列を宣言されている順序で返します。
このメソッドは次のようにして定数を反復するために
使用できます:
for (Transport.AddressSource c : Transport.AddressSource.values()) System.out.println(c); |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
void |
Transport.externalAddressReceived(Transport.AddressSource source,
byte[] ip,
int port) |
Notify a transport of an external address change.
|
abstract void |
TransportImpl.externalAddressReceived(Transport.AddressSource source,
byte[] ip,
int port) |
Notify a transport of an external address change.
|
(package private) void |
TransportManager.externalAddressReceived(Transport.AddressSource source,
byte[] ip,
int port) |
Initialize from interfaces, and callback from UPnP or SSU.
|
void |
Transport.externalAddressRemoved(Transport.AddressSource source,
boolean ipv6) |
Notify a transport of an external address change.
|
void |
TransportImpl.externalAddressRemoved(Transport.AddressSource source,
boolean ipv6) |
Notify a transport of an external address change.
|
(package private) void |
TransportManager.externalAddressRemoved(Transport.AddressSource source,
boolean ipv6) |
Remove all ipv4 or ipv6 addresses.
|
修飾子とタイプ | メソッド | 説明 |
---|---|---|
void |
NTCPTransport.externalAddressReceived(Transport.AddressSource source,
byte[] ip,
int port) |
UDP changed addresses, tell NTCP and (possibly) restart
|
void |
NTCPTransport.externalAddressRemoved(Transport.AddressSource source,
boolean ipv6) |
Notify a transport of an external address change.
|
修飾子とタイプ | メソッド | 説明 |
---|---|---|
void |
UDPTransport.externalAddressReceived(Transport.AddressSource source,
byte[] ip,
int port) |
From config, UPnP, local i/f, ...
|