Base class for all client transports. More...
#include <ClientTransport.hpp>
Inherited by RCF::ConnectedClientTransport, RCF::MulticastClientTransport, and RCF::UdpClientTransport.
Public Member Functions | |
virtual TransportType | getTransportType ()=0 |
Returns the transport type of this client transport. | |
void | setMaxIncomingMessageLength (std::size_t maxMessageLength) |
std::size_t | getMaxIncomingMessageLength () const |
Returns maximum incoming message length. | |
std::size_t | getLastRequestSize () |
Returns the byte size of the last request sent on the client transport. | |
std::size_t | getLastResponseSize () |
Returns the byte size of the last response received on the client transport. | |
boost::uint64_t | getRunningTotalBytesSent () |
Returns the running total of bytes sent on the client transport. | |
boost::uint64_t | getRunningTotalBytesReceived () |
Returns the running total of bytes received on the client transport. | |
void | resetRunningTotals () |
Resets the bytes-sent and bytes-received running totals to zero. | |
Base class for all client transports.
void RCF::ClientTransport::setMaxIncomingMessageLength | ( | std::size_t | maxMessageLength | ) |
Sets maximum incoming message length. Incoming messages that are larger than this size will be dropped.