Package libcore.io
Class StructUcred
java.lang.Object
libcore.io.StructUcred
public final class StructUcred extends Object
Corresponds to C's
struct ucred.-
Field Summary
-
Method Summary
-
Field Details
-
pid
public final int pidThe peer's process id. -
uid
public final int uidThe peer process' uid. -
gid
public final int gidThe peer process' gid.
-
-
Method Details
-
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.
-