Codemesh Runtime v3 C++ API Reference  3.9.205
xmog_client_connect.h
1 //
2 // Copyright (c) 1999-2020 by Codemesh, Inc.. ALL RIGHTS RESERVED.
3 //
4 
5 
6 #ifndef xmog_client_connect_inc
7 #define xmog_client_connect_inc
8 
9 
10 #include "xmog.h"
11 #include "ace/DLL_Manager.h"
12 
13 
14 #if (XMOG_IMPLEMENTS_REMOTE_SERVER==1)
15 
16 
17 # include "xmog_remote_client_options.h"
18 
19 
20 class XMOG_DECLSPEC xmog_client_connect
21 {
22 public:
23 
24  static xmog_client_connect * get_client_connect( const xmog_remote_client_options & );
25 
26  virtual ~xmog_client_connect();
27 
28  virtual jint connect() = 0;
29 
30  virtual jint disconnect() = 0;
31 
32 protected:
33 
35 
36  char * isolateArgument( const char * str, const char * argname );
37 
38  static void * getLibrary( const char * name ); // extracts the library that contains the entry points
39 
40  char * getApplicationId(); // extracts the application ID from the connection string
41 
42  char * getApiPrefix(); // extracts the API prefix that is used to look up entry points
43 
44  jint getConnectionTimeout(); // extracts the connection timeout from the connection string
45 
46  u_short heartBeatPort_fromServer_; // the heartbeat port used by the server
47 
48  jint heartBeatInterval_fromServer_; // the heartbeat interval from the server
49 
50  jint jobjectSize_fromServer_; // the jobject size in the server
51 
52  jint pointerSize_fromServer_; // the pointersize on the server
53 
54  jint ecConnection_fromServer_; // the error code from the connection attempt
55 
56  char * msgConnection_fromServer_; // the error message from the connection attempt
57 
58  const xmog_remote_client_options & opts; // the
59 
60 
61 };
62 
63 
64 #endif /* XMOG_IMPLEMENTS_REMOTE_SERVER==1 */
65 
66 
67 #endif /* xmog_client_connect_inc */
xmog_client_connect
Definition: xmog_client_connect.h:20
xmog_remote_client_options
A class that represents the settings that a remote client uses to connect to a shared JVM.
Definition: xmog_remote_client_options.h:60

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