Public Member Functions | |
virtual void | AddConnectionFilter (IFilterStreamSocketConnections &filter, bool canGenerateOurOwnWrites)=0 |
Adds a connection filter to the connection manager. Connection 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 filter A is added and then filter B is added and then we 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. | |
virtual IIndexedOpaqueUserData::UserDataIndex | RequestUserDataSlot (const _tstring &name)=0 |
Request a named user data slot and get an index to use in calls to methods on IIndexedOpaqueUserData. | |
virtual IIndexedOpaqueUserData::UserDataIndex | LockUserDataSlots ()=0 |
Prevent more user data slots from being allocated. Returns the number of user data slots that have been allocated. | |
Protected Member Functions | |
virtual | ~IAcceptStreamSocketConnectionFilters () |
We never delete instances of this interface; you must manage the lifetime of the class that implements it. |
virtual ~IAcceptStreamSocketConnectionFilters | ( | ) | [protected, virtual] |
We never delete instances of this interface; you must manage the lifetime of the class that implements it.
virtual void AddConnectionFilter | ( | IFilterStreamSocketConnections & | filter, | |
bool | canGenerateOurOwnWrites | |||
) | [pure virtual] |
Adds a connection filter to the connection manager. Connection 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 filter A is added and then filter B is added and then we 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.
(wire -> A -> B -> user).
Implemented in CFilteringStreamSocketConnectionManagerBase.
virtual IIndexedOpaqueUserData::UserDataIndex RequestUserDataSlot | ( | const _tstring & | name | ) | [pure virtual, inherited] |
Request a named user data slot and get an index to use in calls to methods on IIndexedOpaqueUserData.
Implemented in CBufferAllocator, TDatagramFilteringHelper, CFilteringStreamSocketConnectionManagerBase, TDatagramFilteringHelper< JetByteTools::Socket::IDatagramSocketConnectionManagerCallback, JetByteTools::Socket::IDatagramSocketConnectionManagerIO, JetByteTools::Socket::IDatagramSocketEx >, TSocketAllocator< JetByteTools::Socket::IAllocateDatagramSockets >, TSocketAllocator< JetByteTools::Socket::IAllocateStreamSockets >, TSocketAllocator< JetByteTools::Socket::IAllocateSequencedStreamSockets >, and TSocketAllocator< JetByteTools::Socket::IAllocateDatagramServerSockets >.
virtual IIndexedOpaqueUserData::UserDataIndex LockUserDataSlots | ( | ) | [pure virtual, inherited] |
Prevent more user data slots from being allocated. Returns the number of user data slots that have been allocated.
Implemented in CBufferAllocator, TDatagramFilteringHelper, CFilteringStreamSocketConnectionManagerBase, TDatagramFilteringHelper< JetByteTools::Socket::IDatagramSocketConnectionManagerCallback, JetByteTools::Socket::IDatagramSocketConnectionManagerIO, JetByteTools::Socket::IDatagramSocketEx >, TSocketAllocator< JetByteTools::Socket::IAllocateDatagramSockets >, TSocketAllocator< JetByteTools::Socket::IAllocateStreamSockets >, TSocketAllocator< JetByteTools::Socket::IAllocateSequencedStreamSockets >, and TSocketAllocator< JetByteTools::Socket::IAllocateDatagramServerSockets >.