VISH
0.2
|
The actual information that is stored for a socket connection within a VObject. More...
#include </home/werner/origo/vish/ocean/streams/VSocketAction.hpp>
The actual information that is stored for a socket connection within a VObject.
This is actually a list of Receiver objects.
Note that there is no actual VSocketAction, but only a reference to such.
bool Wizt::VValue< VSocketAction >::add | ( | int | fd, |
const string & | url, | ||
const RefPtr< VSocketAction::Receiver > & | R | ||
) |
Adding a callback receiver object to a given socket descriptor under the given URL.
fd | The socket descriptor |
url | An url that is associated with this descriptor. |
bool Wizt::VValue< VSocketAction >::listen | ( | int | port, |
const RefPtr< VSocketAction::Connector > & | Obj | ||
) |
Listen to new connections dripping in.
Obj | The callback object. |