TAO_MCAST_Parser Class Reference

Implements the mcast: IOR format. More...

#include <MCAST_Parser.h>

Inheritance diagram for TAO_MCAST_Parser:

Inheritance graph
[legend]
Collaboration diagram for TAO_MCAST_Parser:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 TAO_MCAST_Parser (void)
 Constructor.
virtual ~TAO_MCAST_Parser (void)
 The destructor.
virtual bool match_prefix (const char *ior_string) const
virtual CORBA::Object_ptr parse_string (const char *ior, CORBA::ORB_ptr orb)
 Parse the ior-string that is passed.

Private Member Functions

CORBA::Object_ptr multicast_to_service (const char *service_name, unsigned short port, const char *mcast_address, int mcast_ttl, const char *mcast_nic, CORBA::ORB_ptr orb, ACE_Time_Value *timeout)
int multicast_query (char *&buf, const char *service_name, unsigned short port, const char *mcast_address, int mcast_ttl, const char *mcast_nic, ACE_Time_Value *timeout, CORBA::ORB_ptr orb)
void assign_to_variables (char const *mcast_name_ptr)

Private Attributes

CORBA::String_var mcast_address_
unsigned short mcast_port_
 Default multicast port (currently Name Service mcast port).
CORBA::String_var mcast_nic_
 Multicast network interface card.
int mcast_ttl_
 Default time-to-live (default is 1).
CORBA::String_var service_name_
 Multicast service name.


Detailed Description

Implements the mcast: IOR format.

This class implements the mcast: IOR format. It is dynamically loaded by the ORB and used to parse the string to separate the individual <obj_addr> from the list of object addresses <obj_addr_list>.


Constructor & Destructor Documentation

TAO_MCAST_Parser::TAO_MCAST_Parser ( void   ) 

Constructor.

TAO_MCAST_Parser::~TAO_MCAST_Parser ( void   )  [virtual]

The destructor.


Member Function Documentation

void TAO_MCAST_Parser::assign_to_variables ( char const *  mcast_name_ptr  )  [private]

bool TAO_MCAST_Parser::match_prefix ( const char *  ior_string  )  const [virtual]

= The IOR_Parser methods, please read the documentation in IOR_Parser.h

Implements TAO_IOR_Parser.

int TAO_MCAST_Parser::multicast_query ( char *&  buf,
const char *  service_name,
unsigned short  port,
const char *  mcast_address,
int  mcast_ttl,
const char *  mcast_nic,
ACE_Time_Value timeout,
CORBA::ORB_ptr  orb 
) [private]

CORBA::Object_ptr TAO_MCAST_Parser::multicast_to_service ( const char *  service_name,
unsigned short  port,
const char *  mcast_address,
int  mcast_ttl,
const char *  mcast_nic,
CORBA::ORB_ptr  orb,
ACE_Time_Value timeout 
) [private]

CORBA::Object_ptr TAO_MCAST_Parser::parse_string ( const char *  ior,
CORBA::ORB_ptr  orb 
) [virtual]

Parse the ior-string that is passed.

Implements TAO_IOR_Parser.


Member Data Documentation

Multicast network interface card.

unsigned short TAO_MCAST_Parser::mcast_port_ [private]

Default multicast port (currently Name Service mcast port).

Default time-to-live (default is 1).

Multicast service name.


The documentation for this class was generated from the following files:

Generated on Mon Jul 13 16:26:25 2009 for TAO by  doxygen 1.5.8