Logo Search packages:      
Sourcecode: vdccm version File versions

LocalServerSocket Class Reference

#include <localserversocket.h>

Inheritance diagram for LocalServerSocket:

LocalSocket NetSocket Descriptor LocalServer

List of all members.

Detailed Description

Volker Christian

Definition at line 35 of file localserversocket.h.

Public Types

enum  eventType { READ = 0, WRITE, EXCEPTION }

Public Member Functions

virtual LocalAcceptedSocketaccept ()
virtual bool close ()
 Closes the descriptor.
bool dataPending (int sec, int usec) const
 Check if data are pending to read.
virtual void event (Descriptor::eventType et)
int getDescriptor () const
 Returns the integer value which represents the descriptor by the underlying Operating System.
std::string getLocalPath () const
virtual bool listen (int backlog=5)
 LocalServerSocket (const LocalAcceptedSocketFactory *localAcceptedSocketFactory, std::string path)
bool operator< (const Descriptor &descriptor) const
 Lesser-operator on the descriptor base.
ssize_t readNumBytes (unsigned char *buffer, size_t number) const
bool setBlocking ()
bool setNonBlocking ()
bool setReadTimeout (int sec, int usec)
bool setWriteTimeout (int sec, int usec)
virtual bool shutdown ()
bool writable (int sec, int usec)

Protected Member Functions

virtual bool bind ()
void setDescriptor (int descriptor)
virtual bool socket ()

Protected Attributes

struct sockaddr_un localAddress
std::string path

Static Protected Attributes

static int FFALSE = 0
static int FTRUE = 1

Private Attributes

const LocalAcceptedSocketFactorylocalAcceptedSocketFactory

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

Generated by  Doxygen 1.6.0   Back to index