virtual void SetSocketImplFactory(SocketImplFactory* socketFactory);
SetSocketImplFactory sets the AMP socket implementation factory for external socket implementation.
The AMP server may be configured to use an external socket implementation of the SocketInterface interface. To do this, provide a factory object to AMP that implements the SocketImplFactory interface. The job of this factory object is to create and destroy instances of the SocketInterface implementation, and is passed as the only parameter to Server::SetSocketImplFactory.
SetSocketImplFactory method must be called before a connection has been opened with the AMP client.
Parameters |
Description |
SocketImplFactory* socketFactory |
Socket implementation factory object. |