iso::com::TCPClientConnection2 Class Reference

#include <iso_com_tcp_receiver_protocol.h>

Collaboration diagram for iso::com::TCPClientConnection2:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TCPClientConnection2 (int pClientSocket, const struct sockaddr_in &pClientAddress, unsigned int pMaxPacketSize)
 ~TCPClientConnection2 ()
bool bufferAvailable () const
void removeAvailableBuffer ()
const ByteBufferbuffer () const throw (ComException)
void receive (const MessageParser &pParser) throw (ComException)

Protected Attributes

TCPReceiverProtocolmReceiverProtocol
const MessageParsermParser
int mSocket
sockaddr_in mAddress
 client socket
bool mConnected
 client address
char * mReceiveBuffer
PendingByteBuffermPendingBuffer
ByteBuffermAvailableBuffer
 pending buffer
unsigned int mMaxPacketSize
 available buffer
QMutex mLock

Constructor & Destructor Documentation

TCPClientConnection2::TCPClientConnection2 ( int  pClientSocket,
const struct sockaddr_in &  pClientAddress,
unsigned int  pMaxPacketSize 
)

TCPClientConnection2::~TCPClientConnection2 (  ) 


Member Function Documentation

bool TCPClientConnection2::bufferAvailable (  )  const

void TCPClientConnection2::removeAvailableBuffer (  ) 

const ByteBuffer & TCPClientConnection2::buffer (  )  const throw (ComException)

void TCPClientConnection2::receive ( const MessageParser pParser  )  throw (ComException)


Member Data Documentation

TCPReceiverProtocol* iso::com::TCPClientConnection2::mReceiverProtocol [protected]

const MessageParser* iso::com::TCPClientConnection2::mParser [protected]

int iso::com::TCPClientConnection2::mSocket [protected]

struct sockaddr_in iso::com::TCPClientConnection2::mAddress [protected]

client socket

bool iso::com::TCPClientConnection2::mConnected [protected]

client address

char* iso::com::TCPClientConnection2::mReceiveBuffer [protected]

PendingByteBuffer* iso::com::TCPClientConnection2::mPendingBuffer [protected]

ByteBuffer* iso::com::TCPClientConnection2::mAvailableBuffer [protected]

pending buffer

unsigned int iso::com::TCPClientConnection2::mMaxPacketSize [protected]

available buffer

QMutex iso::com::TCPClientConnection2::mLock [protected]


The documentation for this class was generated from the following files:
Generated on Fri Feb 25 13:53:12 2011 for iso_com by  doxygen 1.5.1