public class OncRpcClientCallMessage extends OncRpcCallMessage
OncRpcClientCallMessage
class represents a remote procedure
call message on the client side.Modifier and Type | Field and Description |
---|---|
protected OncRpcClientAuth |
auth
Client-side authentication protocol handling object to use when
decoding the reply message.
|
ONCRPC_VERSION, oncRpcVersion, procedure, program, version
messageId, messageType
Constructor and Description |
---|
OncRpcClientCallMessage(int messageId,
int program,
int version,
int procedure,
OncRpcClientAuth auth)
Constructs and initialises a new ONC/RPC call message header.
|
Modifier and Type | Method and Description |
---|---|
void |
xdrEncode(XdrEncodingStream xdr)
Encodes -- that is: serializes -- a ONC/RPC message header object
into a XDR stream according to RFC 1831.
|
protected OncRpcClientAuth auth
public OncRpcClientCallMessage(int messageId, int program, int version, int procedure, OncRpcClientAuth auth)
messageId
- An identifier choosen by an ONC/RPC client to uniquely
identify matching call and reply messages.program
- Program number of the remote procedure to call.version
- Program version number of the remote procedure to call.procedure
- Procedure number (identifier) of the procedure to call.auth
- Authentication protocol handling object.public void xdrEncode(XdrEncodingStream xdr) throws OncRpcException, IOException
xdr
- An encoding XDR stream where to put the mess in.OncRpcException
- if an ONC/RPC error occurs.IOException
- if an I/O error occurs.Copyright © 2022. All rights reserved.