5 #ifndef xmogRemoteData_inc
6 #define xmogRemoteData_inc
12 #if (XMOG_IMPLEMENTS_REMOTE_CLIENT==1)
15 class ACE_Message_Block;
18 #include "xmog_remote_constants.h"
19 #include "xmog_java_client.h"
44 xmog_remote_data( ACE_Message_Block * pBlk, jint primLimit, jint strcharLimit );
51 int encode( jboolean z );
58 int decode_jboolean( jboolean & z);
65 int encode( jbyte b );
72 int decode_byte( jbyte & b );
79 int encode( jchar ch );
86 int decode_char( jchar & ch );
93 int encode( jdouble d );
100 int decode_double( jdouble & d );
107 int encode( jfloat f );
114 int decode_float( jfloat & f );
121 int encode( jint i );
128 int decode_int( jint & i );
135 int encode( jlong l );
142 int decode_long( jlong & l );
149 int encode( jshort s );
156 int decode_short( jshort & s );
162 void encode(
bool arrz[], jint length );
173 int encode_empty_string();
186 int encode_utf8(
const char * utf, jint len = -1 );
200 int encode(
int type,
int written,
int align,
int datasize,
void* data );
212 int decode(
int type,
char * ptr,
int align,
int datasize,
void* result );
214 ACE_Message_Block * pBlk_;