- java.lang.Object
-
- swim.io.mqtt.MqttEndpoint
-
- All Implemented Interfaces:
IpInterface
,IpStation
,MqttInterface
public class MqttEndpoint extends Object implements IpStation, MqttInterface
-
-
Field Summary
Fields Modifier and Type Field Description protected MqttSettings
mqttSettings
protected Station
station
-
Constructor Summary
Constructors Constructor Description MqttEndpoint(Stage stage)
MqttEndpoint(Stage stage, MqttSettings mqttSettings)
MqttEndpoint(Station station)
MqttEndpoint(Station station, MqttSettings mqttSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IpSettings
ipSettings()
MqttSettings
mqttSettings()
Stage
stage()
void
start()
Station
station()
void
stop()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface swim.io.IpInterface
bindTcp, bindTcp, bindTcp, bindTls, bindTls, bindTls, connectTcp, connectTcp, connectTcp, connectTcp, connectTcp, connectTcp, connectTcp, connectTls, connectTls, connectTls, connectTls, connectTls, connectTls, connectTls
-
Methods inherited from interface swim.io.IpStation
bindTcp, bindTls, connectTcp, connectTls
-
Methods inherited from interface swim.io.mqtt.MqttInterface
bindMqtt, bindMqtt, bindMqtt, bindMqtt, bindMqtts, bindMqtts, bindMqtts, bindMqtts, connectMqtt, connectMqtt, connectMqtt, connectMqtt, connectMqtts, connectMqtts, connectMqtts, connectMqtts
-
-
-
-
Field Detail
-
station
protected final Station station
-
mqttSettings
protected MqttSettings mqttSettings
-
-
Constructor Detail
-
MqttEndpoint
public MqttEndpoint(Station station, MqttSettings mqttSettings)
-
MqttEndpoint
public MqttEndpoint(Station station)
-
MqttEndpoint
public MqttEndpoint(Stage stage, MqttSettings mqttSettings)
-
MqttEndpoint
public MqttEndpoint(Stage stage)
-
-
Method Detail
-
stage
public final Stage stage()
-
ipSettings
public final IpSettings ipSettings()
- Specified by:
ipSettings
in interfaceIpInterface
-
mqttSettings
public final MqttSettings mqttSettings()
- Specified by:
mqttSettings
in interfaceMqttInterface
-
start
public void start()
-
stop
public void stop()
-
-