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

Stream Sockets
[Socket Tools Library]

Collaboration diagram for Stream Sockets:


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  CFilteringStreamSocketConnectionManagerBase
 A connection manager for stream sockets. More...
class  IAcceptStreamSocketConnectionFilters
 This interface works in conjunction with IFilterStreamSocketConnections and allows stream filters to be added to a class that can use them. More...
class  ICreateFilteredStreamSocketConnections
 An interface used to create outgoing stream socket connections. More...
class  ICreateStreamSocketConnections
 An interface used to create outgoing stream socket connections. More...
class  IFilterStreamSocketConnections
 An interface for objects that wish to filter a byte stream. An instance of this interface can be added to a CStreamSocketConnectionManager as a filter by calling AddConnectionFilter(). Filters are called in order to process calls with requests being called from "top to bottom" and completions being called from "bottom to top". For example, if we call AddConnectionFilter() with filter A and then with filter B and then make a write request the data would be processed first by filter B and then by filter A (user -> B -> A -> wire). When a read completes the data is processed first by filter A and then by filter B (wire -> A -> B -> user). Each filter can manipulate the connection and data flow and may or may not pass calls onto filters below it in the chain. Thus a filter can swallow requests from layers above it by not passing them on and can also generate requests of its own. A filter is initialised once by the connection manager before it is used and during this initialisation it is given a management interface that can be used to generate new read and write events. More...
class  IMaintainStreamSocketConnections
 An interface used to create and maintain outgoing stream socket connections. More...
class  IManageStreamSocketConnectionFilters
 This interface works in conjunction with IFilterStreamSocketConnections to allow stream filters to issue new read and write events. Any filter that either can swallow data buffers (by not passing on calls to the next filter in the chain) or that generates data buffers (passing data to the next filter in the chain when that data wasn't generated by a previous layer in the chain) should always use this interface to pass data buffers to the next layer in the chain. Failure to do so will affect any buffer sequencing that may (or may not) be occurring. A filter can specify that its own sequence counter is used by requesting one from the socket allocator and then by passing the sequence id to the relevant calls. If a filter only ever injects new data into a stream then it can use the socket's own sequence counter and calls to the methods that don't take an explicit sequence id. More...
class  IPoolableStreamSocket
 An interface that exists purely to tie together the poolable nature of a socket and the stream socket nature of a socket into a poolable stream socket. The CStreamSocketAllocator and CSequencedStreamSocketAllocator objects work in terms of this interface. More...
class  IStreamSocket
 This interface adds stream socket specific functionality to the IAsyncSocket interface. As you can see that isn't much. This is the interface that you will interact with to access socket functionality when you write a client or server as this is the interface to the socket connection that you are passed when callback events occur on a connection. 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  IStreamSocketConnectionManager
 An interface that is used to allow a socket to communicate with the connection manager that manages it. This interface is supplied to the socket in the call to Attach(). 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  IStreamSocketConnectionManagerIO
class  IStreamSocketEx
 A socket interface that adds functionality that is used internally by the connection manager and socket server classes. 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  CSequencedStreamSocket
 A stream socket that supports read and write sequencing. More...
class  CSequencedStreamSocketAllocator
 A socket allocator that allocates instances of CSequencedStreamSocket Note that most of the work is down in CSocketAllocator. More...
class  CStreamSocket
 A stream socket. Note that this socket does NOT support read and write sequencing. More...
class  CStreamSocketAllocator
 A socket allocator that allocates instances of CStreamSocket. Note that most of the work is down in CSocketAllocator. More...
class  TStreamSocketConnectionManager
 A connection manager for stream sockets. More...
class  CStreamSocketConnectionManagerBase
 A connection manager for stream sockets. 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  TStreamSocketServer
 A socket server for stream sockets. Runs a thread to handle connection establishment using accept. 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  TStreamSocketServerEx
 A socket serer for stream sockets. Uses AcceptEx to handle connection establishment, does not run a thread for connection establishment. Can not handle 'accept and read' connection establishment. 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  CTCPListeningSocketCreator
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...

Typedefs

typedef
JetByteTools::Core::TReferenceCountedSmartPointer
< IStreamSocket > 
CSmartStreamSocket
 A smart pointer for stream sockets.
typedef
JetByteTools::Core::TReferenceCountedSmartPointer
< IStreamSocketEx > 
CSmartStreamSocketEx
 A smart pointer for stream sockets.


Typedef Documentation

typedef JetByteTools::Core::TReferenceCountedSmartPointer<IStreamSocket> CSmartStreamSocket

A smart pointer for stream sockets.

typedef JetByteTools::Core::TReferenceCountedSmartPointer<IStreamSocketEx> CSmartStreamSocketEx

A smart pointer for stream sockets.


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