Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members

UNIXmsgServer Class Reference

This server will bind to a fileaname and allow a UNIXmsg class to connect to the filename. More...

#include <UNIXmsg.h>

Inheritance diagram for UNIXmsgServer:

UNIXmsg msg List of all members.

Public Member Functions

 UNIXmsgServer (const char *pathname, int backlog)
 Short Description.
 ~UNIXmsgServer (void)
 Short Description.
SOCKET Accept (void)
 Short Description.

Protected Member Functions

void Bind (const char *pathname)
 This would be useful if the SocketPair wasn't being used to create a pair of sockets.

Protected Attributes

sockaddr_un addr

Detailed Description

This server will bind to a fileaname and allow a UNIXmsg class to connect to the filename.

Long Description if necessary.

Parameters:
<parameter_name> <parameter_descreption>
Returns:
<information on="" what="" is="" being="" returned>="">
Author:
<author name>="">

Definition at line 59 of file UNIXmsg.h.


Constructor & Destructor Documentation

UNIXmsgServer::UNIXmsgServer const char *  pathname,
int  backlog
 

Short Description.

Long Description if necessary.

Parameters:
<parameter_name> <parameter_descreption>
Author:
<author name>="">

Definition at line 233 of file UNIXmsg.cpp.

References Bind(), and UNIXmsg::sock.

UNIXmsgServer::~UNIXmsgServer void   ) 
 

Short Description.

Long Description if necessary.

Parameters:
<parameter_name> <parameter_descreption>
Returns:
<information on="" what="" is="" being="" returned>="">
Author:
<author name>="">

Definition at line 260 of file UNIXmsg.cpp.

References addr.


Member Function Documentation

SOCKET UNIXmsgServer::Accept void   ) 
 

Short Description.

Long Description if necessary.

Returns:
<information on="" what="" is="" being="" returned>="">
Author:
<author name>="">

Definition at line 278 of file UNIXmsg.cpp.

References UNIXmsg::sock, and SOCKET.

Referenced by Daemon::processControlServer(), and testNamedSockets().

void UNIXmsgServer::Bind const char *  pathname  )  [protected]
 

This would be useful if the SocketPair wasn't being used to create a pair of sockets.

Long Description if necessary.

Parameters:
<parameter_name> <parameter_descreption>
Returns:
<information on="" what="" is="" being="" returned>="">
Author:
<author name>="">

Definition at line 189 of file UNIXmsg.cpp.

References addr, and UNIXmsg::sock.

Referenced by UNIXmsgServer().


Member Data Documentation

struct sockaddr_un UNIXmsgServer::addr [protected]
 

Definition at line 68 of file UNIXmsg.h.

Referenced by Bind(), and ~UNIXmsgServer().


The documentation for this class was generated from the following files:
Generated on Fri Sep 1 14:26:02 2006 for Raptor by  doxygen 1.4.4