Class LocalAddress
java.lang.Object
java.net.SocketAddress
io.netty.channel.local.LocalAddress
- All Implemented Interfaces:
Serializable, Comparable<LocalAddress>
An endpoint in the local transport. Each endpoint is identified by a unique
case-insensitive string.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLocalAddress(Class<?> cls) Creates a new instance with a random ID based on the given class.LocalAddress(String id) Creates a new instance with the specified ID. -
Method Summary
-
Field Details
-
ANY
-
-
Constructor Details
-
LocalAddress
Creates a new instance with the specified ID. -
LocalAddress
Creates a new instance with a random ID based on the given class.
-
-
Method Details
-
id
Returns the ID of this address. -
hashCode
-
equals
-
compareTo
- Specified by:
compareToin interfaceComparable<LocalAddress>
-
toString
-