cisst-saw
|
#include <osaSocketServer.h>
Public Member Functions | |
osaSocketServer (void) | |
Default constructor. More... | |
~osaSocketServer (void) | |
Destructor. More... | |
bool | AssignPort (unsigned short port) |
Set the port for receiving data. More... | |
bool | Listen (int backlog=5) |
Listen for incoming connections. More... | |
osaSocket * | Accept (void) |
Accept an incoming connection. More... | |
void | Close (void) |
Close the listening socket. More... | |
![]() | |
virtual | ~cmnGenericObject (void) |
virtual const cmnClassServicesBase * | Services (void) const =0 |
bool | ReconstructFrom (const cmnGenericObject &other) |
std::string | ToString (void) const |
virtual void | ToStream (std::ostream &outputStream) const |
virtual void | ToStreamRaw (std::ostream &outputStream, const char delimiter= ' ', bool headerOnly=false, const std::string &headerPrefix="") const |
virtual bool | FromStreamRaw (std::istream &inputStream, const char delimiter= ' ') |
virtual void | SerializeRaw (std::ostream &outputStream) const |
virtual void | DeSerializeRaw (std::istream &inputStream) |
virtual cmnLogger::StreamBufType * | GetLogMultiplexer (void) const |
virtual size_t | ScalarNumber (void) const |
virtual bool | ScalarNumberIsFixed (void) const |
virtual double | Scalar (const size_t CMN_UNUSED(index)) const throw (std::out_of_range) |
virtual std::string | ScalarDescription (const size_t CMN_UNUSED(index), const std::string &CMN_UNUSED(userDescription)) const |
Protected Attributes | |
int | ServerSocketFD |
osaSocketServer::osaSocketServer | ( | void | ) |
Default constructor.
osaSocketServer::~osaSocketServer | ( | void | ) |
Destructor.
osaSocket* osaSocketServer::Accept | ( | void | ) |
Accept an incoming connection.
bool osaSocketServer::AssignPort | ( | unsigned short | port | ) |
Set the port for receiving data.
port | The port number |
void osaSocketServer::Close | ( | void | ) |
Close the listening socket.
bool osaSocketServer::Listen | ( | int | backlog = 5 | ) |
Listen for incoming connections.
|
protected |