YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.yxc.YxcEventSource.Receiver Interface Reference

Called for every datagram on the thread of the source; must not block. More...

Collaboration diagram for de.yaacc.yxc.YxcEventSource.Receiver:
Collaboration graph

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)
 

Detailed Description

Called for every datagram on the thread of the source; must not block.

Member Function Documentation

◆ accepts()

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.


The documentation for this interface was generated from the following file: