Delegate dispatcher for socket accept events. More...
#include <PortListener.h>
Public Member Functions | |
| DelegateDispatch & | OnStop () |
|
DelegateDispatchOneParameter < TcpSocketPtr > & | OnConnect () |
| void | DispatchOnStop () |
| void | DispatchOnConnect (TcpSocketPtr sock) |
| void | Add (IPortListenerListener *l) |
| virtual void | ValidateMem () const |
| virtual void | CheckMem () const |
Delegate dispatcher for socket accept events.
Definition at line 51 of file PortListener.h.
| void PortListenerDelegateDispatch::Add | ( | IPortListenerListener * | l | ) |
Use this if you want to receive events through an interface instead of a delegate.
Definition at line 29 of file PortListener.cpp.