Package android.system
Class NetlinkSocketAddress
- java.lang.Object
-
- java.net.SocketAddress
-
- android.system.NetlinkSocketAddress
-
- All Implemented Interfaces:
Serializable
public final class NetlinkSocketAddress extends SocketAddress
Netlink socket address. Corresponds to Linux'sstruct sockaddr_nlfrom <linux/netlink.h>.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NetlinkSocketAddress()NetlinkSocketAddress(int nlPortId)NetlinkSocketAddress(int nlPortId, int nlGroupsMask)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetGroupsMask()intgetPortId()StringtoString()Returns a string containing a concise, human-readable description of this object.
-
-
-
Method Detail
-
getPortId
public int getPortId()
-
getGroupsMask
public int getGroupsMask()
-
toString
public String toString()
Description copied from class:ObjectReturns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:getClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toStringmethod if you intend implementing your owntoStringmethod.
-
-