VISH  0.2
Classes | Public Types | Public Member Functions
Wizt::VValue< VSocketAction > Class Reference

The actual information that is stored for a socket connection within a VObject. More...

#include </home/werner/origo/vish/ocean/streams/VSocketAction.hpp>

List of all members.

Classes

Public Types

Public Member Functions


Detailed Description

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.

Examples:

WebVish.cpp.


Member Function Documentation

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.

Parameters:
fdThe socket descriptor
urlAn 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.

Parameters:
ObjThe callback object.

The documentation for this class was generated from the following files: