| Package | Description |
|---|---|
| org.eclipse.kapua.kura.simulator | |
| org.eclipse.kapua.kura.simulator.app | |
| org.eclipse.kapua.kura.simulator.payload | |
| org.eclipse.kapua.kura.simulator.topic |
| Modifier and Type | Method and Description |
|---|---|
void |
Transport.sendMessage(Topic topic,
byte[] payload)
Send a message to a topic
|
void |
MqttSimulatorTransport.sendMessage(Topic topic,
byte[] payload) |
default void |
Transport.sendMessage(Topic topic,
Map<String,Object> metrics)
Deprecated.
|
void |
Transport.subscribe(Topic topic,
java.util.function.Consumer<Message> consumer)
Subscribe to a topic or topic pattern
|
void |
MqttSimulatorTransport.subscribe(Topic topic,
java.util.function.Consumer<Message> consumer) |
void |
Transport.unsubscribe(Topic topic)
Unsubscribe from a topic or topic pattern
|
void |
MqttSimulatorTransport.unsubscribe(Topic topic) |
| Modifier and Type | Method and Description |
|---|---|
void |
ApplicationContext.sendMessage(Topic topic,
byte[] payload) |
static Sender |
Sender.transportSender(Topic topic,
Transport transport) |
| Modifier and Type | Method and Description |
|---|---|
Topic |
Message.getTopic() |
| Modifier and Type | Method and Description |
|---|---|
Message |
Message.localize(Topic topic) |
Message |
Message.localize(Topic topic,
Map<String,String> topicContext) |
| Constructor and Description |
|---|
Message(Topic topic,
byte[] payload) |
Message(Topic topic,
byte[] payload,
Map<String,String> topicContext) |
| Modifier and Type | Method and Description |
|---|---|
Topic |
Topic.append(Topic.Segment segment) |
static Topic |
Topic.application(String application) |
Topic |
Topic.attach(String key,
String value)
Attach information to the local topic context
|
Topic |
Topic.attachAll(Map<String,String> topicContext) |
static Topic |
Topic.device(String localTopic) |
static Topic |
Topic.from(List<Topic.Segment> segments) |
static Topic |
Topic.fromString(String topic) |
Topic |
Topic.localize(Topic otherTopic) |
Topic |
Topic.localize(Topic otherTopic,
Map<String,String> topicContext) |
static Topic |
Topic.notify(String requesterClientId,
String... resource) |
static Topic |
Topic.reply(String requesterClientId,
String requestId) |
| Modifier and Type | Method and Description |
|---|---|
Topic |
Topic.localize(Topic otherTopic) |
Topic |
Topic.localize(Topic otherTopic,
Map<String,String> topicContext) |
Copyright © 2017. All rights reserved.