8 #ifdef OPENDDS_SECURITY 9 #ifndef OPENDDS_DCPS_RTPS_ICE_ICE_H 10 #define OPENDDS_DCPS_RTPS_ICE_ICE_H 17 #if !defined (ACE_LACKS_PRAGMA_ONCE) 63 virtual AddressListType host_addresses()
const = 0;
73 virtual void update_agent_info(
const DCPS::GUID_t& a_local_guid,
75 virtual void remove_agent_info(
const DCPS::GUID_t& a_local_guid) = 0;
82 connectivity_check_ttl_(5 * 60),
83 checklist_period_(10),
84 indication_period_(15),
85 nominated_ttl_(5 * 60),
86 server_reflexive_address_period_(30),
87 server_reflexive_indication_count_(10),
88 deferred_triggered_check_ttl_(5 * 60),
89 change_password_period_(5 * 60)
103 connectivity_check_ttl_ = x;
107 return connectivity_check_ttl_;
112 checklist_period_ = x;
116 return checklist_period_;
121 indication_period_ = x;
125 return indication_period_;
134 return nominated_ttl_;
139 server_reflexive_address_period_ = x;
143 return server_reflexive_address_period_;
148 server_reflexive_indication_count_ = x;
152 return server_reflexive_indication_count_;
157 deferred_triggered_check_ttl_ = x;
161 return deferred_triggered_check_ttl_;
166 change_password_period_ = x;
170 return change_password_period_;
211 const AgentInfo& a_remote_agent_info) = 0;
240 : message_class_(STUN::
REQUEST)
242 , latency_available_(false)
248 size_t indication_count_limit,
272 return latency_available_;
277 latency_available_ = flag;
void T_a(const DCPS::TimeDuration &x)
ACE_INET_Addr unset_stun_server_address_
#define OpenDDS_Rtps_Export
The Internal API and Implementation of OpenDDS.
DCPS::TimeDuration T_a() const
DCPS::TimeDuration latency() const
DCPS::MonotonicTimePoint timestamp_
bool candidates_equal(const Candidate &x, const Candidate &y)
void nominated_ttl(const DCPS::TimeDuration &x)
ACE_UINT32 local_priority(const ACE_INET_Addr &addr)
void checklist_period(const DCPS::TimeDuration &x)
virtual void ice_connect(const GuidSetType &, const ACE_INET_Addr &)
ACE_INET_Addr server_reflexive_address_
ssize_t send(ACE_HANDLE handle, const void *buf, size_t len, int flags, const ACE_Time_Value *timeout=0)
void server_reflexive_indication_count(size_t x)
bool latency_available() const
typedef OPENDDS_VECTOR(ACE_INET_Addr) AddressListType
ServerReflexiveStateMachine()
size_t server_reflexive_indication_count() const
DCPS::TimeDuration change_password_period_
void indication_period(const DCPS::TimeDuration &x)
DCPS::TimeDuration nominated_ttl() const
DCPS::TimeDuration indication_period() const
Candidate make_server_reflexive_candidate(const ACE_INET_Addr &address, const ACE_INET_Addr &base, const ACE_INET_Addr &server_address)
virtual ~AgentInfoListener()
GuidPair(const DCPS::GUID_t &a_local, const DCPS::GUID_t &a_remote)
DCPS::TimeDuration deferred_triggered_check_ttl_
DCPS::TimeDuration change_password_period() const
bool candidates_sorted(const Candidate &x, const Candidate &y)
DCPS::TimeDuration indication_period_
void latency_available(bool flag)
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
virtual void ice_disconnect(const GuidSetType &, const ACE_INET_Addr &)
DCPS::TimeDuration server_reflexive_address_period() const
DCPS::TimeDuration checklist_period() const
ACE_INET_Addr stun_server_address_
void server_reflexive_address_period(const DCPS::TimeDuration &x)
DCPS::TimeDuration connectivity_check_ttl_
DCPS::TimeDuration server_reflexive_address_period_
Candidate make_host_candidate(const ACE_INET_Addr &address)
bool is_response(const STUN::Message &message) const
bool operator<(const GuidPair &a_other) const
const ACE_INET_Addr & stun_server_address() const
void connectivity_check_ttl(const DCPS::TimeDuration &x)
std::set< GuidPair > GuidSetType
TransactionId transaction_id
size_t server_reflexive_indication_count_
const ACE_INET_Addr & unset_stun_server_address() const
Candidate make_peer_reflexive_candidate(const ACE_INET_Addr &address, const ACE_INET_Addr &base, const ACE_INET_Addr &server_address, ACE_UINT32 priority)
STUN::Class message_class_
void deferred_triggered_check_ttl(const DCPS::TimeDuration &x)
DCPS::TimeDuration nominated_ttl_
const STUN::Message & message() const
DCPS::TimeDuration connectivity_check_ttl() const
void change_password_period(const DCPS::TimeDuration &x)
int shutdown(ACE_HANDLE handle, int how)
DCPS::TimeDuration latency_
DCPS::TimeDuration deferred_triggered_check_ttl() const
DCPS::TimeDuration checklist_period_