6 #ifndef OPENDDS_DCPS_TRANSPORT_TCP_TCPDATALINK_H 7 #define OPENDDS_DCPS_TRANSPORT_TCP_TCPDATALINK_H 22 class TcpSendStrategy;
23 class TcpReceiveStrategy;
69 const GUID_t& local_publication_id,
74 const GUID_t& local_subscription_id,
112 #if defined (__ACE_INLINE__)
bool handle_send_request_ack(TransportQueueElement *element)
WeakRcHandle< TcpConnection > connection_
ACE_INET_Addr remote_address_
void request_ack_received(const ReceivedDataSample &sample)
ACE_Thread_Mutex stopped_clients_mutex_
typedef OPENDDS_VECTOR(TransportQueueElement *) PendingRequestAcks
bool graceful_disconnect_sent_
PendingRequestAcks pending_request_acks_
virtual void send_i(TransportQueueElement *element, bool relink=true)
void send_graceful_disconnect_message()
TcpConnection_rch get_connection()
typedef OPENDDS_SET_CMP(GUID_t, GUID_tKeyLessThan) RepoIdSetType
void ack_received(const ReceivedDataSample &sample)
TcpDataLink(const TcpTransport_rch &transport_impl, const ACE_INET_Addr &remote_address, Priority priority, bool is_loopback, bool is_active)
void send_association_msg(const GUID_t &local, const GUID_t &remote)
virtual void pre_stop_i()
virtual void send_stop_i(GUID_t repoId)
int make_reservation(const GUID_t &remote_subscription_id, const GUID_t &local_publication_id, const TransportSendListener_wrch &send_listener, bool reliable)
void drop_pending_request_acks()
int connect(const TcpConnection_rch &connection, const RcHandle< TcpSendStrategy > &send_strategy, const RcHandle< TcpReceiveStrategy > &receive_strategy)
int reconnect(const TcpConnection_rch &connection)
TcpSendStrategy_rch send_strategy()
Holds a data sample received by the transport.
AtomicBool release_is_pending_
TcpReceiveStrategy_rch receive_strategy()
bool check_active_client(const GUID_t &local_id)
virtual int priority(void) const
void set_release_pending(bool flag)
Set release pending flag.
RepoIdSetType stopped_clients_
ACE_SYNCH_MUTEX pending_request_acks_lock_
void client_stop(const GUID_t &local_id)
void do_association_actions()
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
bool is_release_pending() const
Get release pending flag.
int reuse_existing_connection(const TcpConnection_rch &connection)
const ACE_INET_Addr & remote_address() const
Accessor for the remote address.
The Internal API and Implementation of OpenDDS.
Base wrapper class around a data/control sample to be sent.