8 #ifndef OPENDDS_DCPS_TRANSPORT_FRAMEWORK_THREADPERCONNECTIONSENDTASK_H 9 #define OPENDDS_DCPS_TRANSPORT_FRAMEWORK_THREADPERCONNECTIONSENDTASK_H 21 #if !defined (ACE_LACKS_PRAGMA_ONCE) 31 class TransportQueueElement;
32 class DataSampleElement;
33 class TransportSendElement;
69 virtual int open(
void* = 0);
75 virtual int close(u_long flag = 0);
bool opened_
Flag used to avoid multiple open() calls.
#define OpenDDS_Dcps_Export
ACE_thread_t thr_id_
The id of the thread created by this task.
int close(ACE_HANDLE handle)
bool shutdown_initiated_
Flag used to initiate a shutdown request to all worker threads.
BasicQueue< SendRequest > QueueType
RemoveResult
used by DataLink::remove_sample(), TransportSendStrategy, *RemoveVisitor
ACE_HANDLE open(const char *filename, int mode, mode_t perms=ACE_DEFAULT_OPEN_PERMS, LPSECURITY_ATTRIBUTES sa=0)
TransportQueueElement * element_
ACE_Guard< LockType > GuardType
ConditionVariable< LockType > ConditionVariableType
ConditionVariableType work_available_
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
QueueType queue_
The request queue.
Execute the requests of sending a sample or control message.
LockType lock_
Lock to protect the "state" (all of the data members) of this object.
The Internal API and Implementation of OpenDDS.
DataLink * link_
The datalink to send the samples or control messages.
Base wrapper class around a data/control sample to be sent.