VISH  0.2
Public Member Functions
Wizt::VSocketAction::Connector Class Reference

Functor object for callbacks when new clients connect to a server. More...

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

List of all members.

Public Member Functions


Detailed Description

Functor object for callbacks when new clients connect to a server.


Member Function Documentation

virtual bool Wizt::VSocketAction::Connector::accept ( socket_t  ) [pure virtual]

Callback function invoked by the VSocketAction instance when a new client has connected to a server that lurks around via the VSocketAction::listen() call.

The Connector is responsible itself for registering data receiver callbacks, if such is desired.

Returns:
false if the server socket shall be closed, true if the server shall continue listening.

Implemented in TangVish::AcceptConnections, WebVish::AcceptConnections, TangVish::AcceptConnections, Wizt::RemoteVish::AcceptConnections, TangVish::AcceptConnections, and Wizt::RemoteViewer::AcceptConnections.


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