SoDaRadio-12.2.0-cut_dependencies:6c82803
Loading...
Searching...
No Matches
SoDa::UD::ClientSocket Class Reference

#include <UDSockets.hxx>

Inheritance diagram for SoDa::UD::ClientSocket:
SoDa::UD::NetSocket

Public Member Functions

 ClientSocket (const std::string &path, int startup_timeout_count=1)
 ~ClientSocket ()
Public Member Functions inherited from SoDa::UD::NetSocket
 NetSocket ()
int put (const void *ptr, unsigned int size, bool len_prefix=true)
int get (void *ptr, unsigned int size, bool len_prefix=true)

Static Public Member Functions

static ClientSocketPtr make (const std::string &path, int startup_timeout_count=1)

Private Attributes

struct hostent * server
std::string mailbox_pathname

Additional Inherited Members

Public Attributes inherited from SoDa::UD::NetSocket
int server_socket
int conn_socket
int portnum
struct sockaddr_un server_address client_address
struct timeval timeout

Detailed Description

Definition at line 111 of file UDSockets.hxx.

Constructor & Destructor Documentation

◆ ClientSocket()

SoDa::UD::ClientSocket::ClientSocket ( const std::string & path,
int startup_timeout_count = 1 )

Referenced by make().

◆ ~ClientSocket()

SoDa::UD::ClientSocket::~ClientSocket ( )
inline

Definition at line 114 of file UDSockets.hxx.

References SoDa::UD::NetSocket::conn_socket.

Member Function Documentation

◆ make()

ClientSocketPtr SoDa::UD::ClientSocket::make ( const std::string & path,
int startup_timeout_count = 1 )
inlinestatic

Definition at line 118 of file UDSockets.hxx.

References ClientSocket().

Member Data Documentation

◆ mailbox_pathname

std::string SoDa::UD::ClientSocket::mailbox_pathname
private

Definition at line 125 of file UDSockets.hxx.

◆ server

struct hostent* SoDa::UD::ClientSocket::server
private

Definition at line 124 of file UDSockets.hxx.


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