|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openorb.orb.csiv2.CSICompleteEstablishContext
public final class CSICompleteEstablishContext
This is a convenience wrapper class around the CompleteEstablishContext
class. It provides helper methods to retrieve all data from the
CompleteEstablishContext
class in an easy way.
Method Summary | |
---|---|
static CSICompleteEstablishContext |
create(org.omg.IOP.Codec codec)
This method creates a CompleteEstablishContext message. |
static CSICompleteEstablishContext |
create(org.omg.IOP.Codec codec,
CompleteEstablishContext cec)
This method just wraps this class around the specified instance of type CompleteEstablishContext . |
long |
getClientContextId()
Returns the value of the member CompleteEstablishContext.client_context_id . |
byte[] |
getEncodedSASContextBody(org.omg.CORBA.ORB orb)
Return the CompleteEstablishContext instance embedded into an
instance of type SASContextBody and GIOP encoded as
byte array. |
byte[] |
getFinalContextToken()
Return the value from the CompleteEstablishContext.final_context_token . |
CompleteEstablishContext |
getInternal()
Return the internal member which this class wraps. |
boolean |
isContextStateful()
Return true when the context is stateful, and false when stateless. |
java.lang.String |
toString()
Creates a stringified representation of the class CompleteEstablishContext . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static CSICompleteEstablishContext create(org.omg.IOP.Codec codec, CompleteEstablishContext cec)
CompleteEstablishContext
.
codec
- The codec to be used for GIOP encoding and decoding.cec
- The instance of type CompleteEstablishContext
this class
is a wrapper for.
CompleteEstablishContext
.public static CSICompleteEstablishContext create(org.omg.IOP.Codec codec)
codec
- The codec used for GIOP encoding and decoding.
CompleteEstablishContext
.public CompleteEstablishContext getInternal()
CompleteEstablishContext
.public byte[] getEncodedSASContextBody(org.omg.CORBA.ORB orb)
CompleteEstablishContext
instance embedded into an
instance of type SASContextBody
and GIOP encoded as
byte array.
SASContextBody
or null in case the wrapped member
has not been set.public long getClientContextId()
CompleteEstablishContext.client_context_id
.
This must be null for stateless contexts (for Level0 compliance).
CompleteEstablishContext.client_context_id
or -1 in case the wrapped member has not been set.public boolean isContextStateful()
public byte[] getFinalContextToken()
CompleteEstablishContext.final_context_token
.
CompleteEstablishContext.final_context_token
or null when the CompleteEstablishContext
member has not been set.public java.lang.String toString()
CompleteEstablishContext
.
toString
in class java.lang.Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |