|
YAACC - UPNP Client and Server
|
Called for every datagram on the thread of the source; must not block. More...

Public Member Functions | |
| default boolean | accepts (InetAddress from) |
| Asked before a datagram is parsed: whether anything from this address can matter. | |
| void | onEvent (InetAddress from, YxcEvent event) |
Called for every datagram on the thread of the source; must not block.
| default boolean de.yaacc.yxc.YxcEventSource.Receiver.accepts | ( | InetAddress | from | ) |
Asked before a datagram is parsed: whether anything from this address can matter.
A datagram from anybody else is dropped without being read, so a stranger on the network costs no parsing.