#include <FountainWireProt.h>
Public Member Functions | |
| bool | CheckForData (int sleepTime=0) |
| Check if data is ready to be read on the socket. | |
| int | sendMessage (ST msg) |
| Send a message. | |
| RT | recvMessage () |
| Receive a message. | |
| int | forwardMessage (RT msg) |
| Forward a message. | |
Protected Member Functions | |
| FountainWireProtImpl (typename CT::PointerType connection) | |
| Constructor. | |
| ~FountainWireProtImpl () | |
| Destructor. | |
| void | lookupHostname () |
| lookup the name of the remote host this socket is connected to | |
Protected Attributes | |
| CT | connection_ |
| The underlying wire protocol connection as prescribed by our Connection Policy. | |
Private Types | |
| typedef ConnectionPolicy::type | CT |
| The ConnectionType as prescribed by the Connection Policy. | |
| typedef SendPolicy::type | ST |
| The SendType as prescribed by the Sender Policy. | |
| typedef ReceivePolicy::type | RT |
| The ReceiveType as prescribed by the Receiver Policy. | |
| typedef HostnamePolicy< ConnectionPolicy > | HP |
| The Hostname Policy. | |
|
||||||||||
|
Check if data is ready to be read on the socket.
|
|
||||||||||
|
Forward a message.
|
|
|||||||||
|
Receive a message.
|
|
||||||||||
|
Send a message.
|
1.4.6