Eaagles::Basic::LcUdpHandler Class Reference

Inherits Eaagles::Basic::LcNetHandler.

Inheritance diagram for Eaagles::Basic::LcUdpHandler:

Inheritance graph
[legend]
Collaboration diagram for Eaagles::Basic::LcUdpHandler:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LcUdpHandler ()
 LcUdpHandler (const char *const ip, const short port, const short source)
virtual bool init ()
bool setSlotIpAddress (LcString *const msg)

Private Attributes

char * ipAddr

Detailed Description

UDP/IP network handler.

    Form name: UdpHandler
    Slots:
         ipAddress:          // Destination IP address "111.222.333.444"

    Input File Example:

    ( MyNetworkIO
       netOutput:
           ( UdpHandler
              ip: "224.0.0.251"      // Destination IP address
              port: 2010             // Destination port
              sourcePort: 2          // Port to send from
              shared: 1              // Shared port
           )
     )
    /pre>


Constructor & Destructor Documentation

Eaagles::Basic::LcUdpHandler::LcUdpHandler (  ) 

Constructor: where 'ip' is the destination's IP address, 'port' is the multicast port and 'source' is the source port.

Eaagles::Basic::LcUdpHandler::LcUdpHandler ( const char *const  ip,
const short  port,
const short  source 
)


Member Function Documentation

bool Eaagles::Basic::LcUdpHandler::init (  )  [virtual]

init the multicast socket (called by the constructor)

Reimplemented from Eaagles::Basic::LcNetHandler.

bool Eaagles::Basic::LcUdpHandler::setSlotIpAddress ( LcString *const  msg  ) 

Slot functions.


Member Data Documentation

char* Eaagles::Basic::LcUdpHandler::ipAddr [private]

IP Address.


Generated on Tue Dec 19 16:26:35 2006 for Eaagles by  doxygen 1.5.0