public class XmppSessionMessage
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.Number |
KO |
static java.lang.Number |
OK |
Constructor and Description |
---|
XmppSessionMessage() |
Modifier and Type | Method and Description |
---|---|
static io.vertx.core.json.JsonObject |
blinkNotification() |
static io.vertx.core.json.JsonObject |
chatCreationFailed() |
static io.vertx.core.json.JsonObject |
chatCreationOk(org.jivesoftware.smack.Chat chat) |
static io.vertx.core.json.JsonObject |
error(java.lang.String message) |
static java.lang.Object |
errorMessage(java.lang.String thread,
java.lang.String message) |
static io.vertx.core.json.JsonObject |
markAllAsRead() |
static io.vertx.core.json.JsonObject |
message(java.lang.String thread,
java.lang.String from,
java.lang.String message) |
static io.vertx.core.json.JsonObject |
messageNotification(java.lang.String thread,
java.lang.String from,
java.lang.String pic,
java.lang.String message) |
static io.vertx.core.json.JsonObject |
mucCreationFailed(java.lang.String message) |
static io.vertx.core.json.JsonObject |
mucCreationOk(java.lang.String roomName) |
static io.vertx.core.json.JsonObject |
mucInvitation(java.lang.String room,
java.lang.String inviter,
java.lang.String reason) |
static io.vertx.core.json.JsonObject |
mucInvitationNotification(java.lang.String room,
java.lang.String inviter,
java.lang.String pic,
java.lang.String reason) |
static io.vertx.core.json.JsonObject |
mucJoinOk() |
static io.vertx.core.json.JsonObject |
ok() |
static java.lang.String |
parseJabberId(java.lang.String jabberId)
Fetch localpart from jabberId localpart/resource
|
static io.vertx.core.json.JsonObject |
ping() |
static io.vertx.core.json.JsonObject |
presence(org.jivesoftware.smack.packet.Presence.Type type,
java.lang.String status,
org.jivesoftware.smack.packet.Presence.Mode mode) |
static io.vertx.core.json.JsonObject |
sessionAuthenticationFailed() |
static io.vertx.core.json.JsonObject |
sessionConnectionFailed() |
static io.vertx.core.json.JsonObject |
sessionOk() |
public static io.vertx.core.json.JsonObject sessionOk()
public static io.vertx.core.json.JsonObject sessionConnectionFailed()
public static io.vertx.core.json.JsonObject sessionAuthenticationFailed()
public static io.vertx.core.json.JsonObject presence(org.jivesoftware.smack.packet.Presence.Type type, java.lang.String status, org.jivesoftware.smack.packet.Presence.Mode mode)
public static io.vertx.core.json.JsonObject chatCreationOk(org.jivesoftware.smack.Chat chat)
public static io.vertx.core.json.JsonObject chatCreationFailed()
public static io.vertx.core.json.JsonObject message(java.lang.String thread, java.lang.String from, java.lang.String message)
public static io.vertx.core.json.JsonObject messageNotification(java.lang.String thread, java.lang.String from, java.lang.String pic, java.lang.String message)
public static io.vertx.core.json.JsonObject blinkNotification()
public static io.vertx.core.json.JsonObject mucCreationOk(java.lang.String roomName)
public static io.vertx.core.json.JsonObject mucCreationFailed(java.lang.String message)
public static io.vertx.core.json.JsonObject mucInvitation(java.lang.String room, java.lang.String inviter, java.lang.String reason)
public static io.vertx.core.json.JsonObject mucInvitationNotification(java.lang.String room, java.lang.String inviter, java.lang.String pic, java.lang.String reason)
public static io.vertx.core.json.JsonObject mucJoinOk()
public static io.vertx.core.json.JsonObject ok()
public static io.vertx.core.json.JsonObject error(java.lang.String message)
public static io.vertx.core.json.JsonObject ping()
public static io.vertx.core.json.JsonObject markAllAsRead()
public static java.lang.String parseJabberId(java.lang.String jabberId)
jabberId
- public static java.lang.Object errorMessage(java.lang.String thread, java.lang.String message)
Copyright © 2021. All Rights Reserved.