![JAR search and dependency download from the Maven repository](/logo.png)
org.jivesoftware.smack.bosh.EceStatusEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of smack-ece Show documentation
Show all versions of smack-ece Show documentation
Library to connect to Cisco Enterprise Chat and Email (ECE) chat interface which is a modified version of XMPP over BOSH standard.
The newest version!
package org.jivesoftware.smack.bosh;
public enum EceStatusEvent {
CHAT_STARTED('-'),
CHAT_CLOSED('_');
private char token;
EceStatusEvent(char token) {
this.token = token;
}
public static EceStatusEvent extract(String msgBody) {
for (EceStatusEvent v : values()) {
if (v.getToken() == msgBody.charAt(0)) {
return v;
}
}
return null;
}
public char getToken() {
return token;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy