Codemesh Runtime v3 C++ API Reference  3.9.205
xmog_serializable.h
1 //
2 // Copyright (c) 1999-2020 by Codemesh, Inc.. ALL RIGHTS RESERVED.
3 //
4 
5 
6 #ifndef xmog_serializable_inc
7 #define xmog_serializable_inc
8 
9 
10 #include "xmog_peer.h"
11 
12 
18 class XMOG_DECLSPEC xmog_serializable : public xmog_peer
19 {
20 public:
21 
29  static int create( xmog_base * peer, xmog_localenv * env = NULL, xmog_flags = xmog_base::LOCAL );
30 
39  static char * to_string( xmog_base * peer, xmog_localenv * env = NULL );
40 
45  static xmog_java_class * get_class();
46 };
47 
48 
49 #endif /* xmog_serializable_inc */
xmog_peer
A utility class that provides access to the Java interface com.codemesh.peer.PeerType.
Definition: xmog_peer.h:233
xmog_serializable
A utility class that provides easy access to the Java type com.codemesh.peer.SerializablePeer.
Definition: xmog_serializable.h:18
xmog_peer::create
static int create(xmog_base *peer, const char *classNameUtf, xmog_localenv *env=NULL, xmog_flags=xmog_base::LOCAL)
Creates a new instance of a Java type that is supposedly implementing the com.codemesh....
xmog_base
The baseclass for all proxy types in the framework.
Definition: xmog_base.h:29
xmog_localenv
A class representing per-thread information for the integration runtime.
Definition: xmog_localenv.h:32
xmog_java_class
A C++ wrapper for Java types.
Definition: xmog_java_class.h:31
xmog_peer::to_string
static char * to_string(xmog_base *peer, xmog_localenv *env=NULL)
Returns a string containing the instance's state in text representation.
xmog_peer::get_class
static xmog_java_class * get_class()
Returns a pointer to the xmog_java_class that represents the com.codemesh.peer.PeerType interface.

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