public class OncRpcServerAcceptedCallMessage extends OncRpcServerReplyMessage
OncRpcServerAcceptedCallMessage
class represents (on the
sender's side) an accepted ONC/RPC call. In ONC/RPC babble, an "accepted"
call does not mean that it carries a result from the remote procedure
call, but rather that the call was accepted at the basic ONC/RPC level
and no authentification failure or else occured.
This ONC/RPC reply header class is only a convenience for server implementors.
acceptStatus, authStatus, highVersion, lowVersion, rejectStatus, replyStatus, UNUSED_PARAMETER
messageId, messageType
Constructor and Description |
---|
OncRpcServerAcceptedCallMessage(OncRpcServerCallMessage call)
Constructs an
OncRpcServerAcceptedCallMessage object which
represents an accepted call, which was also successfully executed,
so the reply will contain information from the remote procedure call. |
OncRpcServerAcceptedCallMessage(OncRpcServerCallMessage call,
int acceptStatus)
Constructs an
OncRpcAcceptedCallMessage object which
represents an accepted call, which was not necessarily successfully
carried out. |
OncRpcServerAcceptedCallMessage(OncRpcServerCallMessage call,
int low,
int high)
Constructs an
OncRpcAcceptedCallMessage object for an
accepted call with an unsupported version. |
public OncRpcServerAcceptedCallMessage(OncRpcServerCallMessage call)
OncRpcServerAcceptedCallMessage
object which
represents an accepted call, which was also successfully executed,
so the reply will contain information from the remote procedure call.call
- The call message header, which is used to construct the
matching reply message header from.public OncRpcServerAcceptedCallMessage(OncRpcServerCallMessage call, int acceptStatus)
OncRpcAcceptedCallMessage
object which
represents an accepted call, which was not necessarily successfully
carried out. The parameter acceptStatus
will then
indicate the exact outcome of the ONC/RPC call.call
- The call message header, which is used to construct the
matching reply message header from.acceptStatus
- The accept status of the call. This can be any
one of the constants defined in the OncRpcAcceptStatus
interface.public OncRpcServerAcceptedCallMessage(OncRpcServerCallMessage call, int low, int high)
OncRpcAcceptedCallMessage
object for an
accepted call with an unsupported version. The reply will contain
information about the lowest and highest supported version.call
- The call message header, which is used to construct the
matching reply message header from.low
- Lowest program version supported by this ONC/RPC server.high
- Highest program version supported by this ONC/RPC server.Copyright © 2015. All rights reserved.