public class OncRpcServerCallMessage extends OncRpcCallMessage
OncRpcServerCallMessage
class represents an ONC/RPC
call message on the server side. For this reasons it just handles
decoding of call messages but can not do any encoding. This class is
also responsible for pulling off authentication information from the
wire and converting it into appropriate authentication protocol handling
objects. As with all good management, this class therefor delegates this
somehow unpleasant work to the server-side authentication protocol handling
classes.OncRpcServerAuth
Modifier and Type | Field and Description |
---|---|
OncRpcServerAuth |
auth
Contains the authentication protocol handling object retrieved together
with the call message itself.
|
ONCRPC_VERSION, oncRpcVersion, procedure, program, version
messageId, messageType
Constructor and Description |
---|
OncRpcServerCallMessage(org.acplt.oncrpc.server.OncRpcServerAuthSchemes authenticationSchemes) |
Modifier and Type | Method and Description |
---|---|
void |
xdrDecode(XdrDecodingStream xdr)
Decodes -- that is: deserializes -- a ONC/RPC message header object
from a XDR stream according to RFC 1831.
|
public OncRpcServerAuth auth
public OncRpcServerCallMessage(org.acplt.oncrpc.server.OncRpcServerAuthSchemes authenticationSchemes)
public void xdrDecode(XdrDecodingStream xdr) throws OncRpcException, IOException
xdr
- A decoding XDR stream from which to receive all the mess.OncRpcException
- if an ONC/RPC error occurs.IOException
- if an I/O error occurs.Copyright © 2022. All rights reserved.