## Uses of Class
net.i2p.router.transport.udp.PeerTestState.Role

- Packages that use PeerTestState.Role
  Package | Description
  --- | ---
  net.i2p.router.transport.udp | The UDP transport (also known as 'SSU' or Secure Semi-reliable UDP transport) for I2P, allowing I2P messages to be passed over UDP connections.

- - ### Uses of PeerTestState.Role in net.i2p.router.transport.udp

    Methods in net.i2p.router.transport.udp that return PeerTestState.Role
    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.

    Methods in net.i2p.router.transport.udp with parameters of type PeerTestState.Role
    Modifier and Type | Method and Description
    --- | ---
    `static byte[]` | SSU2Util.`createPeerTestData(I2PAppContext ctx, Hash h, Hash h2, PeerTestState.Role role, long nonce, byte[] ip, int port, SigningPrivateKey spk)` Make the data for the peer test block
    `(package private) PeerState` | UDPTransport.`pickTestPeer(PeerTestState.Role peerRole, int version, boolean isIPv6, RemoteHostId dontInclude)` Pick a Bob (if we are Alice) or a Charlie (if we are Bob).

    Constructors in net.i2p.router.transport.udp with parameters of type PeerTestState.Role
    Constructor and Description
    `PeerTestState(PeerTestState.Role role, PeerState bob, boolean isIPv6, long nonce, long now)`