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

CL_PipeConnection Class Reference

#include <pipe_connection.h>

List of all members.

Public Member Functions

 CL_PipeConnection (const CL_String &pipe_name, bool pass_credentials=false)
 Construction:.
 CL_PipeConnection (int pipe_handle, bool pass_credentials=false)
 ~CL_PipeConnection ()
CL_Eventget_read_event ()
 Attributes:.
CL_Eventget_write_event ()
CL_Eventget_exception_event ()
int send (const void *data, int len, int timeout=-1)
 Operations:.
int receive (void *data, int len, int timeout=-1)
int peek (void *data, int len, int timeout=-1)
CL_String receive_user_credentials ()
void send_user_credentials ()

Private Attributes

int handle
 Implementation:.
CL_SocketEventHandlersocket_event_handler
CL_Eventread_event
CL_Eventwrite_event
CL_Eventexception_event


Constructor & Destructor Documentation

CL_PipeConnection::CL_PipeConnection const CL_String &  pipe_name,
bool  pass_credentials = false
 

Construction:.

Definition at line 47 of file pipe_connection.cpp.

References exception_event, handle, read_event, socket_event_handler, TEXT, CL_StringHelp::text_to_local8(), UNIX_PATH_MAX, and write_event.

CL_PipeConnection::CL_PipeConnection int  pipe_handle,
bool  pass_credentials = false
 

Definition at line 85 of file pipe_connection.cpp.

References exception_event, handle, read_event, socket_event_handler, TEXT, and write_event.

CL_PipeConnection::~CL_PipeConnection  ) 
 

Definition at line 106 of file pipe_connection.cpp.

References exception_event, handle, read_event, socket_event_handler, and write_event.


Member Function Documentation

CL_Event * CL_PipeConnection::get_exception_event  ) 
 

Definition at line 131 of file pipe_connection.cpp.

References exception_event.

CL_Event * CL_PipeConnection::get_read_event  ) 
 

Attributes:.

Definition at line 121 of file pipe_connection.cpp.

References read_event.

CL_Event * CL_PipeConnection::get_write_event  ) 
 

Definition at line 126 of file pipe_connection.cpp.

References write_event.

int CL_PipeConnection::peek void *  data,
int  len,
int  timeout = -1
 

Definition at line 177 of file pipe_connection.cpp.

References handle, and TEXT.

int CL_PipeConnection::receive void *  data,
int  len,
int  timeout = -1
 

Definition at line 158 of file pipe_connection.cpp.

References handle, and TEXT.

CL_String CL_PipeConnection::receive_user_credentials  ) 
 

Definition at line 192 of file pipe_connection.cpp.

References CL_String, and TEXT.

int CL_PipeConnection::send const void *  data,
int  len,
int  timeout = -1
 

Operations:.

Definition at line 139 of file pipe_connection.cpp.

References handle, and TEXT.

void CL_PipeConnection::send_user_credentials  ) 
 

Definition at line 197 of file pipe_connection.cpp.


Member Data Documentation

CL_Event* CL_PipeConnection::exception_event [private]
 

Definition at line 75 of file pipe_connection.h.

Referenced by CL_PipeConnection(), get_exception_event(), and ~CL_PipeConnection().

int CL_PipeConnection::handle [private]
 

Implementation:.

Definition at line 67 of file pipe_connection.h.

Referenced by CL_PipeConnection(), peek(), receive(), send(), and ~CL_PipeConnection().

CL_Event* CL_PipeConnection::read_event [private]
 

Definition at line 71 of file pipe_connection.h.

Referenced by CL_PipeConnection(), get_read_event(), and ~CL_PipeConnection().

CL_SocketEventHandler* CL_PipeConnection::socket_event_handler [private]
 

Definition at line 69 of file pipe_connection.h.

Referenced by CL_PipeConnection(), and ~CL_PipeConnection().

CL_Event* CL_PipeConnection::write_event [private]
 

Definition at line 73 of file pipe_connection.h.

Referenced by CL_PipeConnection(), get_write_event(), and ~CL_PipeConnection().


The documentation for this class was generated from the following files:
Generated on Sat Feb 19 22:51:18 2005 for npcore by  doxygen 1.4.1