public final class NetlinkSocketAddress extends SocketAddress
struct sockaddr_nl from
<linux/netlink.h>.| Constructor and Description |
|---|
NetlinkSocketAddress() |
NetlinkSocketAddress(int nlPortId) |
NetlinkSocketAddress(int nlPortId,
int nlGroupsMask) |
| Modifier and Type | Method and Description |
|---|---|
int |
getGroupsMask() |
int |
getPortId() |
String |
toString()
Returns a string containing a concise, human-readable description of this
object.
|
public NetlinkSocketAddress()
public NetlinkSocketAddress(int nlPortId)
public NetlinkSocketAddress(int nlPortId,
int nlGroupsMask)
public int getPortId()
public int getGroupsMask()
public String toString()
ObjectgetClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toString method
if you intend implementing your own toString method.