Package | Description |
---|---|
org.eclipse.paho.mqtt.ui.core.event | |
org.eclipse.paho.mqtt.ui.core.event.internal |
Modifier and Type | Method and Description |
---|---|
Selector |
Event.getSelector() |
static Selector |
Selector.ofAllResponses(Connection connection)
Receive all ofXxxed events
|
static Selector |
Selector.ofConnect()
Send all ofXxxed events
|
static Selector |
Selector.ofConnected(Connection connection) |
static Selector |
Selector.ofConnectFailed(Connection connection) |
static Selector |
Selector.ofConnectionLost(Connection connection) |
static Selector |
Selector.ofDisconnect() |
static Selector |
Selector.ofDisconnected(Connection connection) |
static Selector |
Selector.ofDisconnectFailed(Connection connection) |
static Selector |
Selector.ofNewConnection() |
static Selector |
Selector.ofPublish() |
static Selector |
Selector.ofPublished(Connection connection) |
static Selector |
Selector.ofPublishedFailed(Connection connection) |
static Selector |
Selector.ofReceived(Connection connection) |
static Selector |
Selector.ofRenameConnection(Connection connection) |
static Selector |
Selector.ofSubscribe() |
static Selector |
Selector.ofSubscribed(Connection connection) |
static Selector |
Selector.ofSubscribeFailed(Connection connection) |
static Selector |
Selector.ofUnsubscribe() |
static Selector |
Selector.ofUnsubscribed(Connection connection) |
static Selector |
Selector.ofUnsubscribeFailed(Connection connection) |
Modifier and Type | Method and Description |
---|---|
static <T> Event<T> |
Events.of(Selector selector)
Create a event with given selector without any data
|
static <T> Event<T> |
Events.of(Selector selector,
T data)
Create a event with given selector and data
|
<T> IRegistration |
IEventService.registerHandler(Selector selector,
IEventHandler<T> handler)
Register a event handler that only receive event when matches the selector
|
Constructor and Description |
---|
Event(Selector selector) |
Event(Selector selector,
T data) |
Modifier and Type | Method and Description |
---|---|
<T> IRegistration |
EventService.registerHandler(Selector selector,
IEventHandler<T> handler) |
Copyright © 2016 Eclipse Paho. All rights reserved.