8 #ifdef OPENDDS_SECURITY 9 #ifndef OPENDDS_DCPS_RTPS_ICE_ICE_H 10 #define OPENDDS_DCPS_RTPS_ICE_ICE_H 16 #if !defined (ACE_LACKS_PRAGMA_ONCE) 62 virtual AddressListType host_addresses()
const = 0;
72 virtual void update_agent_info(
const DCPS::RepoId& a_local_guid,
74 virtual void remove_agent_info(
const DCPS::RepoId& a_local_guid) = 0;
81 connectivity_check_ttl_(5 * 60),
82 checklist_period_(10),
83 indication_period_(15),
84 nominated_ttl_(5 * 60),
85 server_reflexive_address_period_(30),
86 server_reflexive_indication_count_(10),
87 deferred_triggered_check_ttl_(5 * 60),
88 change_password_period_(5 * 60)
102 connectivity_check_ttl_ = x;
106 return connectivity_check_ttl_;
111 checklist_period_ = x;
115 return checklist_period_;
120 indication_period_ = x;
124 return indication_period_;
133 return nominated_ttl_;
138 server_reflexive_address_period_ = x;
142 return server_reflexive_address_period_;
147 server_reflexive_indication_count_ = x;
151 return server_reflexive_indication_count_;
156 deferred_triggered_check_ttl_ = x;
160 return deferred_triggered_check_ttl_;
165 change_password_period_ = x;
169 return change_password_period_;
199 virtual void add_endpoint(
Endpoint* a_endpoint) = 0;
200 virtual void remove_endpoint(
Endpoint* a_endpoint) = 0;
202 virtual void add_local_agent_info_listener(
Endpoint* a_endpoint,
205 virtual void remove_local_agent_info_listener(
Endpoint* a_endpoint,
207 virtual void start_ice(
Endpoint* a_endpoint,
210 const AgentInfo& a_remote_agent_info) = 0;
211 virtual void stop_ice(
Endpoint* a_endpoint,
219 virtual void receive(
Endpoint* a_endpoint,
226 static Agent* instance();
239 : message_class_(STUN::
REQUEST)
246 size_t indication_count_limit,
virtual void ice_connect(const GuidSetType &, const ACE_INET_Addr &)
void server_reflexive_indication_count(size_t x)
const ACE_INET_Addr & unset_stun_server_address() const
void deferred_triggered_check_ttl(const DCPS::TimeDuration &x)
STUN::Class message_class_
GuidPair(const DCPS::RepoId &a_local, const DCPS::RepoId &a_remote)
DCPS::TimeDuration indication_period_
size_t server_reflexive_indication_count_
ACE_INET_Addr stun_server_address_
Candidate make_server_reflexive_candidate(const ACE_INET_Addr &address, const ACE_INET_Addr &base, const ACE_INET_Addr &server_address)
DCPS::TimeDuration server_reflexive_address_period() const
DCPS::TimeDuration checklist_period() const
void connectivity_check_ttl(const DCPS::TimeDuration &x)
bool candidates_equal(const Candidate &x, const Candidate &y)
void checklist_period(const DCPS::TimeDuration &x)
DCPS::TimeDuration connectivity_check_ttl() const
ssize_t send(ACE_HANDLE handle, const void *buf, size_t len, int flags, const ACE_Time_Value *timeout=0)
DCPS::TimeDuration checklist_period_
Candidate make_host_candidate(const ACE_INET_Addr &address)
void nominated_ttl(const DCPS::TimeDuration &x)
ACE_INET_Addr unset_stun_server_address_
const STUN::Message & message() const
DCPS::TimeDuration nominated_ttl() const
DCPS::TimeDuration server_reflexive_address_period_
ACE_UINT32 local_priority(const ACE_INET_Addr &addr)
ACE_INET_Addr server_reflexive_address_
std::set< GuidPair > GuidSetType
ServerReflexiveStateMachine()
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
#define OpenDDS_Rtps_Export
void indication_period(const DCPS::TimeDuration &x)
bool operator<(const GuidPair &a_other) const
virtual ~AgentInfoListener()
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 T_a() const
DCPS::TimeDuration change_password_period() const
void server_reflexive_address_period(const DCPS::TimeDuration &x)
void change_password_period(const DCPS::TimeDuration &x)
typedef OPENDDS_VECTOR(ACE_INET_Addr) AddressListType
size_t server_reflexive_indication_count() const
DCPS::TimeDuration indication_period() const
DCPS::TimeDuration change_password_period_
DCPS::TimeDuration nominated_ttl_
bool is_response(const STUN::Message &message) const
const ACE_INET_Addr & stun_server_address() const
TransactionId transaction_id
int shutdown(ACE_HANDLE handle, int how)
DCPS::TimeDuration deferred_triggered_check_ttl_
bool candidates_sorted(const Candidate &x, const Candidate &y)
The Internal API and Implementation of OpenDDS.
virtual void ice_disconnect(const GuidSetType &, const ACE_INET_Addr &)
DCPS::TimeDuration deferred_triggered_check_ttl() const
DCPS::TimeDuration connectivity_check_ttl_
void T_a(const DCPS::TimeDuration &x)