public class WindTalker extends Object
Modifier and Type | Method and Description |
---|---|
cn.leancloud.command.CommandPacket |
assembleLiveQueryLoginPacket(String subscriptionId,
int requestId) |
cn.leancloud.command.CommandPacket |
assemblePushAckPacket(String installationId,
List<String> messageIds) |
cn.leancloud.command.CommandPacket |
assembleSessionOpenPacket(String deviceId,
String clientId,
String tag,
Signature signature,
long lastNotifyTime,
long lastPatchTime,
boolean reConnect,
int requestId) |
cn.leancloud.command.CommandPacket |
assembleSessionOpenPacket(String deviceId,
String clientId,
String tag,
String sessionToken,
long lastNotifyTime,
long lastPatchTime,
boolean reConnect,
Integer requestId) |
cn.leancloud.command.CommandPacket |
assembleSessionPacket(String deviceId,
String selfId,
List<String> peers,
String op,
Signature signature,
Integer requestId) |
cn.leancloud.Messages.GenericCommand |
disassemblePacket(ByteBuffer bytes) |
static WindTalker |
getInstance() |
static int |
getNextIMRequestId() |
public static WindTalker getInstance()
public static int getNextIMRequestId()
public cn.leancloud.command.CommandPacket assembleSessionOpenPacket(String deviceId, String clientId, String tag, String sessionToken, long lastNotifyTime, long lastPatchTime, boolean reConnect, Integer requestId)
public cn.leancloud.command.CommandPacket assembleSessionOpenPacket(String deviceId, String clientId, String tag, Signature signature, long lastNotifyTime, long lastPatchTime, boolean reConnect, int requestId)
public cn.leancloud.command.CommandPacket assembleSessionPacket(String deviceId, String selfId, List<String> peers, String op, Signature signature, Integer requestId)
public cn.leancloud.command.CommandPacket assemblePushAckPacket(String installationId, List<String> messageIds)
public cn.leancloud.command.CommandPacket assembleLiveQueryLoginPacket(String subscriptionId, int requestId)
public cn.leancloud.Messages.GenericCommand disassemblePacket(ByteBuffer bytes)
Copyright © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.