#include <Comm.h>
Inheritance diagram for Receiver:

Public Member Functions | |
| virtual | ~Receiver () |
| virtual string | uri ()=0 |
| virtual string & | uri (string &)=0 |
| virtual size_t | receive (char *, size_t)=0 throw (CommException) |
| virtual void | shutdown () |
a Receiver represents a generic level-2 input communication mechanism. In practice, a Receiver allows one to receive packets. This is a virtual class, specializations of this class will implement specific communication mechanisms.
| virtual Receiver::~Receiver | ( | ) | [virtual] |
destructor
| virtual string Receiver::uri | ( | ) | [pure virtual] |
URI for this receiver
a URI is an external representation of the point of contact of this receiver. This URI can be used to create senders to contact this receiver.
Implemented in TCPReceiver, and UDPReceiver.
| virtual string& Receiver::uri | ( | string & | ) | [pure virtual] |
exernally visible URI for this receiver
a URI is an external representation of the point of contact of this receiver. This URI can be used to create senders to contact this receiver.
Implemented in TCPReceiver, and UDPReceiver.
| virtual size_t Receiver::receive | ( | char * | , | |
| size_t | ||||
| ) | throw (CommException) [pure virtual] |
| virtual void Receiver::shutdown | ( | ) | [virtual] |
closes this sender
Reimplemented in TCPReceiver, and UDPReceiver.