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::RepoId& a_local_guid,
75 virtual void remove_agent_info(
const DCPS::RepoId& 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;
DCPS::TimeDuration latency_
void checklist_period(const DCPS::TimeDuration &x)
ACE_INET_Addr server_reflexive_address_
#define OpenDDS_Rtps_Export
const STUN::Message & message() const
bool latency_available() const
const ACE_INET_Addr & unset_stun_server_address() const
DCPS::TimeDuration checklist_period() const
void connectivity_check_ttl(const DCPS::TimeDuration &x)
DCPS::TimeDuration nominated_ttl() const
void server_reflexive_indication_count(size_t x)
Candidate make_peer_reflexive_candidate(const ACE_INET_Addr &address, const ACE_INET_Addr &base, const ACE_INET_Addr &server_address, ACE_UINT32 priority)
ServerReflexiveStateMachine()
DCPS::TimeDuration server_reflexive_address_period_
const ACE_INET_Addr & stun_server_address() const
ssize_t send(ACE_HANDLE handle, const void *buf, size_t len, int flags, const ACE_Time_Value *timeout=0)
DCPS::TimeDuration connectivity_check_ttl_
size_t server_reflexive_indication_count_
ACE_INET_Addr stun_server_address_
DCPS::TimeDuration connectivity_check_ttl() const
GuidPair(const DCPS::RepoId &a_local, const DCPS::RepoId &a_remote)
virtual void ice_disconnect(const GuidSetType &, const ACE_INET_Addr &)
typedef OPENDDS_VECTOR(ACE_INET_Addr) AddressListType
bool candidates_sorted(const Candidate &x, const Candidate &y)
DCPS::TimeDuration latency() const
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
void deferred_triggered_check_ttl(const DCPS::TimeDuration &x)
DCPS::TimeDuration change_password_period() const
bool candidates_equal(const Candidate &x, const Candidate &y)
DCPS::TimeDuration deferred_triggered_check_ttl() const
void change_password_period(const DCPS::TimeDuration &x)
bool operator<(const GuidPair &a_other) const
bool is_response(const STUN::Message &message) const
The Internal API and Implementation of OpenDDS.
ACE_INET_Addr unset_stun_server_address_
ACE_UINT32 local_priority(const ACE_INET_Addr &addr)
DCPS::TimeDuration T_a() const
STUN::Class message_class_
TransactionId transaction_id
size_t server_reflexive_indication_count() const
void indication_period(const DCPS::TimeDuration &x)
DCPS::TimeDuration change_password_period_
void T_a(const DCPS::TimeDuration &x)
DCPS::MonotonicTimePoint timestamp_
std::set< GuidPair > GuidSetType
virtual ~AgentInfoListener()
DCPS::TimeDuration indication_period_
int shutdown(ACE_HANDLE handle, int how)
Candidate make_host_candidate(const ACE_INET_Addr &address)
void latency_available(bool flag)
DCPS::TimeDuration server_reflexive_address_period() const
DCPS::TimeDuration indication_period() const
DCPS::TimeDuration nominated_ttl_
void server_reflexive_address_period(const DCPS::TimeDuration &x)
DCPS::TimeDuration checklist_period_
void nominated_ttl(const DCPS::TimeDuration &x)
virtual void ice_connect(const GuidSetType &, const ACE_INET_Addr &)
Candidate make_server_reflexive_candidate(const ACE_INET_Addr &address, const ACE_INET_Addr &base, const ACE_INET_Addr &server_address)
DCPS::TimeDuration deferred_triggered_check_ttl_