NetServerHTTPProtocolSend Class Reference

#include <NetServerTCPProtocol.h>

Inheritance diagram for NetServerHTTPProtocolSend:

NetServerTCPProtocol

List of all members.

Public Member Functions

 NetServerHTTPProtocolSend ()
virtual ~NetServerHTTPProtocolSend ()
virtual bool sendBuffer (NetBuffer &buffer, TCPsocket socket, unsigned int id)
virtual NetMessagereadBuffer (TCPsocket socket, unsigned int id)


Detailed Description

Definition at line 46 of file NetServerTCPProtocol.h.


Constructor & Destructor Documentation

NetServerHTTPProtocolSend::NetServerHTTPProtocolSend (  ) 

Definition at line 148 of file NetServerTCPProtocol.cpp.

NetServerHTTPProtocolSend::~NetServerHTTPProtocolSend (  )  [virtual]

Definition at line 152 of file NetServerTCPProtocol.cpp.


Member Function Documentation

bool NetServerHTTPProtocolSend::sendBuffer ( NetBuffer buffer,
TCPsocket  socket,
unsigned int  id 
) [virtual]

Implements NetServerTCPProtocol.

Definition at line 156 of file NetServerTCPProtocol.cpp.

References S3D::formatStringBuffer(), NetBuffer::getBuffer(), NetBuffer::getBufferUsed(), NetInterface::getBytesOut(), and Logger::log().

NetMessage * NetServerHTTPProtocolSend::readBuffer ( TCPsocket  socket,
unsigned int  id 
) [virtual]

Implements NetServerTCPProtocol.

Definition at line 174 of file NetServerTCPProtocol.cpp.

References NetBuffer::addDataToBuffer(), NetMessagePool::addToPool(), NetMessage::BufferMessage, NetMessage::getBuffer(), NetInterface::getBytesIn(), NetServerTCPRead::getIpAddressFromSocket(), NetMessagePool::instance(), and NetBuffer::reset().


The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:04 2009 for Scorched3D by  doxygen 1.5.3