rpc.pdu
Class RequestCoPdu

java.lang.Object
  extended by ndr.NdrObject
      extended by rpc.ConnectionOrientedPdu
          extended by rpc.pdu.RequestCoPdu
All Implemented Interfaces:
java.lang.Cloneable, Fragmentable, ProtocolDataUnit

public class RequestCoPdu
extends ConnectionOrientedPdu
implements Fragmentable


Field Summary
static int REQUEST_TYPE
           
 
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
 
Fields inherited from class ndr.NdrObject
value
 
Constructor Summary
RequestCoPdu()
           
 
Method Summary
 Fragmentable assemble(java.util.Iterator fragments)
           
 java.lang.Object clone()
           
 java.util.Iterator fragment(int size)
           
 int getAllocationHint()
           
 int getContextId()
           
 UUID getObject()
           
 int getOpnum()
           
 byte[] getStub()
           
 int getType()
           
protected  void readBody(NetworkDataRepresentation ndr)
           
protected  void readPdu(NetworkDataRepresentation ndr)
           
protected  void readStub(NetworkDataRepresentation ndr)
           
 void setAllocationHint(int allocationHint)
           
 void setContextId(int contextId)
           
 void setObject(UUID object)
           
 void setOpnum(int opnum)
           
 void setStub(byte[] stub)
           
protected  void writeBody(NetworkDataRepresentation ndr)
           
protected  void writePdu(NetworkDataRepresentation ndr)
           
protected  void writeStub(NetworkDataRepresentation ndr)
           
 
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 ndr.NdrObject
read, write
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REQUEST_TYPE

public static final int REQUEST_TYPE
See Also:
Constant Field Values
Constructor Detail

RequestCoPdu

public RequestCoPdu()
Method Detail

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