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

PANA_IO Class Reference

#include <pana_io.h>

Inheritance diagram for PANA_IO:

List of all members.

Public Member Functions

virtual ~PANA_IO ()
virtual ACE_INT32 open (std::string &iface, ACE_INET_Addr &listenAddr)=0
virtual ACE_INT32 recv (void *buf, size_t n, ACE_UINT32 &srcPort, PANA_DeviceIdContainer &srcDevices)=0
virtual ACE_INT32 send (void *buf, size_t n, ACE_UINT32 destPort, PANA_DeviceIdContainer &destDevices)=0
virtual ACE_INT32 get_local_addr (PANA_DeviceIdContainer &localDevices)=0
virtual void close ()=0

Detailed Description

Abstract class contract for a PANA transport

Definition at line 44 of file pana_io.h.


Constructor & Destructor Documentation

virtual PANA_IO::~PANA_IO  )  [inline, virtual]
 

destructor

Definition at line 50 of file pana_io.h.

00050 { }


Member Function Documentation

virtual void PANA_IO::close  )  [pure virtual]
 

close method. Derive class MUST implement

virtual ACE_INT32 PANA_IO::get_local_addr PANA_DeviceIdContainer &  localDevices  )  [pure virtual]
 

retreives the local device address

Parameters:
localDevices container list

virtual ACE_INT32 PANA_IO::open std::string &  iface,
ACE_INET_Addr &  listenAddr
[pure virtual]
 

open method. Derive class MUST implement

Parameters:
iface Interface name
listenAddr UDP listening port and optional address

virtual ACE_INT32 PANA_IO::recv void *  buf,
size_t  n,
ACE_UINT32 &  srcPort,
PANA_DeviceIdContainer &  srcDevices
[pure virtual]
 

receive function. Derive class MUST implement

Parameters:
buf Buffer to put incomming data
n size of buf
srcPort source port of the message
srcDevices source device id list

virtual ACE_INT32 PANA_IO::send void *  buf,
size_t  n,
ACE_UINT32  destPort,
PANA_DeviceIdContainer &  destDevices
[pure virtual]
 

send function. Derive class MUST implement

Parameters:
buf Buffer to transmitt
n size of buf
destPort destination port for packet
destDevices destination device id list


The documentation for this class was generated from the following file:
Generated on Fri Jun 25 19:18:31 2004 for PANA by doxygen 1.3.5