|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectndr.NdrObject
rpc.ConnectionOrientedPdu
public abstract class ConnectionOrientedPdu
Field Summary | |
---|---|
static int |
AUTH_LENGTH_OFFSET
|
static int |
CALL_ID_OFFSET
|
protected static int |
callIdCounter
|
static int |
CONNECTION_ORIENTED_MAJOR_VERSION
|
static int |
DATA_REPRESENTATION_OFFSET
|
static int |
FLAGS_OFFSET
|
static int |
FRAG_LENGTH_OFFSET
|
static int |
HEADER_LENGTH
|
static int |
MAJOR_VERSION_OFFSET
|
static int |
MINOR_VERSION_OFFSET
|
static int |
MUST_RECEIVE_FRAGMENT_SIZE
|
static int |
PFC_CONC_MPX
Flag indicating support for concurrent multiplexing of a single connection. |
static int |
PFC_DID_NOT_EXECUTE
Flag for fault PDUs; if set, indicates that the call definitely did not execute. |
static int |
PFC_FIRST_FRAG
Flag indicating the PDU is the first fragment. |
static int |
PFC_LAST_FRAG
Flag indicating the PDU is the last fragment. |
static int |
PFC_MAYBE
Flag for request PDU indicating oneway call semantics; no response will be provided by the server. |
static int |
PFC_OBJECT_UUID
Flag indicating a valid object UUID was specified and is present in the optional object field. |
static int |
PFC_PENDING_CANCEL
Flag indicating a cancel was pending at the sender. |
static int |
TYPE_OFFSET
|
Fields inherited from class ndr.NdrObject |
---|
value |
Constructor Summary | |
---|---|
ConnectionOrientedPdu()
|
Method Summary | |
---|---|
void |
decode(NetworkDataRepresentation ndr,
NdrBuffer src)
|
void |
encode(NetworkDataRepresentation ndr,
NdrBuffer dst)
|
int |
getAuthenticatorLength()
|
int |
getCallId()
|
boolean |
getFlag(int flag)
|
int |
getFlags()
|
Format |
getFormat()
|
int |
getFragmentLength()
|
int |
getMajorVersion()
|
int |
getMinorVersion()
|
abstract int |
getType()
|
protected void |
readBody(NetworkDataRepresentation ndr)
|
protected void |
readHeader(NetworkDataRepresentation ndr)
|
protected void |
readPdu(NetworkDataRepresentation ndr)
|
protected void |
setAuthenticatorLength(int authLength)
|
void |
setCallId(int callId)
|
void |
setFlag(int flag,
boolean value)
|
void |
setFlags(int flags)
|
void |
setFormat(Format format)
|
protected void |
setFragmentLength(int fragLength)
|
void |
setMinorVersion(int minorVersion)
|
protected void |
writeBody(NetworkDataRepresentation ndr)
|
protected void |
writeHeader(NetworkDataRepresentation ndr)
|
protected void |
writePdu(NetworkDataRepresentation ndr)
|
Methods inherited from class ndr.NdrObject |
---|
getOpnum, read, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int CONNECTION_ORIENTED_MAJOR_VERSION
public static final int MUST_RECEIVE_FRAGMENT_SIZE
public static final int PFC_FIRST_FRAG
public static final int PFC_LAST_FRAG
public static final int PFC_PENDING_CANCEL
public static final int PFC_CONC_MPX
public static final int PFC_DID_NOT_EXECUTE
public static final int PFC_MAYBE
public static final int PFC_OBJECT_UUID
public static final int MAJOR_VERSION_OFFSET
public static final int MINOR_VERSION_OFFSET
public static final int TYPE_OFFSET
public static final int FLAGS_OFFSET
public static final int DATA_REPRESENTATION_OFFSET
public static final int FRAG_LENGTH_OFFSET
public static final int AUTH_LENGTH_OFFSET
public static final int CALL_ID_OFFSET
public static final int HEADER_LENGTH
protected static int callIdCounter
Constructor Detail |
---|
public ConnectionOrientedPdu()
Method Detail |
---|
public int getMajorVersion()
getMajorVersion
in interface ProtocolDataUnit
public int getMinorVersion()
public void setMinorVersion(int minorVersion)
public Format getFormat()
getFormat
in interface ProtocolDataUnit
public void setFormat(Format format)
setFormat
in interface ProtocolDataUnit
public int getFlags()
public void setFlags(int flags)
public boolean getFlag(int flag)
public void setFlag(int flag, boolean value)
public int getCallId()
public void setCallId(int callId)
public int getFragmentLength()
protected void setFragmentLength(int fragLength)
public int getAuthenticatorLength()
protected void setAuthenticatorLength(int authLength)
public void decode(NetworkDataRepresentation ndr, NdrBuffer src)
decode
in class NdrObject
public void encode(NetworkDataRepresentation ndr, NdrBuffer dst)
encode
in class NdrObject
protected void readPdu(NetworkDataRepresentation ndr)
protected void writePdu(NetworkDataRepresentation ndr)
protected void readHeader(NetworkDataRepresentation ndr)
protected void writeHeader(NetworkDataRepresentation ndr)
protected void readBody(NetworkDataRepresentation ndr)
protected void writeBody(NetworkDataRepresentation ndr)
public abstract int getType()
getType
in interface ProtocolDataUnit
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |