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

Null Objects
[Patterns with a small 'p']

Collaboration diagram for Null Objects:

Detailed Description

These objects implement various Interfaces in a way that does nothing. They exist so that we can use the Null Object Pattern see here, rather than allowing optionality via pointers that can be null we use references and use a 'null object' when we don't require the functionality. This simplifies the code as it removes the need to test for null and switch depending on a pointer's state; we always call the method and if the object is a null object the call just does nothing.

This section contains links to the code that implements this concept.


Classes

class  CNullEventSinkCallback
 An implementation of IEventSinkCallback that does nothing. More...
class  CNullCallbackTimerQueueMonitor
 An object that implements IMonitorCallbackTimerQueue and does nothing. More...
class  CNullMessageLog
 An object that implements ILogMessages and does nothing. More...
class  CNullThreadedCallbackTimerQueueMonitor
 An object that implements IMonitorCallbackTimerQueue and does nothing. More...
class  CNullThreadPoolMonitor
 An object that implements IMonitorThreadPool and does nothing. More...
class  CNullAsyncFileReaderMonitor
 An object that implements IMonitorAsyncFileReader and does nothing. More...
class  CNullAsyncFileWriterMonitor
 An object that implements IMonitorAsyncFileWriter and does nothing. More...
class  CNullBufferAllocationMonitor
 An object that implements IMonitorBufferAllocation and does nothing. 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  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  CNullDatagramSocketConnectionFilter
 A connection filter that does nothing. You can use this as a base class for your own filter if you don't need to override all of the filter functionality. More...
class  CNullSocketAllocationMonitor
 An object that implements IMonitorSocketAllocation and does nothing. More...
class  CNullStreamSocketConnectionFilter
 A connection filter that does nothing. You can use this as a base class for your own filter if you don't need to override all of the filter functionality. More...
class  CNullStreamSocketFlowControlMonitor
 A stream socket flow control monitor that does nothing. You can use this. 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...
class  CNullEnvironmentBlockProvider
 An implementation of IProvideEnvironmentBlock that always returns a null block. More...
class  CNullJobMonitor
 An object that implements IMonitorThreadPool and does nothing. More...


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