TipcDispatcher* functions allow the managing messages from multiple RTserver connections with a single call. This is especially useful in single threaded RTclients. By adding one or more RTserver connections to a dispatcher to using TipcDispatcherSrvAdd, a single TipcDispatcherMainLoop call is equivalent to calling TipcSrvConnMainLoop on each of the RTserver connections simultaneously.
The dispatcher not only manages messages arriving on RTserver connections, but it can also manage events.
TipcDispatcherCreate create a dispatcher
TipcDispatcherCreateDetached create a dispatcher in a detached thread
TipcDispatcherDestroy destroy a dispatcher
TipcDispatcherDispatch dispatch triggered events within timeout
seconds and exit
TipcDispatcherMainLoop dispatch events continuously for timeout
seconds
TipcDispatcherSrvAdd add RTserver connection to a dispatcher
TipcDispatcherSrvRemove remove RTserver connection from a dispatcher
TIBCO SmartSockets™ API Quick Reference Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |