Codemesh Runtime v3 C++ API Reference  3.9.205
Public Member Functions | Protected Member Functions | List of all members
xmog_reply_thread_id_assignment Class Reference
Inheritance diagram for xmog_reply_thread_id_assignment:
Inheritance graph
[legend]
Collaboration diagram for xmog_reply_thread_id_assignment:
Collaboration graph
[legend]

Public Member Functions

 xmog_reply_thread_id_assignment (ACE_Message_Block *b)
 
jint assigned_thread_id (void) const
 
void * originator (void) const
 
bool matches (const xmog_request *req) const
 Check to see if the specified xmog_request matches this xmog_reply. The reply type needs to match the request type and the JVM pointer needs to match as well. More specific reply types can refine the check as needed.
 
- Public Member Functions inherited from xmog_reply
 xmog_reply (Disposition disp, xmog::xmog_message_id t=xmog::NONE, ACE_Message_Block *b=0)
 
 xmog_reply (const xmog_reply &r)
 
xmog_replyoperator= (const xmog_reply &r)
 
Disposition disposition (void) const
 
xmog::xmog_message_id type (void) const
 type() returns the message reply type. If the disposition is not SUCCESS, this value is meaningless.
 
void dump ()
 

Protected Member Functions

virtual bool unmarshal (void)
 
- Protected Member Functions inherited from xmog_reply
int readBoolean (bool &b)
 Reads a bool from the message.
 
int readByte (jbyte &b)
 Reads a byte from the message.
 
int readChar (jchar &c)
 Reads a jchar from the message.
 
int readDouble (jdouble &d)
 Reads a jdouble from the message.
 
int readFloat (jfloat &f)
 Reads a jfloat from the message.
 
int readInt (jint &i)
 Reads a 32bit integer from the message. More...
 
int readShort (jshort &s)
 Reads a 16bit integer from the message. More...
 
int readLong (jlong &l)
 Reads a 64-bit integer from the message. More...
 
int readClassName (char **str)
 Reads a UTF string from the message. More...
 
int readUTF (char **str, jint *len=NULL)
 Reads a UTF string from the message. More...
 
int readLongUTF (char **str, jint *len=NULL)
 Reads a long UTF string from the message. More...
 
int readStringProxy (xmog_remote_java_value &data, xmog::xmog_data_code code)
 Reads a string proxy from the message.
 
int read_data_code (xmog::xmog_data_code &code)
 Reads a data code. More...
 
int readData (xmog_remote_java_value &data)
 Reads a data object from the message. More...
 
int readExc (xmog_remote_java_exception &data)
 Reads an exception from the message. More...
 
int readDataProxy (xmog_remote_java_value &data)
 Reads a data proxy object from the message. More...
 

Additional Inherited Members

- Public Types inherited from xmog_reply
enum  Disposition { SUCCESS = 1, TIMEOUT, COMM_FAILURE }
 The Disposition indicates whether the requested operation was even carried out. If not SUCCESS, the operation was not executed for the indicated reason. If SUCCESS, the rest of the reply's data indicates the actual result of the operation.
 
enum  { INIT_BLOCK_SIZE = 4096 }
 
- Static Public Member Functions inherited from xmog_reply
static xmog_replydecode (ACE_Message_Block *b)
 Factory function that decodes an incoming reply and creates a xmog_reply-descended reply object. More...
 

The documentation for this class was generated from the following file:

Copyright (c) 1999-2020 by Codemesh, Inc., ALL RIGHTS RESERVED.