SoDaRadio-5.0.3-master:8901fb5
Public Member Functions | Private Attributes | List of all members
SoDa::UD::ServerSocket Class Reference

#include <UDSockets.hxx>

Inheritance diagram for SoDa::UD::ServerSocket:
SoDa::UD::NetSocket

Public Member Functions

 ServerSocket (const std::string &path)
 
 ~ServerSocket ()
 
bool isReady ()
 
int get (void *ptr, unsigned int size)
 
int put (const void *ptr, unsigned int size)
 
- Public Member Functions inherited from SoDa::UD::NetSocket
 NetSocket ()
 
int put (const void *ptr, unsigned int size)
 
int get (void *ptr, unsigned int size)
 

Private Attributes

bool ready
 
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 65 of file UDSockets.hxx.

Constructor & Destructor Documentation

◆ ServerSocket()

SoDa::UD::ServerSocket::ServerSocket ( const std::string &  path)

Definition at line 44 of file UDSockets.cxx.

References mailbox_pathname, ready, and SoDa::UD::NetSocket::server_socket.

◆ ~ServerSocket()

SoDa::UD::ServerSocket::~ServerSocket ( )
inline

Member Function Documentation

◆ get()

int SoDa::UD::ServerSocket::get ( void *  ptr,
unsigned int  size 
)
inline

Definition at line 75 of file UDSockets.hxx.

References SoDa::UD::NetSocket::get().

Referenced by main(), and SoDa::UI::run().

◆ isReady()

bool SoDa::UD::ServerSocket::isReady ( )

◆ put()

int SoDa::UD::ServerSocket::put ( const void *  ptr,
unsigned int  size 
)
inline

Member Data Documentation

◆ mailbox_pathname

std::string SoDa::UD::ServerSocket::mailbox_pathname
private

Definition at line 88 of file UDSockets.hxx.

Referenced by ServerSocket().

◆ ready

bool SoDa::UD::ServerSocket::ready
private

Definition at line 87 of file UDSockets.hxx.

Referenced by isReady(), and ServerSocket().


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