Index

A B C D E F G M P S U W 
All Classes and Interfaces|All Packages

A

add(File) - Method in class de.poiu.coat.example.AppConfigBuilder
Add the config entries from the given file to the built AppConfig.
add(File) - Method in class de.poiu.coat.example.MqttConfigBuilder
Add the config entries from the given file to the built MqttConfig.
add(Map<String, String>) - Method in class de.poiu.coat.example.AppConfigBuilder
Add the config entries from the given Map to the built AppConfig.
add(Map<String, String>) - Method in class de.poiu.coat.example.MqttConfigBuilder
Add the config entries from the given Map to the built MqttConfig.
add(Properties) - Method in class de.poiu.coat.example.AppConfigBuilder
Add the config entries from the given Properties to the built AppConfig.
add(Properties) - Method in class de.poiu.coat.example.MqttConfigBuilder
Add the config entries from the given Properties to the built MqttConfig.
addEnvVars() - Method in class de.poiu.coat.example.AppConfigBuilder
Add the config entries from the current environment variables to the built AppConfig.
addEnvVars() - Method in class de.poiu.coat.example.MqttConfigBuilder
Add the config entries from the current environment variables to the built MqttConfig.
AppConfig - Interface in de.poiu.coat.example
Main configuration for the example application.
AppConfigBuilder - Class in de.poiu.coat.example
Builder class for creating new AppConfig instances.

B

build() - Method in class de.poiu.coat.example.AppConfigBuilder
Build a new AppConfig with the config keys from this Builder.
build() - Method in class de.poiu.coat.example.MqttConfigBuilder
Build a new MqttConfig with the config keys from this Builder.

C

connect() - Method in class de.poiu.coat.example.mqtt.DummyMqttClient
Connect to the MQTT broker.
create() - Static method in class de.poiu.coat.example.AppConfigBuilder
Create a builder for AppConfig instances.
create() - Static method in class de.poiu.coat.example.MqttConfigBuilder
Create a builder for MqttConfig instances.

D

de.poiu.coat.example - module de.poiu.coat.example
 
de.poiu.coat.example - package de.poiu.coat.example
 
de.poiu.coat.example.mqtt - package de.poiu.coat.example.mqtt
 
DummyMqttClient - Class in de.poiu.coat.example.mqtt
A dummy MQTT client for demonstration purposes.
DummyMqttClient(List<InetAddress>, int) - Constructor for class de.poiu.coat.example.mqtt.DummyMqttClient
Create a new DummyMqttClient that connects to the specified address(es) and port.

E

ExampleApp - Class in de.poiu.coat.example
A very simple example app to demonstrate the usage of Coat.
ExampleApp() - Constructor for class de.poiu.coat.example.ExampleApp
 

F

from(File) - Static method in class de.poiu.coat.example.AppConfigBuilder
Create a new AppConfig from the given config file.
from(File) - Static method in class de.poiu.coat.example.MqttConfigBuilder
Create a new MqttConfig from the given config file.
from(Map<String, String>) - Static method in class de.poiu.coat.example.AppConfigBuilder
Create a new AppConfig from the given config entries.
from(Map<String, String>) - Static method in class de.poiu.coat.example.MqttConfigBuilder
Create a new MqttConfig from the given config entries.
from(Properties) - Static method in class de.poiu.coat.example.AppConfigBuilder
Create a new AppConfig from the given config entries.
from(Properties) - Static method in class de.poiu.coat.example.MqttConfigBuilder
Create a new MqttConfig from the given config entries.
fromEnvVars() - Static method in class de.poiu.coat.example.AppConfigBuilder
Create a new AppConfig from the current environment variables.
fromEnvVars() - Static method in class de.poiu.coat.example.MqttConfigBuilder
Create a new MqttConfig from the current environment variables.

G

getBrokerAddresses() - Method in interface de.poiu.coat.example.MqttConfig
The address(es) of the MQTT broker.
getClientId() - Method in interface de.poiu.coat.example.MqttConfig
The clientId to send to the MQTT broker.
getDescription() - Method in interface de.poiu.coat.example.AppConfig
A short description of the purpose of this application.
getListenAddress() - Method in interface de.poiu.coat.example.AppConfig
The interfaces to listen on for incoming connections.
getListenPort() - Method in interface de.poiu.coat.example.AppConfig
The port to listen on for incoming connections.
getName() - Method in interface de.poiu.coat.example.AppConfig
A shorthand name for this application.
getPort() - Method in interface de.poiu.coat.example.MqttConfig
The port to communicate with the MQTT broker.

M

main(String[]) - Static method in class de.poiu.coat.example.ExampleApp
 
mqtt() - Method in interface de.poiu.coat.example.AppConfig
The configuration for the MQTT connection
MqttConfig - Interface in de.poiu.coat.example
MQTT Client configuration
MqttConfigBuilder - Class in de.poiu.coat.example
Builder class for creating new MqttConfig instances.

P

password() - Method in interface de.poiu.coat.example.MqttConfig
The password to connect to the MQTT broker.

S

setClientId(String) - Method in class de.poiu.coat.example.mqtt.DummyMqttClient
Set a custom client ID for connecting to the MQTT broker.
setPassword(String) - Method in class de.poiu.coat.example.mqtt.DummyMqttClient
Set the password to connect to the MQTT broker.
setUsername(String) - Method in class de.poiu.coat.example.mqtt.DummyMqttClient
Set the username to connect to the MQTT broker.

U

username() - Method in interface de.poiu.coat.example.MqttConfig
The username to connect to the MQTT broker.

W

writeExampleConfig(Writer) - Static method in class de.poiu.coat.example.AppConfigBuilder
Write an example config file to the given Writer.
writeExampleConfig(Writer) - Static method in class de.poiu.coat.example.MqttConfigBuilder
Write an example config file to the given Writer.
A B C D E F G M P S U W 
All Classes and Interfaces|All Packages