Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

CL_Connection Class Reference

desc: This class is an abstract interface used to send messages to either desc: a host (using sockets) or a local process (using pipes).desc:
desc: CL_Connection is inherited to platform dependent connection types desc: such as TCP/IP sockets and pipes. These platform dependent desc: connections can be obtained through the CL_ConnectionProvider desc: interface. More...

#include <network_delivery_impl.h>

Inheritance diagram for CL_Connection:

Inheritance graph
[legend]
List of all members.

Public Methods

virtual ~CL_Connection ()
virtual bool peek ()=0
virtual CL_ConnectionPacket receive ()=0
 retval: True if a message can be received by a call to receive().

virtual void send (CL_ConnectionPacket message)=0
virtual bool connection_lost ()=0
 param: message - Message/data to be sent.


Detailed Description

desc: This class is an abstract interface used to send messages to either desc: a host (using sockets) or a local process (using pipes).desc:
desc: CL_Connection is inherited to platform dependent connection types desc: such as TCP/IP sockets and pipes. These platform dependent desc: connections can be obtained through the CL_ConnectionProvider desc: interface.

Definition at line 62 of file network_delivery_impl.h.


Constructor & Destructor Documentation

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

Definition at line 73 of file network_delivery_impl.h.


Member Function Documentation

bool CL_Connection::connection_lost ( ) [pure virtual]
 

param: message - Message/data to be sent.

Reimplemented in CL_UniformSocket, and CL_UniformAcceptSocket.

virtual bool CL_Connection::peek ( ) [pure virtual]
 

Reimplemented in CL_UniformSocket, and CL_UniformAcceptSocket.

CL_ConnectionPacket CL_Connection::receive ( ) [pure virtual]
 

retval: True if a message can be received by a call to receive().

Reimplemented in CL_UniformSocket, and CL_UniformAcceptSocket.

virtual void CL_Connection::send ( CL_ConnectionPacket message ) [pure virtual]
 

Reimplemented in CL_UniformSocket, and CL_UniformAcceptSocket.


The documentation for this class was generated from the following file:
Generated at Wed Apr 4 19:56:50 2001 for ClanLib by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001