public class MQTT
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
BlockingConnection |
blockingConnection() |
CallbackConnection |
callbackConnection() |
FutureConnection |
futureConnection() |
java.util.concurrent.Executor |
getBlockingExecutor() |
static java.util.concurrent.ThreadPoolExecutor |
getBlockingThreadPool() |
org.fusesource.hawtbuf.UTF8Buffer |
getClientId() |
long |
getConnectAttemptsMax() |
org.fusesource.hawtdispatch.DispatchQueue |
getDispatchQueue() |
java.net.URI |
getHost() |
short |
getKeepAlive() |
java.net.URI |
getLocalAddress() |
int |
getMaxReadRate() |
int |
getMaxWriteRate() |
org.fusesource.hawtbuf.UTF8Buffer |
getPassword() |
int |
getReceiveBufferSize() |
long |
getReconnectAttemptsMax() |
double |
getReconnectBackOffMultiplier() |
long |
getReconnectDelay() |
long |
getReconnectDelayMax() |
int |
getSendBufferSize() |
javax.net.ssl.SSLContext |
getSslContext() |
Tracer |
getTracer() |
int |
getTrafficClass() |
byte |
getType() |
org.fusesource.hawtbuf.UTF8Buffer |
getUserName() |
org.fusesource.hawtbuf.UTF8Buffer |
getWillMessage() |
QoS |
getWillQos() |
org.fusesource.hawtbuf.UTF8Buffer |
getWillTopic() |
boolean |
isCleanSession() |
boolean |
isUseLocalHost() |
boolean |
isWillRetain() |
void |
setBlockingExecutor(java.util.concurrent.Executor blockingExecutor) |
static void |
setBlockingThreadPool(java.util.concurrent.ThreadPoolExecutor pool) |
void |
setCleanSession(boolean cleanSession) |
void |
setClientId(java.lang.String clientId) |
void |
setClientId(org.fusesource.hawtbuf.UTF8Buffer clientId) |
void |
setConnectAttemptsMax(long connectAttemptsMax) |
void |
setDispatchQueue(org.fusesource.hawtdispatch.DispatchQueue dispatchQueue) |
void |
setHost(java.lang.String host) |
void |
setHost(java.lang.String host,
int port) |
void |
setHost(java.net.URI host) |
void |
setKeepAlive(short keepAlive) |
void |
setLocalAddress(java.lang.String localAddress) |
void |
setLocalAddress(java.net.URI localAddress) |
void |
setMaxReadRate(int maxReadRate) |
void |
setMaxWriteRate(int maxWriteRate) |
void |
setPassword(java.lang.String password) |
void |
setPassword(org.fusesource.hawtbuf.UTF8Buffer password) |
void |
setReceiveBufferSize(int receiveBufferSize) |
void |
setReconnectAttemptsMax(long reconnectAttemptsMax) |
void |
setReconnectBackOffMultiplier(double reconnectBackOffMultiplier) |
void |
setReconnectDelay(long reconnectDelay) |
void |
setReconnectDelayMax(long reconnectDelayMax) |
void |
setSendBufferSize(int sendBufferSize) |
void |
setSslContext(javax.net.ssl.SSLContext sslContext) |
void |
setTracer(Tracer tracer) |
void |
setTrafficClass(int trafficClass) |
void |
setUseLocalHost(boolean useLocalHost) |
void |
setUserName(java.lang.String userName) |
void |
setUserName(org.fusesource.hawtbuf.UTF8Buffer userName) |
void |
setWillMessage(java.lang.String willMessage) |
void |
setWillMessage(org.fusesource.hawtbuf.UTF8Buffer willMessage) |
void |
setWillQos(QoS willQos) |
void |
setWillRetain(boolean willRetain) |
void |
setWillTopic(java.lang.String willTopic) |
void |
setWillTopic(org.fusesource.hawtbuf.UTF8Buffer willTopic) |
public MQTT()
public MQTT(MQTT other)
public static java.util.concurrent.ThreadPoolExecutor getBlockingThreadPool()
public static void setBlockingThreadPool(java.util.concurrent.ThreadPoolExecutor pool)
public CallbackConnection callbackConnection()
public FutureConnection futureConnection()
public BlockingConnection blockingConnection()
public org.fusesource.hawtbuf.UTF8Buffer getClientId()
public short getKeepAlive()
public org.fusesource.hawtbuf.UTF8Buffer getPassword()
public byte getType()
public org.fusesource.hawtbuf.UTF8Buffer getUserName()
public org.fusesource.hawtbuf.UTF8Buffer getWillMessage()
public QoS getWillQos()
public org.fusesource.hawtbuf.UTF8Buffer getWillTopic()
public boolean isCleanSession()
public boolean isWillRetain()
public void setCleanSession(boolean cleanSession)
public void setClientId(java.lang.String clientId)
public void setClientId(org.fusesource.hawtbuf.UTF8Buffer clientId)
public void setKeepAlive(short keepAlive)
public void setPassword(java.lang.String password)
public void setPassword(org.fusesource.hawtbuf.UTF8Buffer password)
public void setUserName(java.lang.String userName)
public void setUserName(org.fusesource.hawtbuf.UTF8Buffer userName)
public void setWillMessage(java.lang.String willMessage)
public void setWillMessage(org.fusesource.hawtbuf.UTF8Buffer willMessage)
public void setWillQos(QoS willQos)
public void setWillRetain(boolean willRetain)
public void setWillTopic(java.lang.String willTopic)
public void setWillTopic(org.fusesource.hawtbuf.UTF8Buffer willTopic)
public java.util.concurrent.Executor getBlockingExecutor()
public void setBlockingExecutor(java.util.concurrent.Executor blockingExecutor)
public org.fusesource.hawtdispatch.DispatchQueue getDispatchQueue()
public void setDispatchQueue(org.fusesource.hawtdispatch.DispatchQueue dispatchQueue)
public java.net.URI getLocalAddress()
public void setLocalAddress(java.lang.String localAddress) throws java.net.URISyntaxException
java.net.URISyntaxException
public void setLocalAddress(java.net.URI localAddress)
public int getMaxReadRate()
public void setMaxReadRate(int maxReadRate)
public int getMaxWriteRate()
public void setMaxWriteRate(int maxWriteRate)
public int getReceiveBufferSize()
public void setReceiveBufferSize(int receiveBufferSize)
public java.net.URI getHost()
public void setHost(java.lang.String host, int port) throws java.net.URISyntaxException
java.net.URISyntaxException
public void setHost(java.lang.String host) throws java.net.URISyntaxException
java.net.URISyntaxException
public void setHost(java.net.URI host)
public int getSendBufferSize()
public void setSendBufferSize(int sendBufferSize)
public javax.net.ssl.SSLContext getSslContext()
public void setSslContext(javax.net.ssl.SSLContext sslContext)
public int getTrafficClass()
public void setTrafficClass(int trafficClass)
public boolean isUseLocalHost()
public void setUseLocalHost(boolean useLocalHost)
public long getConnectAttemptsMax()
public void setConnectAttemptsMax(long connectAttemptsMax)
public long getReconnectAttemptsMax()
public void setReconnectAttemptsMax(long reconnectAttemptsMax)
public double getReconnectBackOffMultiplier()
public void setReconnectBackOffMultiplier(double reconnectBackOffMultiplier)
public long getReconnectDelay()
public void setReconnectDelay(long reconnectDelay)
public long getReconnectDelayMax()
public void setReconnectDelayMax(long reconnectDelayMax)
public Tracer getTracer()
public void setTracer(Tracer tracer)
Copyright © 2010-2013 FuseSource, Corp.. All Rights Reserved.