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

CL_UDPConnection Class Reference

desc: This class is an abstract interface used to send messages to anotherdesc: host on a UDP port. More...

#include <network_delivery_impl.h>

Inheritance diagram for CL_UDPConnection:

Inheritance graph
[legend]
List of all members.

Public Methods

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

virtual void send (CL_UDPConnectionPacket message)=0
virtual void broadcast (CL_UDPConnectionPacket message)=0
 param: message - Message/data to be sent.

virtual unsigned int get_port ()=0
 param: message - Message/data to be sent.


Detailed Description

desc: This class is an abstract interface used to send messages to anotherdesc: host on a UDP port.

Definition at line 92 of file network_delivery_impl.h.


Member Function Documentation

void CL_UDPConnection::broadcast ( CL_UDPConnectionPacket message ) [pure virtual]
 

param: message - Message/data to be sent.

Reimplemented in CL_UniformUDPConnection.

unsigned int CL_UDPConnection::get_port ( ) [pure virtual]
 

param: message - Message/data to be sent.

Reimplemented in CL_UniformUDPConnection.

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

Reimplemented in CL_UniformUDPConnection.

CL_UDPConnectionPacket CL_UDPConnection::receive ( ) [pure virtual]
 

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

Reimplemented in CL_UniformUDPConnection.

virtual void CL_UDPConnection::send ( CL_UDPConnectionPacket message ) [pure virtual]
 

Reimplemented in CL_UniformUDPConnection.


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