5#ifndef XAODROOTACCESS_TOOLS_TSOCKET_H
6#define XAODROOTACCESS_TOOLS_TSOCKET_H
43 StatusCode
connect(
const TInetAddress& address,
int port );
51 StatusCode
send(
const TString& payload );
TSocket(const TSocket &)=delete
Do not allow object copying.
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.
TSocket()
Constructor with an address and a port.
bool isConnected() const
Check if the socket is connected to some address at the moment.
StatusCode close()
Close the current connection.
TSocket & operator=(const TSocket &)=delete
Do not allow assignment.
int m_socket
The underlying socket.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.