8 #ifndef OPENDDS_DCPS_TRANSPORT_FRAMEWORK_TRANSPORTSTATISTICS_H 9 #define OPENDDS_DCPS_TRANSPORT_FRAMEWORK_TRANSPORTSTATISTICS_H 14 #include <dds/OpenddsDcpsExtC.h> 39 return kind < other.
kind;
65 send_fail_bytes_ += bytes;
96 : transport(a_transport)
101 message_count.clear();
102 writer_resend_count.clear();
103 reader_nack_count.clear();
112 for (InternalTransportStatistics::MessageCountMap::const_iterator pos = istats.
message_count.begin(),
116 mc.
kind = pos->first.kind;
117 mc.
relay = pos->first.relay;
126 for (InternalTransportStatistics::GuidCountMap::const_iterator pos = istats.
writer_resend_count.begin(),
128 const GuidCount gc = { pos->first, pos->second };
131 for (InternalTransportStatistics::GuidCountMap::const_iterator pos = istats.
reader_nack_count.begin(),
133 const GuidCount gc = { pos->first, pos->second };
GuidCountSequence writer_resend_count
size_t send_count() const
unsigned long send_fail_bytes
const OPENDDS_STRING transport
MessageCountMap message_count
MessageCountSequence message_count
OpenDDS_Dcps_Export void address_to_locator(Locator_t &locator, const ACE_INET_Addr &addr)
sequence< TransportStatistics > TransportStatisticsSequence
GuidCountSequence reader_nack_count
GuidCountMap writer_resend_count
void send_fail(ssize_t bytes)
key MessageCountKind kind
ssize_t send_fail_bytes() const
Seq::size_type grow(Seq &seq)
void append(TransportStatisticsSequence &seq, const InternalTransportStatistics &istats)
unsigned long send_fail_count
size_t recv_count() const
void push_back(Seq &seq, const typename Seq::value_type &val)
std::vector-style push_back() for CORBA Sequences
InternalTransportStatistics(const OPENDDS_STRING &a_transport)
bool operator<(const InternalMessageCountKey &other) const
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
GuidCountMap reader_nack_count
InternalMessageCountKey(const NetworkAddress &a_address, MessageCountKind a_kind, bool a_relay)
InternalMessageCountValue()
size_t send_fail_count() const
ssize_t send_bytes() const
The Internal API and Implementation of OpenDDS.
typedef OPENDDS_MAP(OPENDDS_STRING, OPENDDS_STRING) ValueMap
Helper types and functions for config file parsing.
DDS::OctetArray16 address
ssize_t recv_bytes() const