Public Member Functions | |
void | OnSocketCreated () override |
Called when a socket is created; a socket can be created only once. | |
void | OnSocketAttached (JetByteTools::Core::IIndexedOpaqueUserData &) override |
Called when a socket is allocated, that is when a connection is initiated. A socket can be allocated multiple times, if, for example, the allocator pools sockets for reuse. Before a given socket can be allocated again it must have been released. | |
void | OnSocketReleased (JetByteTools::Core::IIndexedOpaqueUserData &) override |
Called when a socket is released, that is when a connection no longer requires it and it returns to the allocator. A socket should be released as many times as it is allocated. | |
void | OnSocketDestroyed () override |
Called when a socket is destroyed; a socket can be destroyed only once. |
void OnSocketCreated | ( | ) | [inline, override, virtual] |
Called when a socket is created; a socket can be created only once.
Implements IMonitorSocketAllocation.
void OnSocketAttached | ( | JetByteTools::Core::IIndexedOpaqueUserData & | userData | ) | [inline, override, virtual] |
Called when a socket is allocated, that is when a connection is initiated. A socket can be allocated multiple times, if, for example, the allocator pools sockets for reuse. Before a given socket can be allocated again it must have been released.
Implements IMonitorSocketAllocation.
void OnSocketReleased | ( | JetByteTools::Core::IIndexedOpaqueUserData & | userData | ) | [inline, override, virtual] |
Called when a socket is released, that is when a connection no longer requires it and it returns to the allocator. A socket should be released as many times as it is allocated.
Implements IMonitorSocketAllocation.
void OnSocketDestroyed | ( | ) | [inline, override, virtual] |
Called when a socket is destroyed; a socket can be destroyed only once.
Implements IMonitorSocketAllocation.