MqContextC - setup and manage a client-server-link … More...
Functions | |
native MqContextC | jvmqmsgque.MqContextC.LinkGetParent () |
Java: → C-API get the initial parent-context from a client/server link … | |
native void | jvmqmsgque.MqContextC.LinkConnect () |
Java: → C-API re-connect a client-server-link after a server crash or a network downtime … | |
native void | jvmqmsgque.MqContextC.LinkCreate (MkBufferListC args) |
Java: → C-API make ctx to a parent-context and setup a new client-server-link … | |
native void | jvmqmsgque.MqContextC.LinkCreateChild (MqContextC parent, MkBufferListC args) |
Java: → C-API make a context to a child-context on-top of an existing parent-client-server-link … | |
void | jvmqmsgque.MqContextC.LinkCreateChild (MqContextC parent, String... args) |
Java: → C-API make a context to a child-context on-top of an existing parent-client-server-link … | |
void | jvmqmsgque.MqContextC.LinkCreateChild (MqContextC parent) |
Java: → C-API make a context to a child-context on-top of an existing parent-client-server-link … | |
void | jvmqmsgque.MqContextC.LinkCreate (String... args) |
Java: → C-API make ctx to a parent-context and setup a new client-server-link … | |
void | jvmqmsgque.MqContextC.LinkCreate () |
Java: → C-API make ctx to a parent-context and setup a new client-server-link … | |
native void | jvmqmsgque.MqContextC.LinkDelete () |
Java: → C-API close the client-server-link … | |
native int | jvmqmsgque.MqContextC.LinkGetCtxId () |
Java: → C-API get an identifier which is unique per parent-or-child-context … | |
native String | jvmqmsgque.MqContextC.LinkGetTargetIdent () |
Java: → C-API get the ident of the link-target … | |
native boolean | jvmqmsgque.MqContextC.LinkIsConnected () |
Java: → C-API is the context connected? … | |
native boolean | jvmqmsgque.MqContextC.LinkIsParent () |
Java: → C-API is the context a parent-context? … | |
native void | jvmqmsgque.MqContextC.LinkShutdown () |
Java: → C-API shutdown the communication with a server | |
JNIEXPORT jobject JNICALL | Java_jvmqmsgque_MqContextC_LinkGetParent (JNIEnv *env, jobject self) |
Java: → C-API get the initial parent-context from a client/server link … | |
JNIEXPORT void JNICALL | Java_jvmqmsgque_MqContextC_LinkConnect (JNIEnv *env, jobject self) |
Java: → C-API re-connect a client-server-link after a server crash or a network downtime … | |
JNIEXPORT void JNICALL | Java_jvmqmsgque_MqContextC_LinkCreate (JNIEnv *env, jobject self, jobject args) |
Java: → C-API make ctx to a parent-context and setup a new client-server-link … | |
JNIEXPORT void JNICALL | Java_jvmqmsgque_MqContextC_LinkCreateChild (JNIEnv *env, jobject self, jobject parent, jobject args) |
Java: → C-API make a context to a child-context on-top of an existing parent-client-server-link … | |
JNIEXPORT void JNICALL | Java_jvmqmsgque_MqContextC_LinkDelete (JNIEnv *env, jobject self) |
Java: → C-API close the client-server-link … | |
JNIEXPORT jint JNICALL | Java_jvmqmsgque_MqContextC_LinkGetCtxId (JNIEnv *env, jobject self) |
Java: → C-API get an identifier which is unique per parent-or-child-context … | |
JNIEXPORT jstring JNICALL | Java_jvmqmsgque_MqContextC_LinkGetTargetIdent (JNIEnv *env, jobject self) |
Java: → C-API get the ident of the link-target … | |
JNIEXPORT jboolean JNICALL | Java_jvmqmsgque_MqContextC_LinkIsConnected (JNIEnv *env, jobject self) |
Java: → C-API is the context connected? … | |
JNIEXPORT jboolean JNICALL | Java_jvmqmsgque_MqContextC_LinkIsParent (JNIEnv *env, jobject self) |
Java: → C-API is the context a parent-context? … | |
JNIEXPORT void JNICALL | Java_jvmqmsgque_MqContextC_LinkShutdown (JNIEnv *env, jobject self) |
Java: → C-API shutdown the communication with a server | |
MqContextC - setup and manage a client-server-link …
The client-server-link connect two context, a client-parent-context and a server-parent-context. The link can be local (connect two context on the same host) or can be remote (connect two context on different hosts). On-Top the parent-context multiple child-context are allowed.
!on remote host! !on local host! server1---------x x----------server2 | | | | | child-context-1 child-context-2 | | | | | server parent-context-1-----x x-----parent-context-2 | | (MqConfigS::server) (example: MqConfigS::server --fork --uds … --file …) | | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | | (--tcp) (--pipe, --uds, --tcp) | | parent-context-1-----x x-----parent-context-2 | | | | client | child-context-1 child-context-2 | | | | | x------------x--------client-------x-------------x !on local host!
Definition of a "client-context"
Definition of a "server-context"
Definition of a "parent-context"
Definition of a "child-context"
The client-server-link connect two context, a client-parent-context and a server-parent-context. The link can be local (connect two context on the same host) or can be remote (connect two context on different hosts). On-Top the parent-context multiple child-context are allowed.
!on remote host! !on local host! server1---------x x----------server2 | | | | | child-context-1 child-context-2 | | | | | server parent-context-1-----x x-----parent-context-2 | | (MqConfigS::server) (example: MqConfigS::server --fork --uds … --file …) | | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | | (--tcp) (--pipe, --uds, --tcp) | | parent-context-1-----x x-----parent-context-2 | | | | client | child-context-1 child-context-2 | | | | | x------------x--------client-------x-------------x !on local host!
Definition of a "client-context"
Definition of a "server-context"
Definition of a "parent-context"
Definition of a "child-context"
JNIEXPORT void JNICALL Java_jvmqmsgque_MqContextC_LinkConnect | ( | JNIEnv * | env, |
jobject | self ) |
Java:
→ C-API ctx.LinkConnect()
re-connect a client-server-link after a server crash or a network downtime …
Definition at line 894 of file MqContextC_jv.c.
JNIEXPORT void JNICALL Java_jvmqmsgque_MqContextC_LinkCreate | ( | JNIEnv * | env, |
jobject | self, | ||
jobject | args ) |
Java:
→ C-API ctx.LinkCreate(?MkBufferListC args = null?)
make ctx to a parent-context and setup a new client-server-link …
Definition at line 905 of file MqContextC_jv.c.
JNIEXPORT void JNICALL Java_jvmqmsgque_MqContextC_LinkCreateChild | ( | JNIEnv * | env, |
jobject | self, | ||
jobject | parent, | ||
jobject | args ) |
Java:
→ C-API ctx.LinkCreateChild(MqContextC parent, ?MkBufferListC args = null?)
make a context to a child-context on-top of an existing parent-client-server-link …
Definition at line 918 of file MqContextC_jv.c.
JNIEXPORT void JNICALL Java_jvmqmsgque_MqContextC_LinkDelete | ( | JNIEnv * | env, |
jobject | self ) |
Java:
→ C-API ctx.LinkDelete()
close the client-server-link …
Definition at line 933 of file MqContextC_jv.c.
JNIEXPORT jint JNICALL Java_jvmqmsgque_MqContextC_LinkGetCtxId | ( | JNIEnv * | env, |
jobject | self ) |
Java:
→ C-API int ctx.LinkGetCtxId()
get an identifier which is unique per parent-or-child-context …
Definition at line 943 of file MqContextC_jv.c.
JNIEXPORT jobject JNICALL Java_jvmqmsgque_MqContextC_LinkGetParent | ( | JNIEnv * | env, |
jobject | self ) |
Java:
→ C-API MqContextC ctx.LinkGetParent()
get the initial parent-context from a client/server link …
Definition at line 880 of file MqContextC_jv.c.
JNIEXPORT jstring JNICALL Java_jvmqmsgque_MqContextC_LinkGetTargetIdent | ( | JNIEnv * | env, |
jobject | self ) |
Java:
→ C-API String ctx.LinkGetTargetIdent()
get the ident of the link-target …
Definition at line 955 of file MqContextC_jv.c.
JNIEXPORT jboolean JNICALL Java_jvmqmsgque_MqContextC_LinkIsConnected | ( | JNIEnv * | env, |
jobject | self ) |
Java:
→ C-API boolean ctx.LinkIsConnected()
is the context connected? …
Definition at line 967 of file MqContextC_jv.c.
JNIEXPORT jboolean JNICALL Java_jvmqmsgque_MqContextC_LinkIsParent | ( | JNIEnv * | env, |
jobject | self ) |
Java:
→ C-API boolean ctx.LinkIsParent()
is the context a parent-context? …
Definition at line 979 of file MqContextC_jv.c.
JNIEXPORT void JNICALL Java_jvmqmsgque_MqContextC_LinkShutdown | ( | JNIEnv * | env, |
jobject | self ) |
Java:
→ C-API ctx.LinkShutdown()
shutdown the communication with a server
Definition at line 991 of file MqContextC_jv.c.
native void jvmqmsgque.MqContextC.LinkConnect | ( | ) |
Java:
→ C-API ctx.LinkConnect()
re-connect a client-server-link after a server crash or a network downtime …
void jvmqmsgque.MqContextC.LinkCreate | ( | ) |
Java:
→ C-API ctx.LinkCreate(?MkBufferListC args = null?)
make ctx to a parent-context and setup a new client-server-link …
Definition at line 366 of file MqContextC.java.
native void jvmqmsgque.MqContextC.LinkCreate | ( | MkBufferListC | args | ) |
Java:
→ C-API ctx.LinkCreate(?MkBufferListC args = null?)
make ctx to a parent-context and setup a new client-server-link …
void jvmqmsgque.MqContextC.LinkCreate | ( | String... | args | ) |
Java:
→ C-API ctx.LinkCreate(?MkBufferListC args = null?)
make ctx to a parent-context and setup a new client-server-link …
Definition at line 361 of file MqContextC.java.
void jvmqmsgque.MqContextC.LinkCreateChild | ( | MqContextC | parent | ) |
Java:
→ C-API ctx.LinkCreateChild(MqContextC parent, ?MkBufferListC args = null?)
make a context to a child-context on-top of an existing parent-client-server-link …
Definition at line 356 of file MqContextC.java.
native void jvmqmsgque.MqContextC.LinkCreateChild | ( | MqContextC | parent, |
MkBufferListC | args ) |
Java:
→ C-API ctx.LinkCreateChild(MqContextC parent, ?MkBufferListC args = null?)
make a context to a child-context on-top of an existing parent-client-server-link …
void jvmqmsgque.MqContextC.LinkCreateChild | ( | MqContextC | parent, |
String... | args ) |
Java:
→ C-API ctx.LinkCreateChild(MqContextC parent, ?MkBufferListC args = null?)
make a context to a child-context on-top of an existing parent-client-server-link …
Definition at line 351 of file MqContextC.java.
native void jvmqmsgque.MqContextC.LinkDelete | ( | ) |
Java:
→ C-API ctx.LinkDelete()
close the client-server-link …
native int jvmqmsgque.MqContextC.LinkGetCtxId | ( | ) |
Java:
→ C-API int ctx.LinkGetCtxId()
get an identifier which is unique per parent-or-child-context …
native MqContextC jvmqmsgque.MqContextC.LinkGetParent | ( | ) |
Java:
→ C-API MqContextC ctx.LinkGetParent()
get the initial parent-context from a client/server link …
native String jvmqmsgque.MqContextC.LinkGetTargetIdent | ( | ) |
Java:
→ C-API String ctx.LinkGetTargetIdent()
get the ident of the link-target …
native boolean jvmqmsgque.MqContextC.LinkIsConnected | ( | ) |
Java:
→ C-API boolean ctx.LinkIsConnected()
is the context connected? …
native boolean jvmqmsgque.MqContextC.LinkIsParent | ( | ) |
Java:
→ C-API boolean ctx.LinkIsParent()
is the context a parent-context? …
native void jvmqmsgque.MqContextC.LinkShutdown | ( | ) |
Java:
→ C-API ctx.LinkShutdown()
shutdown the communication with a server