public class DirectlyOperationTube extends Object implements OperationTube
Constructor and Description |
---|
DirectlyOperationTube(boolean needCacheRequestKey) |
Modifier and Type | Method and Description |
---|---|
boolean |
closeClient(cn.leancloud.session.LCConnectionManager connectionManager,
String self,
LCIMClientCallback callback) |
boolean |
closeClientDirectly(cn.leancloud.session.LCConnectionManager connectionManager,
String self,
int requestId) |
boolean |
createConversation(cn.leancloud.session.LCConnectionManager connectionManager,
String self,
List<String> memberList,
Map<String,Object> attribute,
boolean isTransient,
boolean isUnique,
boolean isTemp,
int tempTTL,
LCIMCommonJsonCallback callback) |
boolean |
createConversationDirectly(cn.leancloud.session.LCConnectionManager connectionManager,
String self,
List<String> members,
Map<String,Object> attributes,
boolean isTransient,
boolean isUnique,
boolean isTemp,
int tempTTL,
int requestId) |
boolean |
fetchReceiptTimestamps(cn.leancloud.session.LCConnectionManager connectionManager,
String clientId,
String conversationId,
int convType,
Conversation.LCIMOperation operation,
LCIMCommonJsonCallback callback) |
boolean |
fetchReceiptTimestampsDirectly(cn.leancloud.session.LCConnectionManager connectionManager,
String clientId,
String conversationId,
int convType,
Conversation.LCIMOperation operation,
int requestId) |
boolean |
loginLiveQuery(cn.leancloud.session.LCConnectionManager connectionManager,
String subscriptionId,
LCLiveQuerySubscribeCallback callback) |
boolean |
loginLiveQueryDirectly(cn.leancloud.session.LCConnectionManager connectionManager,
String subscriptionId,
int requestId) |
boolean |
markConversationRead(cn.leancloud.session.LCConnectionManager connectionManager,
String clientId,
String conversationId,
int convType,
Map<String,Object> lastMessageParam) |
boolean |
markConversationReadDirectly(cn.leancloud.session.LCConnectionManager connectionManager,
String clientId,
String conversationId,
int convType,
Map<String,Object> lastMessageParam,
int requestId) |
void |
onLiveQueryCompleted(int requestId,
Throwable throwable) |
void |
onOperationCompleted(String clientId,
String conversationId,
int requestId,
Conversation.LCIMOperation operation,
Throwable throwable) |
void |
onOperationCompletedEx(String clientId,
String conversationId,
int requestId,
Conversation.LCIMOperation operation,
HashMap<String,Object> resultData) |
boolean |
openClient(cn.leancloud.session.LCConnectionManager connectionManager,
String clientId,
String tag,
String userSessionToken,
boolean reConnect,
LCIMClientCallback callback) |
boolean |
openClientDirectly(cn.leancloud.session.LCConnectionManager connectionManager,
String clientId,
String tag,
String userSessionToken,
boolean reConnect,
int requestId) |
boolean |
participateConversation(cn.leancloud.session.LCConnectionManager connectionManager,
String clientId,
String conversationId,
int convType,
Map<String,Object> param,
Conversation.LCIMOperation operation,
LCIMConversationCallback callback) |
boolean |
participateConversationDirectly(cn.leancloud.session.LCConnectionManager connectionManager,
String clientId,
String conversationId,
int convType,
Map<String,Object> param,
Conversation.LCIMOperation operation,
int requestId) |
boolean |
processMembers(cn.leancloud.session.LCConnectionManager connectionManager,
String clientId,
String conversationId,
int convType,
String params,
Conversation.LCIMOperation op,
LCCallback callback) |
boolean |
processMembersDirectly(cn.leancloud.session.LCConnectionManager connectionManager,
String clientId,
String conversationId,
int convType,
String params,
Conversation.LCIMOperation op,
int requestId) |
boolean |
queryClientStatus(cn.leancloud.session.LCConnectionManager connectionManager,
String clientId,
LCIMClientStatusCallback callback) |
boolean |
queryConversations(cn.leancloud.session.LCConnectionManager connectionManager,
String clientId,
String queryString,
LCIMCommonJsonCallback callback) |
boolean |
queryConversationsDirectly(cn.leancloud.session.LCConnectionManager connectionManager,
String clientId,
String queryString,
int requestId) |
boolean |
queryConversationsInternally(cn.leancloud.session.LCConnectionManager connectionManager,
String clientId,
String queryString,
LCIMCommonJsonCallback callback) |
boolean |
queryMessages(cn.leancloud.session.LCConnectionManager connectionManager,
String clientId,
String conversationId,
int convType,
String params,
Conversation.LCIMOperation operation,
LCIMMessagesQueryCallback callback) |
boolean |
queryMessagesDirectly(cn.leancloud.session.LCConnectionManager connectionManager,
String clientId,
String conversationId,
int convType,
String params,
Conversation.LCIMOperation operation,
int requestId) |
boolean |
queryOnlineClients(cn.leancloud.session.LCConnectionManager connectionManager,
String self,
List<String> clients,
LCIMOnlineClientsCallback callback) |
boolean |
queryOnlineClientsDirectly(cn.leancloud.session.LCConnectionManager connectionManager,
String self,
List<String> clients,
int requestId) |
boolean |
recallMessage(cn.leancloud.session.LCConnectionManager connectionManager,
String clientId,
int convType,
LCIMMessage message,
LCIMCommonJsonCallback callback) |
boolean |
recallMessageDirectly(cn.leancloud.session.LCConnectionManager connectionManager,
String clientId,
int convType,
LCIMMessage message,
int requestId) |
boolean |
renewSessionToken(cn.leancloud.session.LCConnectionManager connectionManager,
String clientId,
LCIMClientCallback callback) |
boolean |
renewSessionTokenDirectly(cn.leancloud.session.LCConnectionManager connectionManager,
String clientId,
int requestId) |
boolean |
sendMessage(cn.leancloud.session.LCConnectionManager connectionManager,
String clientId,
String conversationId,
int convType,
LCIMMessage message,
LCIMMessageOption messageOption,
LCIMCommonJsonCallback callback) |
boolean |
sendMessageDirectly(cn.leancloud.session.LCConnectionManager connectionManager,
String clientId,
String conversationId,
int convType,
LCIMMessage message,
LCIMMessageOption messageOption,
int requestId) |
boolean |
updateConversation(cn.leancloud.session.LCConnectionManager connectionManager,
String clientId,
String conversationId,
int convType,
Map<String,Object> param,
LCIMCommonJsonCallback callback) |
boolean |
updateConversationDirectly(cn.leancloud.session.LCConnectionManager connectionManager,
String clientId,
String conversationId,
int convType,
Map<String,Object> param,
int requestId) |
boolean |
updateMessage(cn.leancloud.session.LCConnectionManager connectionManager,
String clientId,
int convType,
LCIMMessage oldMessage,
LCIMMessage newMessage,
LCIMCommonJsonCallback callback) |
boolean |
updateMessageDirectly(cn.leancloud.session.LCConnectionManager connectionManager,
String clientId,
int convType,
LCIMMessage oldMessage,
LCIMMessage newMessage,
int requestId) |
public boolean openClient(cn.leancloud.session.LCConnectionManager connectionManager, String clientId, String tag, String userSessionToken, boolean reConnect, LCIMClientCallback callback)
openClient
in interface OperationTube
public boolean queryClientStatus(cn.leancloud.session.LCConnectionManager connectionManager, String clientId, LCIMClientStatusCallback callback)
queryClientStatus
in interface OperationTube
public boolean renewSessionToken(cn.leancloud.session.LCConnectionManager connectionManager, String clientId, LCIMClientCallback callback)
renewSessionToken
in interface OperationTube
public boolean closeClient(cn.leancloud.session.LCConnectionManager connectionManager, String self, LCIMClientCallback callback)
closeClient
in interface OperationTube
public boolean queryOnlineClients(cn.leancloud.session.LCConnectionManager connectionManager, String self, List<String> clients, LCIMOnlineClientsCallback callback)
queryOnlineClients
in interface OperationTube
public boolean createConversation(cn.leancloud.session.LCConnectionManager connectionManager, String self, List<String> memberList, Map<String,Object> attribute, boolean isTransient, boolean isUnique, boolean isTemp, int tempTTL, LCIMCommonJsonCallback callback)
createConversation
in interface OperationTube
public boolean updateConversation(cn.leancloud.session.LCConnectionManager connectionManager, String clientId, String conversationId, int convType, Map<String,Object> param, LCIMCommonJsonCallback callback)
updateConversation
in interface OperationTube
public boolean participateConversation(cn.leancloud.session.LCConnectionManager connectionManager, String clientId, String conversationId, int convType, Map<String,Object> param, Conversation.LCIMOperation operation, LCIMConversationCallback callback)
participateConversation
in interface OperationTube
public boolean queryConversations(cn.leancloud.session.LCConnectionManager connectionManager, String clientId, String queryString, LCIMCommonJsonCallback callback)
queryConversations
in interface OperationTube
public boolean queryConversationsInternally(cn.leancloud.session.LCConnectionManager connectionManager, String clientId, String queryString, LCIMCommonJsonCallback callback)
queryConversationsInternally
in interface OperationTube
public boolean sendMessage(cn.leancloud.session.LCConnectionManager connectionManager, String clientId, String conversationId, int convType, LCIMMessage message, LCIMMessageOption messageOption, LCIMCommonJsonCallback callback)
sendMessage
in interface OperationTube
public boolean updateMessage(cn.leancloud.session.LCConnectionManager connectionManager, String clientId, int convType, LCIMMessage oldMessage, LCIMMessage newMessage, LCIMCommonJsonCallback callback)
updateMessage
in interface OperationTube
public boolean recallMessage(cn.leancloud.session.LCConnectionManager connectionManager, String clientId, int convType, LCIMMessage message, LCIMCommonJsonCallback callback)
recallMessage
in interface OperationTube
public boolean fetchReceiptTimestamps(cn.leancloud.session.LCConnectionManager connectionManager, String clientId, String conversationId, int convType, Conversation.LCIMOperation operation, LCIMCommonJsonCallback callback)
fetchReceiptTimestamps
in interface OperationTube
public boolean processMembers(cn.leancloud.session.LCConnectionManager connectionManager, String clientId, String conversationId, int convType, String params, Conversation.LCIMOperation op, LCCallback callback)
processMembers
in interface OperationTube
public boolean queryMessages(cn.leancloud.session.LCConnectionManager connectionManager, String clientId, String conversationId, int convType, String params, Conversation.LCIMOperation operation, LCIMMessagesQueryCallback callback)
queryMessages
in interface OperationTube
public boolean markConversationRead(cn.leancloud.session.LCConnectionManager connectionManager, String clientId, String conversationId, int convType, Map<String,Object> lastMessageParam)
markConversationRead
in interface OperationTube
public boolean loginLiveQuery(cn.leancloud.session.LCConnectionManager connectionManager, String subscriptionId, LCLiveQuerySubscribeCallback callback)
loginLiveQuery
in interface OperationTube
public boolean loginLiveQueryDirectly(cn.leancloud.session.LCConnectionManager connectionManager, String subscriptionId, int requestId)
public boolean openClientDirectly(cn.leancloud.session.LCConnectionManager connectionManager, String clientId, String tag, String userSessionToken, boolean reConnect, int requestId)
public boolean closeClientDirectly(cn.leancloud.session.LCConnectionManager connectionManager, String self, int requestId)
public boolean renewSessionTokenDirectly(cn.leancloud.session.LCConnectionManager connectionManager, String clientId, int requestId)
public boolean queryOnlineClientsDirectly(cn.leancloud.session.LCConnectionManager connectionManager, String self, List<String> clients, int requestId)
public boolean createConversationDirectly(cn.leancloud.session.LCConnectionManager connectionManager, String self, List<String> members, Map<String,Object> attributes, boolean isTransient, boolean isUnique, boolean isTemp, int tempTTL, int requestId)
public boolean queryConversationsDirectly(cn.leancloud.session.LCConnectionManager connectionManager, String clientId, String queryString, int requestId)
public boolean updateConversationDirectly(cn.leancloud.session.LCConnectionManager connectionManager, String clientId, String conversationId, int convType, Map<String,Object> param, int requestId)
public boolean participateConversationDirectly(cn.leancloud.session.LCConnectionManager connectionManager, String clientId, String conversationId, int convType, Map<String,Object> param, Conversation.LCIMOperation operation, int requestId)
public boolean sendMessageDirectly(cn.leancloud.session.LCConnectionManager connectionManager, String clientId, String conversationId, int convType, LCIMMessage message, LCIMMessageOption messageOption, int requestId)
public boolean updateMessageDirectly(cn.leancloud.session.LCConnectionManager connectionManager, String clientId, int convType, LCIMMessage oldMessage, LCIMMessage newMessage, int requestId)
public boolean recallMessageDirectly(cn.leancloud.session.LCConnectionManager connectionManager, String clientId, int convType, LCIMMessage message, int requestId)
public boolean fetchReceiptTimestampsDirectly(cn.leancloud.session.LCConnectionManager connectionManager, String clientId, String conversationId, int convType, Conversation.LCIMOperation operation, int requestId)
public boolean queryMessagesDirectly(cn.leancloud.session.LCConnectionManager connectionManager, String clientId, String conversationId, int convType, String params, Conversation.LCIMOperation operation, int requestId)
public boolean processMembersDirectly(cn.leancloud.session.LCConnectionManager connectionManager, String clientId, String conversationId, int convType, String params, Conversation.LCIMOperation op, int requestId)
public boolean markConversationReadDirectly(cn.leancloud.session.LCConnectionManager connectionManager, String clientId, String conversationId, int convType, Map<String,Object> lastMessageParam, int requestId)
public void onOperationCompleted(String clientId, String conversationId, int requestId, Conversation.LCIMOperation operation, Throwable throwable)
onOperationCompleted
in interface OperationTube
public void onOperationCompletedEx(String clientId, String conversationId, int requestId, Conversation.LCIMOperation operation, HashMap<String,Object> resultData)
onOperationCompletedEx
in interface OperationTube
public void onLiveQueryCompleted(int requestId, Throwable throwable)
onLiveQueryCompleted
in interface OperationTube
Copyright © 2020, 美味书签(北京)信息技术有限公司 All rights reserved.