LocalIdentity(ip: String, port: String, id: Identity)
Constructor for a local identity
ip
- the IP address associated with this local identity
port
- the port associated with this local identity
NumberFormatException
- if the port does not represent a number
IllegalArgumentException
- if the port is not in the valid port range 0-65536
LocalIdentity(ip: String, port: Int, id: Identity)
Constructor for a local identity
ip
- the IP address associated with this local identity
port
- the port associated with this local identity
IllegalArgumentException
- if the port is not in the valid port range 0-65536
LocalIdentity(addr: InetSocketAddress, id: Identity)
Constructor for a local identity
addr
- the address associated with this local identity
NumberFormatException
- if the port does not represent a number
IllegalArgumentException
- if the port is not in the valid port range 0-65536