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