Inheritance diagram for edg::workload::common::socket_pp::SocketAgent:
Public Methods | |
virtual bool | Send (const std::string &) |
Send a string value. More... | |
virtual bool | Send (int) |
Send a int value. More... | |
virtual bool | Send (long) |
Send a long value. More... | |
virtual bool | Receive (int &) |
Receive an int value. More... | |
virtual bool | Receive (long &) |
Receive a long value. More... | |
virtual bool | Receive (std::string &) |
Receive a string value. More... | |
std::string | HostName () |
Returns the host name. More... | |
bool | SetTimeout (size_t) |
Set the connection timeout. More... | |
bool | SetRcvTimeout (size_t) |
Set the connection timeout. More... | |
bool | SetSndTimeout (size_t) |
Set the connection timeout. More... | |
Protected Methods | |
SocketAgent () | |
Constructor. | |
virtual | ~SocketAgent () |
Destructor. | |
Protected Attributes | |
int | sck |
The socket descriptor. | |
Friends | |
class | SocketServer |
The Server. | |
class | SocketClient |
The Client. |
This object acts as agent in message exchange. It joins the server and the client in both connection establishment and message exchange.
|
Returns the host name.
|
|
Receive a string value.
Reimplemented in edg::workload::common::socket_pp::GSISocketAgent. |
|
Receive a long value.
|
|
Receive an int value.
Reimplemented in edg::workload::common::socket_pp::GSISocketAgent. |
|
Send a long value.
|
|
Send a int value.
Reimplemented in edg::workload::common::socket_pp::GSISocketAgent. |
|
Send a string value.
Reimplemented in edg::workload::common::socket_pp::GSISocketAgent. |
|
Set the connection timeout.
|
|
Set the connection timeout.
|
|
Set the connection timeout.
|