public class GetPortRequest extends RpcRequest
| Modifier and Type | Field and Description |
|---|---|
static int |
IPPROTO_TCP
TCP/IP Protocol number constant for Portmap requests.
|
static int |
IPPROTO_UDP
UDP/IP Protocol number constant for Portmap requests.
|
CHARSET| Constructor and Description |
|---|
GetPortRequest(int programToQuery,
int programVersion)
Simple constructor for calls, using the default TCP/IP protocol.
|
GetPortRequest(int programToQuery,
int programVersion,
int networkProtocol) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getErrorMessage() |
void |
marshalling(Xdr x) |
cloneFileHandle, isUsePrivilegedPort, setUsePrivilegedPort, startToString, trimFileNamepublic static final int IPPROTO_TCP
public static final int IPPROTO_UDP
public GetPortRequest(int programToQuery,
int programVersion)
programToQuery - The RPC number for the program that will be used for later
queries.programVersion - The RPC number for the program version that will be used for
later queries.public GetPortRequest(int programToQuery,
int programVersion,
int networkProtocol)
programToQuery - The RPC number for the program that will be used for later
queries.programVersion - The RPC number for the program version that will be used for
later queries.networkProtocol - The RPC number for the network protocol that will be used for
later queries.public void marshalling(Xdr x)
marshalling in class RpcRequestpublic java.lang.String getErrorMessage()
getErrorMessage in class RpcRequest