public class SocketCertificates extends Object
| 构造器 | 说明 |
|---|---|
SocketCertificates(int pid,
int uid,
int gid) |
A constructor used to create a
SocketCertificates instance with a specified PID, UID, and GID. |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
int |
getGid() |
Obtains the GID of the process using this UNIX domain socket for communications.
|
int |
getPid() |
Obtains the PID of the process using this UNIX domain socket for communications.
|
int |
getUid() |
Obtains the UID of the process using this UNIX domain socket for communications.
|
public SocketCertificates(int pid,
int uid,
int gid)
SocketCertificates instance with a specified PID, UID, and GID.pid - Indicates the PID of the process using the socket for communications.uid - Indicates the UID of the process using the socket for communications.gid - Indicates the GID of the process using the socket for communications.public int getPid()
public int getUid()
public int getGid()