otsdaq  v1_01_04
 All Classes Namespaces Functions
Public Member Functions | List of all members
ots::TransceiverSocket Class Reference
+ Inheritance diagram for ots::TransceiverSocket:

Public Member Functions

 TransceiverSocket (std::string IPAddress, unsigned int port=0)
 
- Public Member Functions inherited from ots::TransmitterSocket
 TransmitterSocket (const std::string &IPAddress, unsigned int port=0)
 
int send (Socket &toSocket, const std::string &buffer, bool verbose=true)
 
int send (Socket &toSocket, const std::vector< uint32_t > &buffer, bool verbose=true)
 
int send (Socket &toSocket, const std::vector< uint16_t > &buffer, bool verbose=true)
 
- Public Member Functions inherited from ots::Socket
 Socket (const std::string &IPAddress, unsigned int port=0)
 
virtual void initialize (unsigned int socketReceiveBufferSize=defaultSocketReceiveSize_)
 
struct sockaddr_in & getSocketAddress (void)
 
const std::string & getIPAddress ()
 
uint16_t getPort ()
 
- Public Member Functions inherited from ots::ReceiverSocket
 ReceiverSocket (std::string IPAddress, unsigned int port=0)
 
int receive (std::string &buffer, unsigned int timeoutSeconds=1, unsigned int timeoutUSeconds=0, bool verbose=true)
 
int receive (std::vector< uint32_t > &buffer, unsigned int timeoutSeconds=1, unsigned int timeoutUSeconds=0, bool verbose=true)
 
int receive (std::string &buffer, unsigned long &fromIPAddress, unsigned short &fromPort, unsigned int timeoutSeconds=1, unsigned int timeoutUSeconds=0, bool verbose=true)
 
int receive (std::vector< uint32_t > &buffer, unsigned long &fromIPAddress, unsigned short &fromPort, unsigned int timeoutSeconds=1, unsigned int timeoutUSeconds=0, bool verbose=true)
 

Additional Inherited Members

- Protected Types inherited from ots::Socket
enum  { maxSocketSize_ = 65536, defaultSocketReceiveSize_ = 0x10000 }
 
- Protected Attributes inherited from ots::Socket
struct sockaddr_in socketAddress_
 
int socketNumber_
 

Detailed Description

Definition at line 12 of file TransceiverSocket.h.


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