Stream event delegate dispatcher. DelegateDispatch. More...
#include <StreamDelegateDispatch.h>
Public Member Functions | |
| DelegateDispatch & | OnClose () |
|
DelegateDispatchOneParameter < const String & > & | OnError () |
|
DelegateDispatchTwoParameter < const Array< byte > &, int > & | OnRead () |
| void | DispatchOnClose () |
| void | DispatchOnError (const String &msg) |
| void | DispatchOnRead (const Array< byte > &a, int len) |
| void | Add (IStreamReadListener *l) |
| virtual void | ValidateMem () const |
| virtual void | CheckMem () const |
Stream event delegate dispatcher. DelegateDispatch.
Definition at line 39 of file StreamDelegateDispatch.h.
| void StreamDelegateDispatch::Add | ( | IStreamReadListener * | l | ) |
If you would like events through an interface instead, use this method and the delegates will be created for you
Definition at line 49 of file Stream.cpp.