public class MqttLink
extends org.ardulink.core.AbstractListenerLink
v2.1.1 Gordio - SERVICE PACK 1
project Ardulink http://www.ardulink.org/Constructor and Description |
---|
MqttLink(MqttLinkConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
long |
sendCustomMessage(java.lang.String... messages) |
long |
sendKeyPressEvent(char keychar,
int keycode,
int keylocation,
int keymodifiers,
int keymodifiersex) |
long |
sendNoTone(org.ardulink.core.Pin.AnalogPin analogPin) |
long |
sendTone(org.ardulink.core.Tone tone) |
long |
startListening(org.ardulink.core.Pin pin) |
long |
stopListening(org.ardulink.core.Pin pin) |
long |
switchAnalogPin(org.ardulink.core.Pin.AnalogPin analogPin,
int value) |
long |
switchDigitalPin(org.ardulink.core.Pin.DigitalPin digitalPin,
boolean value) |
addConnectionListener, addCustomListener, addListener, addRplyListener, deregisterAllEventListeners, fireConnectionLost, fireCustomReceived, fireReconnected, fireReplyReceived, fireStateChanged, fireStateChanged, hasRplyListeners, removeConnectionListener, removeCustomListener, removeListener, removeRplyListener
public MqttLink(MqttLinkConfig config) throws java.io.IOException
java.io.IOException
public long startListening(org.ardulink.core.Pin pin) throws java.io.IOException
java.io.IOException
public long stopListening(org.ardulink.core.Pin pin) throws java.io.IOException
java.io.IOException
public long switchAnalogPin(org.ardulink.core.Pin.AnalogPin analogPin, int value) throws java.io.IOException
java.io.IOException
public long switchDigitalPin(org.ardulink.core.Pin.DigitalPin digitalPin, boolean value) throws java.io.IOException
java.io.IOException
public long sendKeyPressEvent(char keychar, int keycode, int keylocation, int keymodifiers, int keymodifiersex) throws java.io.IOException
java.io.IOException
public long sendTone(org.ardulink.core.Tone tone) throws java.io.IOException
java.io.IOException
public long sendNoTone(org.ardulink.core.Pin.AnalogPin analogPin) throws java.io.IOException
java.io.IOException
public long sendCustomMessage(java.lang.String... messages) throws java.io.IOException
java.io.IOException
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class org.ardulink.core.AbstractListenerLink
Copyright © 2019. All rights reserved.