MOOS 0.2375
Public Member Functions | Static Public Member Functions | Protected Attributes
XPCSocket Class Reference

#include <XPCSocket.h>

Inheritance diagram for XPCSocket:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void vSetRecieveTimeOut (int nTimeOut)
void SetReadTime (double dfTime)
double GetReadTime ()
 XPCSocket (const char *_sProtocol, int _iPort)
 XPCSocket (int _iSocket)
virtual ~XPCSocket ()
void vCloseSocket ()
void vSetDebug (int _iToggle)
void vSetBroadcast (int _iToggle)
void vSetReuseAddr (int _iToggle)
void vSetKeepAlive (int _iToggle)
void vSetLinger (struct linger _lingerOption)
void vSetSocketBlocking (int _iToggle)
void vSetSendBuf (int _iSendBufSize)
void vSetRecieveBuf (int _iRecieveBufSize)
int iGetDebug ()
int iGetBroadcast ()
int iGetReuseAddr ()
int iGetKeepAlive ()
void vGetLinger (struct linger &_lingerOption)
int iGetSendBuf ()
int iGetRecieveBuf ()
int iGetSocketBlocking ()
int iGetSocketFd ()
char * sGetError ()

Static Public Member Functions

static int iGetLastError ()

Protected Attributes

int iPort
int iSocket
int iBlocking
char cBind
double m_dfLastRead
struct sockaddr_in clientAddress

Detailed Description

Definition at line 62 of file XPCSocket.h.


Constructor & Destructor Documentation

XPCSocket::XPCSocket ( const char *  _sProtocol,
int  _iPort 
)

Definition at line 35 of file XPCSocket.cpp.

XPCSocket::XPCSocket ( int  _iSocket) [inline]

Definition at line 82 of file XPCSocket.h.

virtual XPCSocket::~XPCSocket ( ) [inline, virtual]

Definition at line 85 of file XPCSocket.h.


Member Function Documentation

double XPCSocket::GetReadTime ( ) [inline]

Definition at line 74 of file XPCSocket.h.

int XPCSocket::iGetBroadcast ( )

Definition at line 248 of file XPCSocket.cpp.

int XPCSocket::iGetDebug ( )

Definition at line 230 of file XPCSocket.cpp.

int XPCSocket::iGetKeepAlive ( )

Definition at line 284 of file XPCSocket.cpp.

int XPCSocket::iGetLastError ( ) [static]

Definition at line 354 of file XPCSocket.cpp.

int XPCSocket::iGetRecieveBuf ( )

Definition at line 336 of file XPCSocket.cpp.

int XPCSocket::iGetReuseAddr ( )

Definition at line 266 of file XPCSocket.cpp.

int XPCSocket::iGetSendBuf ( )

Definition at line 318 of file XPCSocket.cpp.

int XPCSocket::iGetSocketBlocking ( ) [inline]

Definition at line 120 of file XPCSocket.h.

int XPCSocket::iGetSocketFd ( ) [inline]

Definition at line 123 of file XPCSocket.h.

void XPCSocket::SetReadTime ( double  dfTime) [inline]

Definition at line 73 of file XPCSocket.h.

char* XPCSocket::sGetError ( ) [inline]

Definition at line 126 of file XPCSocket.h.

void XPCSocket::vCloseSocket ( ) [inline]

Definition at line 91 of file XPCSocket.h.

void XPCSocket::vGetLinger ( struct linger &  _lingerOption)

Definition at line 302 of file XPCSocket.cpp.

void XPCSocket::vSetBroadcast ( int  _iToggle)

Definition at line 102 of file XPCSocket.cpp.

void XPCSocket::vSetDebug ( int  _iToggle)

Definition at line 89 of file XPCSocket.cpp.

void XPCSocket::vSetKeepAlive ( int  _iToggle)

Definition at line 128 of file XPCSocket.cpp.

void XPCSocket::vSetLinger ( struct linger  _lingerOption)

Definition at line 141 of file XPCSocket.cpp.

void XPCSocket::vSetRecieveBuf ( int  _iRecieveBufSize)

Definition at line 167 of file XPCSocket.cpp.

void XPCSocket::vSetRecieveTimeOut ( int  nTimeOut)

Definition at line 363 of file XPCSocket.cpp.

void XPCSocket::vSetReuseAddr ( int  _iToggle)

Definition at line 115 of file XPCSocket.cpp.

void XPCSocket::vSetSendBuf ( int  _iSendBufSize)

Definition at line 154 of file XPCSocket.cpp.

void XPCSocket::vSetSocketBlocking ( int  _iToggle)

Definition at line 180 of file XPCSocket.cpp.


Member Data Documentation

char XPCSocket::cBind [protected]

Definition at line 68 of file XPCSocket.h.

struct sockaddr_in XPCSocket::clientAddress [protected]

Definition at line 70 of file XPCSocket.h.

int XPCSocket::iBlocking [protected]

Definition at line 67 of file XPCSocket.h.

int XPCSocket::iPort [protected]

Definition at line 65 of file XPCSocket.h.

int XPCSocket::iSocket [protected]

Definition at line 66 of file XPCSocket.h.

double XPCSocket::m_dfLastRead [protected]

Definition at line 69 of file XPCSocket.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines