128 strategy->
send(element, relink);
175 "Removed sample from ThreadPerConnection queue.\n"));
222 if (send_strategy->
start() != 0) {
228 if ((!receive_strategy.
is_nil()) && (receive_strategy->
start() != 0)) {
233 send_strategy->
stop();
269 static const char* NoticeStr[] = {
"DISCONNECTED",
274 return NoticeStr [notice];
299 ACE_TEXT(
"(%P|%t) DataLink::remove_listener: ")
300 ACE_TEXT(
"removed %C from send_listeners\n"),
313 ACE_TEXT(
"(%P|%t) DataLink::remove_listener: ")
314 ACE_TEXT(
"removed %C from recv_listeners\n"),
328 IdToSendListenerMap::const_iterator found =
333 return found->second.lock();
342 IdToRecvListenerMap::const_iterator found =
347 return found->second.lock();
IdToSendListenerMap send_listeners_
virtual bool is_request_ack() const
virtual TransportQueueElement * customize_queue_element(TransportQueueElement *element)
const TimeDuration & datalink_release_delay() const
bool is_active_
Is pub or sub ?
bool data_dropped(bool dropped_by_transport=false)
RcHandle< TransportSendListener > TransportSendListener_rch
LockType pub_sub_maps_lock_
virtual void remove_all_msgs(const GUID_t &pub_id)
void set_scheduling_release(bool scheduling_release)
const char * c_str() const
virtual void send_i(TransportQueueElement *element, bool relink=true)
TransportSendListener_rch send_listener_for(const GUID_t &pub_id) const
TransportSendStrategy_rch get_send_strategy()
RcHandle< TransportReceiveListener > TransportReceiveListener_rch
void send_stop(GUID_t repoId)
int start(const TransportSendStrategy_rch &send_strategy, const TransportStrategy_rch &receive_strategy, bool invoke_all=true)
OpenDDS_Dcps_Export unsigned int Transport_debug_level
Transport Logging verbosity level.
void remove_all_msgs(const GUID_t &pub_id)
ACE_UINT64 DataLinkIdType
Identifier type for DataLink objects.
TransportStrategy_rch receive_strategy_
The transport receive strategy object for this DataLink.
RemoveResult remove_sample(const DataSampleElement *sample)
RemoveResult
used by DataLink::remove_sample(), TransportSendStrategy, *RemoveVisitor
void send(TransportQueueElement *element, bool relink=true)
void send(TransportQueueElement *element)
Priority & transport_priority()
TransportSendStrategy_rch send_strategy_
The transport send strategy object for this DataLink.
TransportReceiveListener_wrch default_listener_
void send_stop_i(GUID_t repoId)
DataLinkIdType id() const
Obtain a unique identifier for this DataLink object.
TimeDuration datalink_release_delay_
void send_stop(GUID_t repoId)
void terminate_send(bool graceful_disconnecting=false)
Remove all samples in the backpressure queue and packet queue.
void remove_listener(const GUID_t &local_id)
unique_ptr< ThreadPerConnectionSendTask > thr_per_con_send_task_
const char * connection_notice_as_str(ConnectionNotice notice)
Helper function to output the enum as a string to help debugging.
#define DBG_ENTRY_LVL(CNAME, MNAME, DBG_LVL)
TransportReceiveListener_wrch default_listener() const
TransportReceiveListener_rch recv_listener_for(const GUID_t &sub_id) const
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
IdToRecvListenerMap recv_listeners_
bool is_loopback_
Is remote attached to same transport ?
ACE_UINT64 id_
The id for this DataLink.
virtual RemoveResult remove_sample(const DataSampleElement *sample)
Priority transport_priority_
TRANSPORT_PRIORITY value associated with the link.
The Internal API and Implementation of OpenDDS.
virtual void send_final_acks(const GUID_t &readerid)
Base wrapper class around a data/control sample to be sent.
virtual bool handle_send_request_ack(TransportQueueElement *element)
void invoke_on_start_callbacks(bool success)