parent | the first context of a client/server communication |
child | the second or more context of a client/server communication |
!on local host! !on remote host!
server1 server2
| |
parent-context-1 parent-context-2
| |
(#MqConfigS::server) (#MqConfigS::server --fork --tcp --port)
| | server
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| | client
(--pipe) (--tcp --host --port)
| |
parent-context-1 parent-context-2
| |
^-----------client-----------^
!on local host!
!on local host! !on remote host!
server1---------x x----------server2
| | | |
| child-context-1 child-context-2 |
| | | | server
parent-context-1-----x x-----parent-context-2
| |
(MqConfigS::server) (MqConfigS::server --fork --tcp --port)
| |
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
| |
(--pipe) (--tcp --host --port)
| |
parent-context-1-----x x-----parent-context-2
| | | | client
| child-context-1 child-context-2 |
| | | |
x------------x--------client-------x-------------x
!on local host!
set Ctx [tclmsgque MqS -name MyName ...]; # I'm a parent set Cl1 [tclmsgque MqS -parent $Ctx]; # I'm a child set Cl2 [tclmsgque MqS -parent $Ctx]; # I'm an other child set Cl3 [tclmsgque MqS -parent $Cl1]; # I'm an other child, even if my '-parent' is a child
1.5.8