ArNetPacketSenderTcp Class Reference

#include <ArNetPacketSenderTcp.h>

List of all members.

Public Member Functions

 ArNetPacketSenderTcp ()
 Constructor.
ArSocketgetSocket (void)
 Gets the socket this sender uses.
bool sendData (void)
 Tries to send the data there is to be sent.
void sendPacket (ArNetPacket *packet, const char *loggingString="")
 Sends a packet.
void setBackupTimeout (double connectionTimeoutInMins)
 Sets the connection timeout.
void setDebugLogging (bool debugLogging)
 Sets debug logging.
void setLoggingPrefix (const char *prefix)
 Sets the logging prefix.
void setSocket (ArSocket *socket)
 Sets the socket this sender uses.
 ~ArNetPacketSenderTcp ()
 Destructor.

Protected Attributes

int myAlreadySent
double myBackupTimeout
const char * myBuf
ArMutex myDataMutex
bool myDebugLogging
ArTime myLastGoodSend
int myLength
std::string myLoggingPrefix
ArNetPacketmyPacket
std::list< ArNetPacket * > myPacketList
ArSocketmySocket
ArLog::LogLevel myVerboseLogLevel


Constructor & Destructor Documentation

ArNetPacketSenderTcp::ArNetPacketSenderTcp (  ) 

Constructor.

ArNetPacketSenderTcp::~ArNetPacketSenderTcp (  ) 

Destructor.


Member Function Documentation

ArSocket * ArNetPacketSenderTcp::getSocket ( void   ) 

Gets the socket this sender uses.

bool ArNetPacketSenderTcp::sendData ( void   ) 

Tries to send the data there is to be sent.

void ArNetPacketSenderTcp::sendPacket ( ArNetPacket packet,
const char *  loggingString = "" 
)

Sends a packet.

void ArNetPacketSenderTcp::setBackupTimeout ( double  connectionTimeoutInMins  ) 

Sets the connection timeout.

void ArNetPacketSenderTcp::setDebugLogging ( bool  debugLogging  ) 

Sets debug logging.

void ArNetPacketSenderTcp::setLoggingPrefix ( const char *  prefix  ) 

Sets the logging prefix.

void ArNetPacketSenderTcp::setSocket ( ArSocket socket  ) 

Sets the socket this sender uses.

Parameters:
socket the socket to use for receiving data


Member Data Documentation

int ArNetPacketSenderTcp::myAlreadySent [protected]

double ArNetPacketSenderTcp::myBackupTimeout [protected]

const char* ArNetPacketSenderTcp::myBuf [protected]

ArMutex ArNetPacketSenderTcp::myDataMutex [protected]

bool ArNetPacketSenderTcp::myDebugLogging [protected]

ArTime ArNetPacketSenderTcp::myLastGoodSend [protected]

int ArNetPacketSenderTcp::myLength [protected]

std::string ArNetPacketSenderTcp::myLoggingPrefix [protected]

ArNetPacket* ArNetPacketSenderTcp::myPacket [protected]

std::list<ArNetPacket *> ArNetPacketSenderTcp::myPacketList [protected]

ArSocket* ArNetPacketSenderTcp::mySocket [protected]

ArLog::LogLevel ArNetPacketSenderTcp::myVerboseLogLevel [protected]


The documentation for this class was generated from the following files:
Generated on Fri Jul 31 12:37:29 2009 for ArNetworking by  doxygen 1.4.7