AppModule.InterProcessComm
Interface, which defines methods for a Channel Manager class.
A Channel Manager is responsible for creating and maintaining channels for inter-process communication. The opened channels are meant to be reusable for performance optimization. Each channel needs to procees requests by calling the HandleRequest method of the Channel Manager.
Initializes the Channel Manager.
Closes all opened channels and stops the Channel Manager.
Handles a request.
This method currently caters for text based requests. XML strings can be used in case complex request structures are needed.
The incoming request.
The resulting response.
Forces the Channel Manager to exit a sleeping mode and create a new channel.
Normally the Channel Manager will create a number of reusable channels, which will handle the incoming reqiests, and go into a sleeping mode. However if the request load is high, the Channel Manager needs to be asked to create additional channels.
Removes an existing channel.
A parameter identifying the channel.
Indicates whether the Channel Manager is in listening mode.
This property is left public so that other classes, like a server channel can start or stop listening based on the Channel Manager mode.