#include <NetReceiver.h>
Inheritance diagram for NetReceiverBase:

Public Member Functions | |
| NetReceiverBase () | |
| ~NetReceiverBase () | |
| virtual void | onReceive ()=0 |
| bool | receivedNew () |
| void * | getPackage (int newsize) |
| gets memory for the NetHandler to store the data the NetReceiver then calls the streaming-operator for this data. | |
| void | freePackage () |
| frees the memory allocated by getPackage | |
Public Attributes | |
| bool | receivedNewPackage |
| void * | package |
| int | size |
Definition at line 17 of file NetReceiver.h.
|
|
Definition at line 20 of file NetReceiver.h. |
|
|
Definition at line 27 of file NetReceiver.h. References freePackage(). |
Here is the call graph for this function:

|
|
Implemented in NetReceiver< T >. Referenced by UDPHandlerEndpoint::onReceive(), UDPBroadcastHandler::onReceive(), and TCPHandler::onReceive(). |
|
|
Definition at line 34 of file NetReceiver.h. References receivedNewPackage. |
|
|
gets memory for the NetHandler to store the data the NetReceiver then calls the streaming-operator for this data.
Definition at line 46 of file NetReceiver.h. References ASSERT. Referenced by UDPHandler::addSenderAndReceiver(), UDPHandlerEndpoint::onReceive(), TCPHandler::onReceive(), and TCPHandler::TCPHandler(). |
|
|
frees the memory allocated by getPackage
Definition at line 62 of file NetReceiver.h. Referenced by ~NetReceiverBase(). |
|
|
Definition at line 71 of file NetReceiver.h. Referenced by receivedNew(). |
|
|
Definition at line 72 of file NetReceiver.h. Referenced by UDPHandlerEndpoint::onReceive(), and UDPBroadcastHandler::onReceive(). |
|
|
Definition at line 73 of file NetReceiver.h. Referenced by UDPBroadcastHandler::onReceive(). |
1.3.6