The C++ framework for developing highly scalable, high performance servers on Windows platforms.

Callback events
[Socket Tools Library]

Collaboration diagram for Callback events:

Detailed Description

Connection managers, socket servers and sockets communicate with code that uses the library via callback interfaces. As a user of the library you implement these interfaces to handle events that occur on a socket during its life-cycle. There are default implementations of the key callback interfaces which act as null objects and provide a safe, "do nothing" implementation of the interface so that you can simply derive from them an implement just the methods that you're actually interested in. For a simple TCP server this may be as little as two methods from the IStreamSocketServerCallback interface; IStreamSocketServerCallback::OnConnectionEstablished() and IStreamSocketServerCallback::OnReadCompleted()


Classes

class  CStreamSocketConnectionManagerCallback
 An object that implements the CStreamSocketConnectionManager callback interface and does nothing. You can derive from this class and override just the functions that you need to. More...
class  CStreamSocketConnectionManagerCallback
 An object that implements the CStreamSocketConnectionManager callback interface and does nothing. You can derive from this class and override just the functions that you need to. More...
class  CDatagramSocketConnectionManagerCallback
 An object that implements the CDatagramSocketConnectionManager callback interface and does nothing. You can derive from this class and override just the functions that you need to. More...
class  CDatagramSocketServerCallback
 An object that implements the CIDatagramSocketServer callback interface and does nothing. You can derive from this class and override just the functions that you need to. More...
class  IDatagramServerSocketCallback
 The socket server callback interface is composed from more specific interfaces using inheritance. This is purely to allow the framework to work in terms of the narrowest interface internally and does not affect the user of the code. This is, effectively, the first interface that the user would wish to implement. More...
class  IDatagramSocketCallback
 The connection manager and socket server callback interfaces are composed from more specific interfaces using inheritance. This is purely to allow the framework to work in terms of the narrowest interface internally and does not affect the user of the code. Effectively the first interface that the user would wish to implement is at the IXXXConnectionManagerCallback level and above. More...
class  IDatagramSocketConnectionManagerCallback
 The connection manager and socket server callback interfaces are composed from more specific interfaces using inheritance. This is purely to allow the framework to work in terms of the narrowest interface internally and does not affect the user of the code. Effectively the first interface that the user would wish to implement is at the IXXXConnectionManagerCallback level and above. More...
class  IDatagramSocketServerCallback
 The socket server callback interface is composed from more specific interfaces using inheritance. This is purely to allow the framework to work in terms of the narrowest interface internally and does not affect the user of the code. This is, effectively, the first interface that the user would wish to implement. More...
class  ISocketCallback
 The connection manager and socket server callback interfaces are composed from more specific interfaces using inheritance. This is purely to allow the framework to work in terms of the narrowest interface internally and does not affect the user of the code. Effectively the first interface that the user would wish to implement is at the IXXXConnectionManagerCallback level and above. More...
class  IStreamSocketCallback
 The connection manager and socket server callback interfaces are composed from more specific interfaces using inheritance. This is purely to allow the framework to work in terms of the narrowest interface internally and does not affect the user of the code. Effectively the first interface that the user would wish to implement is at the IXXXConnectionManagerCallback level and above. More...
class  IStreamSocketConnectionManagerCallback
 The connection manager and socket server callback interfaces are composed from more specific interfaces using inheritance. This is purely to allow the framework to work in terms of the narrowest interface internally and does not affect the user of the code. Effectively the first interface that the user would wish to implement is at the IXXXConnectionManagerCallback level and above. More...
class  IStreamSocketServerCallback
 The connection manager and socket server callback interfaces are composed from more specific interfaces using inheritance. This is purely to allow the framework to work in terms of the narrowest interface internally and does not affect the user of the code. Effectively the first interface that the user would wish to implement is at the IXXXConnectionManagerCallback level and above. More...
class  IStreamSocketServerExCallback
 The connection manager and socket server callback interfaces are composed from more specific interfaces using inheritance. This is purely to allow the framework to work in terms of the narrowest interface internally and does not affect the user of the code. Effectively the first interface that the user would wish to implement is at the IXXXConnectionManagerCallback level and above. More...
class  CStreamSocketConnectionManagerCallback
 An object that implements the CStreamSocketConnectionManager callback interface and does nothing. You can derive from this class and override just the functions that you need to. More...
class  CStreamSocketServerCallback
 An object that implements the CStreamSocketServer callback interface and does nothing. You can derive from this class and override just the functions that you need to. More...
class  CStreamSocketServerExCallback
 An object that implements the CStreamSocketServerEx callback interface and does nothing. You can derive from this class and override just the functions that you need to. More...
class  CStreamSocketConnectionManagerCallback
 An object that implements the CStreamSocketConnectionManager callback interface and does nothing. You can derive from this class and override just the functions that you need to. More...


Generated on Sun Sep 12 19:06:55 2021 for The Server Framework - v7.4 by doxygen 1.5.3