Package | Description |
---|---|
ej.aws.iot | |
ej.aws.iot.pubsub |
Modifier and Type | Method and Description |
---|---|
void |
Thing.addListener(java.lang.String topic,
TopicListener listener)
Adds a listener on a specified topic.
|
void |
Thing.connect()
Connect the Thing to AWS IoT.
|
void |
Thing.disconnect()
Disconnect the Thing from AWS IoT.
|
void |
Thing.publish(java.lang.String topic,
byte[] data)
Publishes a message on a desired topic.
|
Modifier and Type | Method and Description |
---|---|
void |
Client.addTopicListener(java.lang.String topic,
TopicListener listener)
Adds a topic listener on a topic.
|
void |
Client.connect(ConnectOptions connectOptions)
Use the connection options to open a connection to the AWS IoT services.
|
void |
Client.disconnect()
Disconnect this client from the underlying communication layer.
|
void |
Client.publish(java.lang.String topic,
byte[] data)
Publishes a message on a topic.
|
void |
Client.subscribe(java.lang.String topic)
Subscribe to a topic.
|
void |
Client.unsubscribe(java.lang.String topic)
Unsubscribe from a topic.
|