This method sets the dispatcher
function, which is called whenever there is an input on the connection
port (input from the socket).
This method was
created for two reasons:
- To provide flexibility by allowing for different
dispatch routines. For example, the Rational® Rhapsody® framework uses SetDispatcher(portToMessageQueue) in aomdisp.cpp.
- To allow the dispatch routine to be located in
a different place and to be set only after creation of the connection
port.
Signaturevirtual void SetDispatcher (void dispfunc(OMSData*)) = 0;
Parametersdispfunc
The dispatcher function