public interface IncomingListener extends ExchangeListener
BleServer.setListener_Incoming(IncomingListener)
.
The return value of onEvent(IncomingEvent)
is used to decide if/how to respond to a given IncomingListener.IncomingEvent
.Modifier and Type | Interface and Description |
---|---|
static class |
IncomingListener.IncomingEvent
Struct passed to
onEvent(IncomingEvent) } that provides details about the client and what it wants from us, the server. |
static class |
IncomingListener.Please
Struct returned from
onEvent(IncomingEvent) . |
ExchangeListener.ExchangeEvent, ExchangeListener.Target, ExchangeListener.Type
Modifier and Type | Method and Description |
---|---|
IncomingListener.Please |
onEvent(IncomingListener.IncomingEvent e)
Called when a read or write from the client is requested.
|
IncomingListener.Please onEvent(IncomingListener.IncomingEvent e)