rpc.pdu
Class RequestCoPdu
java.lang.Object
ndr.NdrObject
rpc.ConnectionOrientedPdu
rpc.pdu.RequestCoPdu
- All Implemented Interfaces:
- java.lang.Cloneable, Fragmentable, ProtocolDataUnit
public class RequestCoPdu
- extends ConnectionOrientedPdu
- implements Fragmentable
Fields inherited from class rpc.ConnectionOrientedPdu |
AUTH_LENGTH_OFFSET, CALL_ID_OFFSET, callIdCounter, CONNECTION_ORIENTED_MAJOR_VERSION, DATA_REPRESENTATION_OFFSET, FLAGS_OFFSET, FRAG_LENGTH_OFFSET, HEADER_LENGTH, MAJOR_VERSION_OFFSET, MINOR_VERSION_OFFSET, MUST_RECEIVE_FRAGMENT_SIZE, PFC_CONC_MPX, PFC_DID_NOT_EXECUTE, PFC_FIRST_FRAG, PFC_LAST_FRAG, PFC_MAYBE, PFC_OBJECT_UUID, PFC_PENDING_CANCEL, TYPE_OFFSET |
Methods inherited from class rpc.ConnectionOrientedPdu |
decode, encode, getAuthenticatorLength, getCallId, getFlag, getFlags, getFormat, getFragmentLength, getMajorVersion, getMinorVersion, readHeader, setAuthenticatorLength, setCallId, setFlag, setFlags, setFormat, setFragmentLength, setMinorVersion, writeHeader |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REQUEST_TYPE
public static final int REQUEST_TYPE
- See Also:
- Constant Field Values
RequestCoPdu
public RequestCoPdu()
getType
public int getType()
- Specified by:
getType
in interface ProtocolDataUnit
- Specified by:
getType
in class ConnectionOrientedPdu
getStub
public byte[] getStub()
setStub
public void setStub(byte[] stub)
getAllocationHint
public int getAllocationHint()
setAllocationHint
public void setAllocationHint(int allocationHint)
getContextId
public int getContextId()
setContextId
public void setContextId(int contextId)
getOpnum
public int getOpnum()
- Overrides:
getOpnum
in class NdrObject
setOpnum
public void setOpnum(int opnum)
getObject
public UUID getObject()
setObject
public void setObject(UUID object)
readPdu
protected void readPdu(NetworkDataRepresentation ndr)
- Overrides:
readPdu
in class ConnectionOrientedPdu
writePdu
protected void writePdu(NetworkDataRepresentation ndr)
- Overrides:
writePdu
in class ConnectionOrientedPdu
readBody
protected void readBody(NetworkDataRepresentation ndr)
- Overrides:
readBody
in class ConnectionOrientedPdu
writeBody
protected void writeBody(NetworkDataRepresentation ndr)
- Overrides:
writeBody
in class ConnectionOrientedPdu
readStub
protected void readStub(NetworkDataRepresentation ndr)
writeStub
protected void writeStub(NetworkDataRepresentation ndr)
fragment
public java.util.Iterator fragment(int size)
- Specified by:
fragment
in interface Fragmentable
assemble
public Fragmentable assemble(java.util.Iterator fragments)
throws java.io.IOException
- Specified by:
assemble
in interface Fragmentable
- Throws:
java.io.IOException
clone
public java.lang.Object clone()
- Specified by:
clone
in interface Fragmentable
- Overrides:
clone
in class java.lang.Object