#include <MNSocketBase.h>
Inheritance diagram for MNSocketBaseT< T >:
Public Types | |
typedef void(T::* | callback_function )(MNSelector *select, int fd) |
typedef void(T::* | write_function )() |
Public Member Functions | |
MNSocketBaseT (T *client, callback_function fun) | |
MNSocketBaseT (T *client, write_function fun2) | |
void | callback (MNSelector *select, int fd) |
void | write_enabled () |
virtual int | get_sockdesc () const |
Public Attributes | |
T * | _client |
report expirations to this object | |
callback_function | _fun |
bind and call this function to report | |
write_function | _fun2 |
|
|
|
|
|
|
|
|
|
Reimplemented from MNSocketBase.
|
|
Implements MNSocketBase.
|
|
Reimplemented from MNSocketBase.
|
|
report expirations to this object
|
|
bind and call this function to report
|
|
|