6 #ifdef OPENDDS_SECURITY 7 #ifndef OPENDDS_DCPS_RTPS_ICE_ICE_H 8 #define OPENDDS_DCPS_RTPS_ICE_ICE_H 17 #ifndef ACE_LACKS_PRAGMA_ONCE 44 virtual AddressListType host_addresses()
const = 0;
54 virtual void update_agent_info(
const DCPS::GUID_t& a_local_guid,
56 virtual void remove_agent_info(
const DCPS::GUID_t& a_local_guid) = 0;
63 connectivity_check_ttl_(5 * 60),
64 checklist_period_(10),
65 indication_period_(15),
66 nominated_ttl_(5 * 60),
67 server_reflexive_address_period_(30),
68 server_reflexive_indication_count_(10),
69 deferred_triggered_check_ttl_(5 * 60),
70 change_password_period_(5 * 60)
84 connectivity_check_ttl_ = x;
88 return connectivity_check_ttl_;
93 checklist_period_ = x;
97 return checklist_period_;
102 indication_period_ = x;
106 return indication_period_;
115 return nominated_ttl_;
120 server_reflexive_address_period_ = x;
124 return server_reflexive_address_period_;
129 server_reflexive_indication_count_ = x;
133 return server_reflexive_indication_count_;
138 deferred_triggered_check_ttl_ = x;
142 return deferred_triggered_check_ttl_;
147 change_password_period_ = x;
151 return change_password_period_;
192 const AgentInfo& a_remote_agent_info) = 0;
221 : message_class_(STUN::
REQUEST)
223 , latency_available_(false)
229 size_t indication_count_limit,
253 return latency_available_;
258 latency_available_ = flag;
DCPS::TimeDuration connectivity_check_ttl() const
const ACE_INET_Addr & unset_stun_server_address() const
bool candidates_equal(const Candidate &x, const Candidate &y)
void deferred_triggered_check_ttl(const DCPS::TimeDuration &x)
DCPS::TimeDuration nominated_ttl() const
void server_reflexive_indication_count(size_t x)
DCPS::TimeDuration indication_period_
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
DCPS::TimeDuration server_reflexive_address_period() const
DCPS::TimeDuration checklist_period() const
ssize_t send(ACE_HANDLE handle, const void *buf, size_t len, int flags, const ACE_Time_Value *timeout=0)
const STUN::Message & message() const
void nominated_ttl(const DCPS::TimeDuration &x)
The Internal API and Implementation of OpenDDS.
virtual ~AgentInfoListener()
ACE_INET_Addr server_reflexive_address_
DCPS::TimeDuration indication_period() const
bool latency_available() const
DCPS::TimeDuration T_a() const
Candidate make_server_reflexive_candidate(const ACE_INET_Addr &address, const ACE_INET_Addr &base, const ACE_INET_Addr &server_address)
STUN::Class message_class_
void latency_available(bool flag)
typedef OPENDDS_VECTOR(ACE_INET_Addr) AddressListType
void connectivity_check_ttl(const DCPS::TimeDuration &x)
size_t server_reflexive_indication_count_
ACE_INET_Addr unset_stun_server_address_
TransactionId transaction_id
ACE_INET_Addr stun_server_address_
#define OpenDDS_Rtps_Export
DCPS::TimeDuration checklist_period_
std::set< GuidPair > GuidSetType
bool candidates_sorted(const Candidate &x, const Candidate &y)
DCPS::TimeDuration deferred_triggered_check_ttl_
DCPS::TimeDuration deferred_triggered_check_ttl() const
DCPS::TimeDuration server_reflexive_address_period_
ServerReflexiveStateMachine()
DCPS::MonotonicTimePoint timestamp_
DCPS::TimeDuration latency_
Candidate make_peer_reflexive_candidate(const ACE_INET_Addr &address, const ACE_INET_Addr &base, const ACE_INET_Addr &server_address, ACE_UINT32 priority)
void indication_period(const DCPS::TimeDuration &x)
DCPS::TimeDuration nominated_ttl_
void checklist_period(const DCPS::TimeDuration &x)
void change_password_period(const DCPS::TimeDuration &x)
DCPS::TimeDuration latency() const
Candidate make_host_candidate(const ACE_INET_Addr &address)
virtual void ice_connect(const GuidSetType &, const ACE_INET_Addr &)
void T_a(const DCPS::TimeDuration &x)
DCPS::TimeDuration connectivity_check_ttl_
void server_reflexive_address_period(const DCPS::TimeDuration &x)
DCPS::TimeDuration change_password_period() const
int shutdown(ACE_HANDLE handle, int how)
virtual void ice_disconnect(const GuidSetType &, const ACE_INET_Addr &)
ACE_UINT32 local_priority(const ACE_INET_Addr &addr)
DCPS::TimeDuration change_password_period_
const ACE_INET_Addr & stun_server_address() const
size_t server_reflexive_indication_count() const
bool is_response(const STUN::Message &message) const