|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef XAODROOTACCESS_TOOLS_TSOCKET_H
6 #define XAODROOTACCESS_TOOLS_TSOCKET_H
61 #endif // XAODROOTACCESS_TOOLS_TSOCKET_H
Very simple wrapper around POSIX sockets.
TSocket(const TSocket &)=delete
Do not allow object copying.
TSocket()
Constructor with an address and a port.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
StatusCode close()
Close the current connection.
::StatusCode StatusCode
StatusCode definition for legacy code.
TSocket & operator=(const TSocket &)=delete
Do not allow assignment.
int m_socket
The underlying socket.
bool isConnected() const
Check if the socket is connected to some address at the moment.
StatusCode send(const TString &payload)
Function sending a message to the connected address.
StatusCode connect(const TInetAddress &address, int port)
Function connecting to the specified address.