data class Endpoint
(source)
An Ethereum node endpoint.
<init> |
Create a new endpoint. Endpoint(address: SocketAddress, tcpPort: Int? = null) Endpoint(address: String, udpPort: Int = DEFAULT_PORT, tcpPort: Int? = null) |
address |
the InetAddress val address: String |
tcpPort |
the TCP port for the endpoint or val tcpPort: Int? |
tcpSocketAddress |
TCP socket address of the endpoint, if set val tcpSocketAddress: InetSocketAddress? |
udpPort |
the UDP port for the endpoint val udpPort: Int |
udpSocketAddress |
UDP socket address of the endpoint val udpSocketAddress: SocketAddress |
DEFAULT_PORT |
The default port used by Ethereum DevP2P. const val DEFAULT_PORT: Int |
readFrom |
Create an Endpoint by reading fields from the RLP input stream. fun readFrom(reader: RLPReader): Endpoint |