summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/EC_Mcast/EC_Mcast.inl
blob: 28afc4f0a1f565d76150a3b4e4e9b64c93958a1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117

ACE_INLINE int
ECM_Federation::sender_local_addr (ACE_INET_Addr& addr)
{
  return this->sender_->get_local_addr (addr);
}


ACE_INLINE const char*
ECM_Federation::name () const
{
  return this->name_;
}

ACE_INLINE CORBA::UShort
ECM_Federation::mcast_port () const
{
  return this->mcast_port_;
}

ACE_INLINE int
ECM_Federation::supplier_types () const
{
  return this->supplier_types_;
}

ACE_INLINE const char*
ECM_Federation::supplier_name (CORBA::ULong i) const
{
  if (i < static_cast<CORBA::ULong> (this->supplier_types_))
    return this->supplier_names_[i];
  return 0;
}

ACE_INLINE CORBA::ULong
ECM_Federation::supplier_ipaddr (CORBA::ULong i) const
{
  if (i < static_cast<CORBA::ULong> (this->supplier_types_))
    return this->supplier_ipaddr_[i];
  return 0;
}

ACE_INLINE int
ECM_Federation::consumer_types () const
{
  return this->consumer_types_;
}

ACE_INLINE const char*
ECM_Federation::consumer_name (CORBA::ULong i) const
{
  if (i < static_cast<CORBA::ULong> (this->consumer_types_))
    return this->consumer_names_[i];
  return 0;
}

ACE_INLINE CORBA::ULong
ECM_Federation::consumer_ipaddr (CORBA::ULong i) const
{
  if (i < static_cast<CORBA::ULong> (this->consumer_types_))
    return this->consumer_ipaddr_[i];
  return 0;
}

ACE_INLINE const ECM_Federation*
ECM_Local_Federation::federation () const
{
  return this->federation_;
}

ACE_INLINE const char*
ECM_Local_Federation::name () const
{
  return this->federation_->name ();
}

ACE_INLINE CORBA::UShort
ECM_Local_Federation::mcast_port () const
{
  return this->federation_->mcast_port ();
}

ACE_INLINE int
ECM_Local_Federation::supplier_types () const
{
  return this->federation_->supplier_types ();
}

ACE_INLINE const char*
ECM_Local_Federation::supplier_name (CORBA::ULong i) const
{
  return this->federation_->supplier_name (i);
}

ACE_INLINE CORBA::ULong
ECM_Local_Federation::supplier_ipaddr (CORBA::ULong i) const
{
  return this->federation_->supplier_ipaddr (i);
}

ACE_INLINE int
ECM_Local_Federation::consumer_types () const
{
  return this->federation_->consumer_types ();
}

ACE_INLINE const char*
ECM_Local_Federation::consumer_name (CORBA::ULong i) const
{
  return this->federation_->consumer_name (i);
}

ACE_INLINE CORBA::ULong
ECM_Local_Federation::consumer_ipaddr (CORBA::ULong i) const
{
  return this->federation_->consumer_ipaddr (i);
}