SoDaRadio-5.0.3-master:8901fb5
|
#include <UDSockets.hxx>
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 |
Definition at line 65 of file UDSockets.hxx.
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.
|
inline |
Definition at line 68 of file UDSockets.hxx.
References SoDa::UD::NetSocket::conn_socket, and SoDa::UD::NetSocket::server_socket.
|
inline |
Definition at line 75 of file UDSockets.hxx.
References SoDa::UD::NetSocket::get().
Referenced by main(), and SoDa::UI::run().
bool SoDa::UD::ServerSocket::isReady | ( | ) |
Definition at line 119 of file UDSockets.cxx.
References SoDa::UD::NetSocket::client_address, SoDa::UD::NetSocket::conn_socket, ready, and SoDa::UD::NetSocket::server_socket.
Referenced by main(), SoDa::UI::run(), and SoDa::UI::sendFFT().
|
inline |
Definition at line 80 of file UDSockets.hxx.
References SoDa::UD::NetSocket::put().
Referenced by main(), SoDa::UI::reportSpectrumCenterFreq(), SoDa::UI::run(), and SoDa::UI::sendFFT().
|
private |
Definition at line 88 of file UDSockets.hxx.
Referenced by ServerSocket().
|
private |
Definition at line 87 of file UDSockets.hxx.
Referenced by isReady(), and ServerSocket().