ACE_RMCast::To Struct Reference

#include <Protocol.h>

Inheritance diagram for ACE_RMCast::To:

Inheritance graph
[legend]
Collaboration diagram for ACE_RMCast::To:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 To (Header const &h, istream &is)
 To (Address const &addr)
To_ptr clone ()
Address const & address () const
virtual void serialize_body (ostream &os) const
virtual void serialize_body (sstream &ss) const

Static Public Attributes

u16 const  id = 0x0002

Protected Member Functions

virtual Profile_ptr clone_ ()
 To (To const &to)

Private Attributes

Address address_

Constructor & Destructor Documentation

ACE_RMCast::To::To Header const &  h,
istream is
[inline]
 

Definition at line 464 of file Protocol.h.

References ACE_RMCast::istream, ACE_RMCast::u16, and ACE_RMCast::u32.

00466         :
00467     To (Header const& h, istream& is)
00468         : Profile (h)
00469     {
00470       u32 addr;
00471       u16 port;
00472 
00473       is >> addr;
00474       is >> port;

ACE_RMCast::To::To Address const &  addr  )  [inline]
 

Definition at line 476 of file Protocol.h.

00480         : Profile (id), address_ (addr)

ACE_RMCast::To::To To const &  to  )  [inline, protected]
 

Definition at line 495 of file Protocol.h.

00499         : Profile (to),


Member Function Documentation

Address const& ACE_RMCast::To::address void   )  const [inline]
 

Definition at line 503 of file Protocol.h.

References ACE_RMCast::Address.

00504         :
00505     Address const&
00506     address () const
    {

To_ptr ACE_RMCast::To::clone void   )  [inline]
 

Reimplemented from ACE_RMCast::Profile.

Definition at line 483 of file Protocol.h.

00487     {

virtual Profile_ptr ACE_RMCast::To::clone_  )  [inline, protected, virtual]
 

Implements ACE_RMCast::Profile.

Definition at line 490 of file Protocol.h.

References ACE_RMCast::Profile_ptr.

00491            :
00492     virtual Profile_ptr
00493     clone_ ()
    {

virtual void ACE_RMCast::To::serialize_body sstream ss  )  const [inline, virtual]
 

Implements ACE_RMCast::Profile.

Definition at line 520 of file Protocol.h.

00524     {
00525       u32 addr (0);
00526       u16 port (0);
00527 

virtual void ACE_RMCast::To::serialize_body ostream os  )  const [inline, virtual]
 

Implements ACE_RMCast::Profile.

Definition at line 510 of file Protocol.h.

References ACE_INET_Addr::get_ip_address(), ACE_INET_Addr::get_port_number(), ACE_RMCast::ostream, ACE_RMCast::u16, and ACE_RMCast::u32.

00511         :
00512     virtual void
00513     serialize_body (ostream& os) const
00514     {
00515       u32 addr (address_.get_ip_address ());
00516       u16 port (address_.get_port_number ());
00517 
      os << addr;


Member Data Documentation

Address ACE_RMCast::To::address_ [private]
 

Definition at line 530 of file Protocol.h.

u16 const ACE_RMCast::To::id = 0x0002 [static]
 

Definition at line 10 of file Protocol.cpp.


The documentation for this struct was generated from the following files:
Generated on Thu Nov 9 11:41:13 2006 for ACE_RMCast by doxygen 1.3.6