public final class FileDescriptorSocketAddress
extends java.net.SocketAddress
SocketAddress
that allows to wrap an already existing filedescriptor.Constructor and Description |
---|
FileDescriptorSocketAddress(int fd)
Constructs a new instance which wraps an existing filedescriptor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
getValue()
Return the filedescriptor value.
|
int |
hashCode() |
java.lang.String |
toString() |
public FileDescriptorSocketAddress(int fd)
fd
- the filedescriptor to wrap.public int getValue()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object