Network Communicator Callback: action performed The receive() callback function is responsible for parsing the data stream and invoke appropriate actions.
More...
#include </home/werner/origo/vish/ocean/remotevish/RemoteVish.hpp>
List of all members.
Public Member Functions
-
bool action (const string &buffer, socket_t id)
-
Communicator (const WeakPtr< RemoteVish > &wv, socket_t Fd, CommunicationStatus status, const string &theHostname, const string &theServicename)
- override bool receive (socket_t id)
- Callback function invoked when data are ready to be read from the socket.
-
override void shutdown ()
- Callback function when this object is going to be closed.
Public Attributes
Detailed Description
Network Communicator Callback: action performed The receive() callback function is responsible for parsing the data stream and invoke appropriate actions.
Member Function Documentation
override bool Wizt::RemoteVish::Communicator::receive |
( |
socket_t |
| ) |
[inline, virtual] |
Callback function invoked when data are ready to be read from the socket.
- Returns:
- false if the connection shall be closed after this data transfer, otherwise return true to indicate it shall be kept alive.
Implements Wizt::VSocketAction::Receiver.
The documentation for this struct was generated from the following files:
- ocean/remotevish/RemoteVish.hpp
- ocean/remotevish/RemoteVish.cpp