Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

# UDPBroadcastHandler Class Reference

`#include <UDPBroadcastHandler.h>`

Inheritance diagram for UDPBroadcastHandler:

[legend]
Collaboration diagram for UDPBroadcastHandler:

[legend]
List of all members.

## Public Member Functions
| UDPBroadcastHandler ()
void | start (NetReceiverBase &theReceiver, int port)
virtual void | onReceive (void *data, int size)
| Called when new data arrives.
## Private Attributes
NetReceiverBase * | receiver

## Constructor & Destructor Documentation

UDPBroadcastHandler::UDPBroadcastHandler | ( |  | ) |

| Definition at line 15 of file UDPBroadcastHandler.cpp.

## Member Function Documentation

void UDPBroadcastHandler::start | ( | NetReceiverBase & | theReceiver,
|  | int | port
| ) |

| Definition at line 21 of file UDPBroadcastHandler.cpp. References UDPEndpoint::bind().

Here is the call graph for this function:

void UDPBroadcastHandler::onReceive | ( | void * | data,
|  | int | size
| ) | `[virtual]`

| Called when new data arrives. Reimplemented from UDPEndpoint. Definition at line 27 of file UDPBroadcastHandler.cpp. References NetReceiverBase::onReceive(), NetReceiverBase::package, and NetReceiverBase::size.

Here is the call graph for this function:

## Member Data Documentation

NetReceiverBase* UDPBroadcastHandler::receiver`[private]`

| Definition at line 30 of file UDPBroadcastHandler.h.

The documentation for this class was generated from the following files:

- Platform/Aperios1.3.2/UDPBroadcastHandler.h
- Platform/Aperios1.3.2/UDPBroadcastHandler.cpp