Inheritance diagram for JetByteTools::Socket::ILimitConnections:

Public Member Functions | |
| virtual bool | CanCreateConnection ()=0 |
| Called to determine if a connection can be created. If this returns true then it's assumed that a connection will be created and that when the connection is no longer operational that ReleaseConnection() will be called. | |
| virtual void | ReleaseConnection ()=0 |
| Called when a connection, that was created after CanCreateConnection() has returned true, is no longer operational. | |
Protected Member Functions | |
| ~ILimitConnections () | |
| We never delete instances of this interface; you must manage the lifetime of the class that implements it. | |
Classes | |
| class | Creator |
| A class that takes ownership of an attempt at connection creation. That is if you call CanCreateConnection() through it and then do not call ConnectionCreated() then the destructor will assume something went awry and call ReleaseConnection(). This class can therefore be used to support scope based connection creation. More... | |
| JetByteTools::Socket::ILimitConnections::~ILimitConnections | ( | ) | [inline, protected] |
We never delete instances of this interface; you must manage the lifetime of the class that implements it.
| virtual bool JetByteTools::Socket::ILimitConnections::CanCreateConnection | ( | ) | [pure virtual] |
Called to determine if a connection can be created. If this returns true then it's assumed that a connection will be created and that when the connection is no longer operational that ReleaseConnection() will be called.
Implemented in JetByteTools::Socket::CConnectionLimiter.
| virtual void JetByteTools::Socket::ILimitConnections::ReleaseConnection | ( | ) | [pure virtual] |
Called when a connection, that was created after CanCreateConnection() has returned true, is no longer operational.
Implemented in JetByteTools::Socket::CConnectionLimiter.
1.5.2