public interface MPushProtocol
| 限定符和类型 | 方法和说明 |
|---|---|
void |
ack(int messageId) |
void |
bindUser(String userId) |
void |
fastConnect() |
void |
handshake() |
boolean |
healthCheck()
健康检查, 检测读写超时, 发送心跳
|
Future<Boolean> |
push(PushContext context) |
Future<HttpResponse> |
sendHttp(HttpRequest request) |
void |
unbindUser() |
boolean healthCheck()
void fastConnect()
void handshake()
void bindUser(String userId)
void unbindUser()
void ack(int messageId)
Future<Boolean> push(PushContext context)
Future<HttpResponse> sendHttp(HttpRequest request)
Copyright © 2016. All rights reserved.