class SCTPSocketMaster
|
SCTP Socket Master. More... |
|
|
Public Types
Public Methods
Public Members
Protected Static Methods
Protected Members
This class manages the interaction between the SCTP Socket class and the
userland SCTP implementation. It is implemented as a singleton and
automatically instantiated at program startup.
SCTPSocketMaster ()
| SCTPSocketMaster |
Constructor.
~SCTPSocketMaster ()
| ~SCTPSocketMaster |
Destructor.
Lock the SCTP implementation for exclusive access. This includes
Thread's critical section lock.
inline void unlock ()
| unlock |
Unlock the SCTP implementation. This includes
Thread's critical section lock.
UserSocketNotification (struct) | UserSocketNotification |
void addUserSocketNotification (UserSocketNotification* usn)
| addUserSocketNotification |
Add user socket to notification list. The socket is automatically
removed from the list when the first notification is received! This
is necessary to avoid endless loops of select() -> notification ->
select() -> ... calls!
Parameters:
usn | User socket notification description.
|
void deleteUserSocketNotification (UserSocketNotification* usn)
| deleteUserSocketNotification |
Remove user socket from notification list.
Parameters:
usn | User socket notification description.
|
static int InitializationResult
| InitializationResult |
static SCTPSocketMaster MasterInstance
| MasterInstance |
[protected]
static SCTP_ulpCallbacks Callbacks
| Callbacks |
[protected]
static multimap<unsigned short, SCTPSocket*> SocketList
| SocketList |
[protected]
static set<unsigned short> ClosingSockets
| ClosingSockets |
[protected]
static multimap<unsigned int, unsigned short> ClosingAssociations
| ClosingAssociations |
[protected]
static card64 LastGarbageCollection
| LastGarbageCollection |
[protected]
static cardinal OldCancelState
| OldCancelState |
[protected]
SCTPSocket* getSocketForAssociationID (const unsigned int assocID)
| getSocketForAssociationID |
[protected static]
Master instance (singleton).
void delayedDeleteAssociation (const unsigned short instanceID,
const unsigned int assocID)
| delayedDeleteAssociation |
[protected static]
void delayedDeleteSocket (const unsigned short instanceID)
| delayedDeleteSocket |
[protected static]
- Version: 1.0
- Author: Thomas Dreibholz (dreibh@exp-math.uni-essen.de)
- Generated: dreibh@kappes on Fri Nov 30 14:03:21 2001, using kdoc 2.0a53.