TIBCO Adapter SDK C++ Reference
Up | Next
MDispatcher::MDispatcher
MDispatcher
Create a dispatcher for a session.

Upon creation, the dispatcher removes the queue for the specified MSession from the default SDK queue group and starts a thread dedicated to dispatching events from this MSession's queue.

Parameters
Parameters Description
MApp * pMApp MApp to which the session belongs.
MSession* pSession The session in which the new dispatcher is dedicated. If the value of pSession is NULL, create a new dispatcher for the queue group.
unsigned long stackSize = 0 The individual stack size for the thread.
Declaration
MDispatcher(MApp * pMApp, MSession* pSession, unsigned long stackSize = 0);
Links
Copyright (c) 2010 TIBCO Software Inc. All rights reserved.