#include <tunnel.h>
Inheritance diagram for SigCX::Tunnel:
Public Member Functions | |
virtual | ~Tunnel () |
virtual void | send (Callback *cb, bool sync=false)=0 |
virtual bool | in_sync_callback ()=0 |
virtual void | drain ()=0 |
Classes | |
class | Callback |
Tunnel callback. More... |
A tunnel is a device that accepts callbacks to be executed, either synchronous or asynchronous.
|
Destructor.
|
|
Drain the tunnel. Any callbacks in the tunnel are cancelled. This is intended to be called at the destination end of the tunnel. Implemented in SigCX::ThreadTunnel. |
|
Check if tunnel is executing a synchronous callback.
Implemented in SigCX::ThreadTunnel. |
|
Send a callback to the other side.
Implemented in SigCX::ThreadTunnel. |