public abstract class OncRpcMessage extends Object
OncRpcMessage
class is an abstract superclass for all
the message types ONC/RPC defines (well, an overwhelming count of two).
The only things common to all ONC/RPC messages are a message identifier
and the message type. All other things do not come in until derived
classes are introduced.Modifier and Type | Field and Description |
---|---|
int |
messageId
The message id is used to identify matching ONC/RPC calls and
replies.
|
int |
messageType
The kind of ONC/RPC message, which can be either a call or a
reply.
|
Constructor and Description |
---|
OncRpcMessage(int messageId)
Constructs a new
OncRpcMessage object with default
values: a given message type and no particular message identifier. |
public int messageId
public int messageType
OncRpcMessageType
.OncRpcMessageType
Copyright © 2015. All rights reserved.