public final class StructUcred extends Object
struct ucred.| Modifier and Type | Field and Description |
|---|---|
int |
gid
The peer process' gid.
|
int |
pid
The peer's process id.
|
int |
uid
The peer process' uid.
|
| Constructor and Description |
|---|
StructUcred(int pid,
int uid,
int gid) |
| Modifier and Type | Method and Description |
|---|---|
String |
toString()
Returns a string containing a concise, human-readable description of this
object.
|
public final int pid
public final int uid
public final int gid
public String toString()
ObjectgetClass().getName() + '@' + Integer.toHexString(hashCode())
See Writing a useful
toString method
if you intend implementing your own toString method.