Java 类org.eclipse.paho.client.mqttv3.internal.ClientComms 实例源码

项目:chii2mqtt    文件:Debug.java   
/**
 * Dump information that show the version of the MQTT client being used.
 */
protected void dumpVersion() {
    StringBuffer vInfo = new StringBuffer();
    vInfo.append(lineSep + separator + " Version Info " + separator + lineSep);
    vInfo.append(left("Version", 20, ' ') + ":  " + ClientComms.VERSION + lineSep);
    vInfo.append(left("Build Level", 20, ' ') + ":  " + ClientComms.BUILD_LEVEL + lineSep);
    vInfo.append(separator + separator + separator + lineSep);
    log.fine(className, "dumpVersion", vInfo.toString());
}
项目:hestia-engine-dev    文件:Debug.java   
/**
 * Dump information that show the version of the MQTT client being used.
 */
protected void dumpVersion() {
    StringBuffer vInfo = new StringBuffer();
    vInfo.append(lineSep+separator+" Version Info "+ separator+lineSep);
    vInfo.append(left("Version",20,' ') + ":  "+ ClientComms.VERSION + lineSep);
    vInfo.append(left("Build Level",20,' ') + ":  "+ ClientComms.BUILD_LEVEL + lineSep);
    vInfo.append(separator+separator+separator+lineSep);
    log.fine(CLASS_NAME,"dumpVersion", vInfo.toString());
}
项目:Sparkplug    文件:AlarmPingSender.java   
@Override
public void init(ClientComms comms) {
    this.comms = comms;
    this.alarmReceiver = new AlarmReceiver();
}
项目:Domo-Android    文件:MqttPingSender.java   
@Override
public void init(ClientComms comms) {
    this.comms = comms;
    this.alarmReceiver = new AlarmReceiver();
}
项目:droidblu    文件:AlarmPingSender.java   
@Override
public void init(ClientComms comms) {
    this.comms = comms;
    this.alarmReceiver = new AlarmReceiver();
}
项目:chii2mqtt    文件:MqttTopic.java   
public MqttTopic(String name, ClientComms comms) {
    this.comms = comms;
    this.name = name;
}
项目:SlimChat.Android    文件:AlarmPingSender.java   
@Override
public void init(ClientComms comms) {
    this.comms = comms;
    this.alarmReceiver = new AlarmReceiver();
}
项目:hestia-engine-dev    文件:TimerPingSender.java   
public void init(ClientComms comms) {
    if (comms == null) {
        throw new IllegalArgumentException("ClientComms cannot be null.");
    }
    this.comms = comms;
}
项目:hestia-engine-dev    文件:MqttTopic.java   
public MqttTopic(String name, ClientComms comms) {
    this.comms = comms;
    this.name = name;
}
项目:hestia-engine-dev    文件:Debug.java   
/**
 * Set the debug facility up for a specific client
 * @param clientID  the ID of the client being debugged
 * @param comms    the ClientComms object of the client being debugged
 */
public Debug(String clientID, ClientComms comms) {
    this.clientID = clientID;
    this.comms = comms;
    log.setResourceName(clientID);
}
项目:chii2mqtt    文件:Debug.java   
/**
 * Set the debug facility up for a specific client
 *
 * @param clientID the ID of the client being debugged
 * @param comms    the ClientComms object of the client being debugged
 */
public Debug(String clientID, ClientComms comms) {
    this.clientID = clientID;
    this.comms = comms;
    log.setResourceName(clientID);
}
项目:hestia-engine-dev    文件:MqttPingSender.java   
/**
 * Initial method. Pass interal state of current client in.
 * @param  The core of the client, which holds the state information for pending and in-flight messages.
 */
public void init(ClientComms comms);