Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
NetworkBuffer Class Reference#include <NetworkBuffer.h>
Detailed DescriptionThis is used to incrementally build up a buffer to be sent over the network , so that only one call to the socket write function needs to be made.Definition at line 7 of file NetworkBuffer.h.
Constructor & Destructor Documentation
do not call
Member Function Documentation
template<class T>
Template for adding a single item to the buffer, such as a struct or an int.
Definition at line 21 of file NetworkBuffer.h. Referenced by addBuffer(), EventProxy::processEvent(), RemoteRouter::sendRemoteRequest(), and EventProxy::sendState().
Template for adding a buffer such with a size to the network buffer.
Definition at line 31 of file NetworkBuffer.h. Referenced by EventProxy::processEvent(), and EventProxy::sendState().
Sends the buffer over the given socket.
Definition at line 46 of file NetworkBuffer.h. Referenced by EventProxy::processEvent(), RemoteRouter::sendRemoteRequest(), and EventProxy::sendState().
do not call
Member Data Documentation
the buffer being built
Definition at line 56 of file NetworkBuffer.h. Referenced by addBuffer(), addItem(), NetworkBuffer(), send(), and ~NetworkBuffer().
current position in buf
Definition at line 57 of file NetworkBuffer.h. Referenced by addBuffer(), addItem(), getSize(), and send().
size of memory region at buf
Definition at line 58 of file NetworkBuffer.h. Referenced by addBuffer(), addItem(), and NetworkBuffer().
The documentation for this class was generated from the following file: |
Tekkotsu v4.0 |
Generated Thu Nov 22 00:58:34 2007 by Doxygen 1.5.4 |