@UnstableApi public final class PeerCredentials extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private int[] |
gids |
private int |
pid |
private int |
uid |
| Constructor and Description |
|---|
PeerCredentials(int p,
int u,
int... gids) |
| Modifier and Type | Method and Description |
|---|---|
int[] |
gids() |
int |
pid()
Get the PID of the peer process.
|
java.lang.String |
toString() |
int |
uid() |
public int pid()
This is currently not populated on MacOS and BSD based systems.
public int uid()
public int[] gids()
public java.lang.String toString()
toString in class java.lang.Object