mcast:
IOR format.
More...
#include <MCAST_Parser.h>
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. |
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>.
TAO_MCAST_Parser::TAO_MCAST_Parser | ( | void | ) |
Constructor.
TAO_MCAST_Parser::~TAO_MCAST_Parser | ( | void | ) | [virtual] |
The destructor.
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] |
Multicast network interface card.
unsigned short TAO_MCAST_Parser::mcast_port_ [private] |
Default multicast port (currently Name Service mcast port).
int TAO_MCAST_Parser::mcast_ttl_ [private] |
Default time-to-live (default is 1).
Multicast service name.