MqContextC - setup and manage a client-server-link … More...
Collaboration diagram for MqContextC_Link_ATL_API: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"
|
static |
Atl: → C-API MqContextC::LinkConnect $ctx
re-connect a client-server-link after a server crash or a network downtime …
Definition at line 1492 of file MqContextC_atl.c.
|
static |
Atl: → C-API MqContextC::LinkCreate $ctx ?args:MkBufferListC...=NULL?
make ctx to a parent-context and setup a new client-server-link …
Definition at line 1506 of file MqContextC_atl.c.
|
static |
Atl: → C-API MqContextC::LinkCreateChild $ctx parent:MqContextC ?args:MkBufferListC...=NULL?
make a context to a child-context on-top of an existing parent-client-server-link …
Definition at line 1522 of file MqContextC_atl.c.
|
static |
Atl: → C-API MqContextC::LinkDelete $ctx
close the client-server-link …
Definition at line 1540 of file MqContextC_atl.c.
|
static |
Atl: → C-API int32 [MqContextC::LinkGetCtxId $ctx]
get an identifier which is unique per parent-or-child-context …
Definition at line 1554 of file MqContextC_atl.c.
|
static |
Atl: → C-API MqContextC [MqContextC::LinkGetParent $ctx]
get the initial parent-context from a client/server link …
Definition at line 1476 of file MqContextC_atl.c.
|
static |
Atl: → C-API string [MqContextC::LinkGetTargetIdent $ctx]
get the ident of the link-target …
Definition at line 1567 of file MqContextC_atl.c.
|
static |
Atl: → C-API bool [MqContextC::LinkIsConnected $ctx]
is the context connected? …
Definition at line 1580 of file MqContextC_atl.c.
|
static |
Atl: → C-API bool [MqContextC::LinkIsParent $ctx]
is the context a parent-context? …
Definition at line 1593 of file MqContextC_atl.c.
|
static |
Atl: → C-API MqContextC::LinkShutdown $ctx
shutdown the communication with a server
Definition at line 1606 of file MqContextC_atl.c.