tdaq-develop-2025-02-12
ots::TCPClientBase Class Reference
Inheritance diagram for ots::TCPClientBase:
ots::TCPSocket ots::TCPClient ots::TCPSendClient ots::TCPSubscribeClient ots::TCPDataReceiverProducer

Public Member Functions

 TCPClientBase (const std::string &serverIP, int serverPort)
 
bool connect (int retry=-1, unsigned int sleepMilliSeconds=1000)
 
bool disconnect (void)
 
- Public Member Functions inherited from ots::TCPSocket
 TCPSocket (int socketId=invalidSocketId)
 Designed to be a base class not used used directly.
 
 TCPSocket (TCPSocket &&move)
 Moveable but not Copyable.
 
TCPSocketoperator= (TCPSocket &&move)
 
void swap (TCPSocket &other)
 
 TCPSocket (TCPSocket const &)=delete
 Explicitly deleting copy constructor.
 
TCPSocketoperator= (TCPSocket const &)=delete
 
int getSocketId (void) const
 
void open (void)
 
void close (void)
 
void sendClose (void)
 

Additional Inherited Members

- Static Protected Attributes inherited from ots::TCPSocket
static constexpr int invalidSocketId = -1
 

Detailed Description

Definition at line 9 of file TCPClientBase.h.


The documentation for this class was generated from the following files: