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 468 of file Protocol.h.

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

00470         :
00471     To (Header const& h, istream& is)
00472         : Profile (h)
00473     {
00474       u32 addr;
00475       u16 port;
00476 
00477       is >> addr;
00478       is >> port;

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

Definition at line 480 of file Protocol.h.

00484         : Profile (id), address_ (addr)

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

Definition at line 500 of file Protocol.h.

00504         : Profile (to),


Member Function Documentation

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

Definition at line 508 of file Protocol.h.

References ACE_RMCast::Address.

00509         :
00510     Address const&
00511     address () const
    {

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

Reimplemented from ACE_RMCast::Profile.

Definition at line 487 of file Protocol.h.

00491     {

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

Implements ACE_RMCast::Profile.

Definition at line 494 of file Protocol.h.

References ACE_RMCast::Profile_ptr.

00495            :
00496     virtual Profile_ptr
00497     clone_ ()
00498     {
      Profile_ptr p (new To (*this));

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

Implements ACE_RMCast::Profile.

Definition at line 525 of file Protocol.h.

00529     {
00530       u32 addr (0);
00531       u16 port (0);
00532 

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

Implements ACE_RMCast::Profile.

Definition at line 515 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.

00516         :
00517     virtual void
00518     serialize_body (ostream& os) const
00519     {
00520       u32 addr (address_.get_ip_address ());
00521       u16 port (address_.get_port_number ());
00522 
      os << addr;


Member Data Documentation

Address ACE_RMCast::To::address_ [private]
 

Definition at line 535 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 Sun Jan 27 13:03:07 2008 for ACE_RMCast by doxygen 1.3.6