Package | Description |
---|---|
net.i2p.router.transport.udp |
The UDP transport (also known as 'SSU transport') allows passing I2P messages on top of UDP.
|
Modifier and Type | Method and Description |
---|---|
PeerTestState.Role |
PeerTestState.getOurRole()
Are we Alice, bob, or Charlie.
|
static PeerTestState.Role |
PeerTestState.Role.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PeerTestState.Role[] |
PeerTestState.Role.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
(package private) PeerState |
UDPTransport.pickTestPeer(PeerTestState.Role peerRole,
boolean isIPv6,
RemoteHostId dontInclude)
Pick a Bob (if we are Alice) or a Charlie (if we are Bob).
|
Constructor and Description |
---|
PeerTestState(PeerTestState.Role role,
boolean isIPv6,
long nonce,
long now) |