跳过导航链接
A B C D E F G H I K L M N O P R S T U V W 

A

ack(int) - 接口 中的方法com.mpush.api.protocol.MPushProtocol
 
AckMessage - com.mpush.message中的类
Created by ohun on 16/9/5.
AckMessage(int, Connection) - 类 的构造器com.mpush.message.AckMessage
 
AckMessage(Packet, Connection) - 类 的构造器com.mpush.message.AckMessage
 
add(int, HttpRequest) - 类 中的方法com.mpush.client.HttpRequestQueue
 
addConnectTask(Callable<Boolean>) - 类 中的方法com.mpush.client.ConnectThread
 
addFlag(byte) - 类 中的方法com.mpush.api.protocol.Packet
 
addHeader(String, String) - 类 中的方法com.mpush.message.HttpResponseMessage
 
AesCipher - com.mpush.security中的类
Created by ohun on 2015/12/28.
AesCipher(byte[], byte[]) - 类 的构造器com.mpush.security.AesCipher
 
aesKeyLength - 类 中的变量com.mpush.security.CipherBox
 
AESUtils - com.mpush.util.crypto中的类
Created by ohun on 2015/12/25.
AESUtils() - 类 的构造器com.mpush.util.crypto.AESUtils
 
alias - 类 中的变量com.mpush.message.BindUserMessage
 
allocate(int) - 类 中的静态方法com.mpush.util.ByteBuf
 
allocateDirect(int) - 类 中的静态方法com.mpush.util.ByteBuf
 
AsyncPacketReader - com.mpush.codec中的类
Created by ohun on 2016/1/17.
AsyncPacketReader(Connection, PacketReceiver) - 类 的构造器com.mpush.codec.AsyncPacketReader
 
AsyncPacketWriter - com.mpush.codec中的类
Created by ohun on 2016/1/17.
AsyncPacketWriter(Connection, EventLock) - 类 的构造器com.mpush.codec.AsyncPacketWriter
 
autoAck() - 类 中的方法com.mpush.message.PushMessage
 
await(long) - 类 中的方法com.mpush.util.thread.EventLock
 
await() - 类 中的方法com.mpush.util.thread.EventLock
 

B

Base64 - com.mpush.util.crypto中的类
This class consists exclusively of static methods for obtaining encoders and decoders for the Base64 encoding scheme.
Base64.Decoder - com.mpush.util.crypto中的类
This class implements a decoder for decoding byte data using the Base64 encoding scheme as specified in RFC 4648 and RFC 2045.
Base64.Encoder - com.mpush.util.crypto中的类
This class implements an encoder for encoding byte data using the Base64 encoding scheme as specified in RFC 4648 and RFC 2045.
Base64Utils - com.mpush.util.crypto中的类
BASE64编码解码工具包 依赖javabase64-1.3.1.jar
Base64Utils() - 类 的构造器com.mpush.util.crypto.Base64Utils
 
BaseMessage - com.mpush.message中的类
Created by ohun on 2015/12/28.
BaseMessage(Packet, Connection) - 类 的构造器com.mpush.message.BaseMessage
 
BaseMessageHandler<T extends Message> - com.mpush.handler中的类
 
BaseMessageHandler() - 类 的构造器com.mpush.handler.BaseMessageHandler
 
bindUser - 类 中的变量com.mpush.api.connection.SessionContext
 
bindUser(String) - 接口 中的方法com.mpush.api.protocol.MPushProtocol
 
BindUserMessage - com.mpush.message中的类
Created by ohun on 2015/12/28.
bizAck() - 类 中的方法com.mpush.message.PushMessage
 
body - 类 中的变量com.mpush.api.http.HttpResponse
 
body - 类 中的变量com.mpush.api.protocol.Packet
 
body - 类 中的变量com.mpush.message.HttpRequestMessage
 
body - 类 中的变量com.mpush.message.HttpResponseMessage
 
broadcast() - 类 中的方法com.mpush.util.thread.EventLock
 
build(byte, String) - 类 中的静态方法com.mpush.api.http.HttpRequest
 
build() - 类 中的静态方法com.mpush.client.ClientConfig
 
buildBind(Connection) - 类 中的静态方法com.mpush.message.BindUserMessage
 
buildDelete(String) - 类 中的静态方法com.mpush.api.http.HttpRequest
 
buildGet(String) - 类 中的静态方法com.mpush.api.http.HttpRequest
 
buildPost(String) - 类 中的静态方法com.mpush.api.http.HttpRequest
 
buildPut(String) - 类 中的静态方法com.mpush.api.http.HttpRequest
 
buildUnbind(Connection) - 类 中的静态方法com.mpush.message.BindUserMessage
 
byteArrayToFile(byte[], String) - 类 中的静态方法com.mpush.util.crypto.Base64Utils
二进制数据写文件
ByteBuf - com.mpush.util中的类
Created by ohun on 2016/1/21.
ByteBuf() - 类 的构造器com.mpush.util.ByteBuf
 
ByteBufMessage - com.mpush.message中的类
Created by ohun on 2015/12/28.
ByteBufMessage(Packet, Connection) - 类 的构造器com.mpush.message.ByteBufMessage
 

C

calcCheckCode() - 类 中的方法com.mpush.api.protocol.Packet
 
calcLrc() - 类 中的方法com.mpush.api.protocol.Packet
 
cancel(boolean) - 类 中的方法com.mpush.client.HttpRequestQueue.RequestTask
 
cc - 类 中的变量com.mpush.api.protocol.Packet
 
changeCipher(Cipher) - 类 中的方法com.mpush.api.connection.SessionContext
 
checkCapacity(int) - 类 中的方法com.mpush.util.ByteBuf
 
Cipher - com.mpush.api.connection中的接口
Created by ohun on 2015/12/28.
cipher - 类 中的变量com.mpush.api.connection.SessionContext
 
cipher - 类 中的变量com.mpush.session.PersistentSession
 
CipherBox - com.mpush.security中的类
Created by ohun on 2015/12/24.
CipherBox() - 类 的构造器com.mpush.security.CipherBox
 
clear() - 类 中的方法com.mpush.util.ByteBuf
 
clearSession() - 接口 中的方法com.mpush.api.connection.SessionStorage
 
clearSession() - 类 中的方法com.mpush.session.FileSessionStorage
 
Client - com.mpush.api中的接口
Created by ohun on 2016/1/17.
ClientConfig - com.mpush.client中的类
Created by ohun on 2016/1/17.
ClientConfig() - 类 的构造器com.mpush.client.ClientConfig
 
clientKey - 类 中的变量com.mpush.message.HandshakeMessage
 
ClientListener - com.mpush.api中的接口
Created by ohun on 2016/1/23.
clientVersion - 类 中的变量com.mpush.message.HandshakeMessage
 
close() - 接口 中的方法com.mpush.api.connection.Connection
 
close() - 类 中的方法com.mpush.client.TcpConnection
 
close(Closeable) - 类 中的静态方法com.mpush.util.IOUtils
 
cmd - 枚举 中的变量com.mpush.api.protocol.Command
 
cmd - 类 中的变量com.mpush.api.protocol.Packet
 
cmd - 类 中的变量com.mpush.message.ErrorMessage
 
cmd - 类 中的变量com.mpush.message.OkMessage
 
code - 类 中的变量com.mpush.message.ErrorMessage
 
code - 类 中的变量com.mpush.message.OkMessage
 
com.mpush.api - 程序包 com.mpush.api
 
com.mpush.api.connection - 程序包 com.mpush.api.connection
 
com.mpush.api.http - 程序包 com.mpush.api.http
 
com.mpush.api.protocol - 程序包 com.mpush.api.protocol
 
com.mpush.client - 程序包 com.mpush.client
 
com.mpush.codec - 程序包 com.mpush.codec
 
com.mpush.handler - 程序包 com.mpush.handler
 
com.mpush.message - 程序包 com.mpush.message
 
com.mpush.security - 程序包 com.mpush.security
 
com.mpush.session - 程序包 com.mpush.session
 
com.mpush.util - 程序包 com.mpush.util
 
com.mpush.util.crypto - 程序包 com.mpush.util.crypto
 
com.mpush.util.thread - 程序包 com.mpush.util.thread
 
Command - com.mpush.api.protocol中的枚举
Created by ohun on 2015/12/22.
compress(byte[]) - 类 中的静态方法com.mpush.util.IOUtils
 
connect() - 接口 中的方法com.mpush.api.connection.Connection
 
connect() - 类 中的方法com.mpush.client.TcpConnection
 
Connection - com.mpush.api.connection中的接口
Created by ohun on 2015/12/22.
connection - 类 中的变量com.mpush.message.BaseMessage
 
ConnectThread - com.mpush.client中的类
Created by yxx on 2016/6/9.
ConnectThread(EventLock) - 类 的构造器com.mpush.client.ConnectThread
 
Constants - com.mpush.api中的接口
Created by ohun on 2015/12/23.
content - 类 中的变量com.mpush.message.PushMessage
 
CONTENT_TYPE - 类 中的静态变量com.mpush.api.http.HttpRequest
 
CONTENT_TYPE_FORM - 类 中的静态变量com.mpush.api.http.HttpRequest
 
create() - 类 中的方法com.mpush.client.ClientConfig
 
createResponse() - 类 中的方法com.mpush.message.BaseMessage
 

D

d(String, Object...) - 接口 中的方法com.mpush.api.Logger
 
d(String, Object...) - 类 中的方法com.mpush.util.DefaultLogger
 
data - 类 中的变量com.mpush.message.ErrorMessage
 
data - 类 中的变量com.mpush.message.OkMessage
 
decode(ByteBuffer) - 类 中的静态方法com.mpush.codec.PacketDecoder
 
decode(Packet, Connection) - 类 中的方法com.mpush.handler.BaseMessageHandler
 
decode(Packet, Connection) - 类 中的方法com.mpush.handler.ErrorMessageHandler
 
decode(Packet, Connection) - 类 中的方法com.mpush.handler.FastConnectOkHandler
 
decode(Packet, Connection) - 类 中的方法com.mpush.handler.HandshakeOkHandler
 
decode(Packet, Connection) - 类 中的方法com.mpush.handler.HttpProxyHandler
 
decode(Packet, Connection) - 类 中的方法com.mpush.handler.KickUserHandler
 
decode(Packet, Connection) - 类 中的方法com.mpush.handler.OkMessageHandler
 
decode(Packet, Connection) - 类 中的方法com.mpush.handler.PushMessageHandler
 
decode(ByteBuffer) - 类 中的方法com.mpush.message.AckMessage
 
decode(byte[]) - 类 中的方法com.mpush.message.BaseMessage
 
decode(ByteBuffer) - 类 中的方法com.mpush.message.BindUserMessage
 
decode(byte[]) - 类 中的方法com.mpush.message.ByteBufMessage
 
decode(ByteBuffer) - 类 中的方法com.mpush.message.ByteBufMessage
 
decode(ByteBuffer) - 类 中的方法com.mpush.message.ErrorMessage
 
decode(ByteBuffer) - 类 中的方法com.mpush.message.FastConnectMessage
 
decode(ByteBuffer) - 类 中的方法com.mpush.message.FastConnectOkMessage
 
decode(ByteBuffer) - 类 中的方法com.mpush.message.HandshakeMessage
 
decode(ByteBuffer) - 类 中的方法com.mpush.message.HandshakeOkMessage
 
decode(ByteBuffer) - 类 中的方法com.mpush.message.HttpRequestMessage
 
decode(ByteBuffer) - 类 中的方法com.mpush.message.HttpResponseMessage
 
decode(ByteBuffer) - 类 中的方法com.mpush.message.KickUserMessage
 
decode(ByteBuffer) - 类 中的方法com.mpush.message.OkMessage
 
decode(byte[]) - 类 中的方法com.mpush.message.PushMessage
 
decode(String) - 类 中的静态方法com.mpush.session.PersistentSession
 
decode(byte[]) - 类 中的方法com.mpush.util.crypto.Base64.Decoder
Decodes all bytes from the input byte array using the Base64 encoding scheme, writing the results into a newly-allocated output byte array.
decode(String) - 类 中的方法com.mpush.util.crypto.Base64.Decoder
Decodes a Base64 encoded String into a newly-allocated byte array using the Base64 encoding scheme.
decode(byte[], byte[]) - 类 中的方法com.mpush.util.crypto.Base64.Decoder
Decodes all bytes from the input byte array using the Base64 encoding scheme, writing the results into the given output byte array, starting at offset 0.
decode(ByteBuffer) - 类 中的方法com.mpush.util.crypto.Base64.Decoder
Decodes all bytes from the input byte buffer using the Base64 encoding scheme, writing the results into a newly-allocated ByteBuffer.
decode(String) - 类 中的静态方法com.mpush.util.crypto.Base64Utils
BASE64字符串解码为二进制数据
decodeBody() - 类 中的方法com.mpush.message.BaseMessage
 
decodeByte(ByteBuffer) - 类 中的方法com.mpush.message.ByteBufMessage
 
decodeBytes(ByteBuffer) - 类 中的方法com.mpush.message.ByteBufMessage
 
decodeInt(ByteBuffer) - 类 中的方法com.mpush.message.ByteBufMessage
 
decodeLong(ByteBuffer) - 类 中的方法com.mpush.message.ByteBufMessage
 
decodePrivateKey(String) - 类 中的静态方法com.mpush.util.crypto.RSAUtils
从字符串解码私钥
decodePublicKey(String) - 类 中的静态方法com.mpush.util.crypto.RSAUtils
从字符串解码公钥
decodeString(ByteBuffer) - 类 中的方法com.mpush.message.ByteBufMessage
 
decodeToFile(String, String) - 类 中的静态方法com.mpush.util.crypto.Base64Utils
BASE64字符串转回文件
decrypt(byte[]) - 接口 中的方法com.mpush.api.connection.Cipher
 
decrypt(byte[]) - 类 中的方法com.mpush.security.AesCipher
 
decrypt(byte[]) - 类 中的方法com.mpush.security.RsaCipher
 
decrypt(byte[], byte[], byte[]) - 类 中的静态方法com.mpush.util.crypto.AESUtils
 
decryptByPrivateKey(byte[], RSAPrivateKey) - 类 中的静态方法com.mpush.util.crypto.RSAUtils
私钥解密
decryptByPrivateKey(byte[], String) - 类 中的静态方法com.mpush.util.crypto.RSAUtils
私钥解密
decryptByPublicKey(byte[], String) - 类 中的静态方法com.mpush.util.crypto.RSAUtils
公钥解密
DEF_COMPRESS_LIMIT - 接口 中的静态变量com.mpush.api.Constants
 
DEF_HEARTBEAT - 接口 中的静态变量com.mpush.api.Constants
 
DEF_OS_NAME - 接口 中的静态变量com.mpush.api.Constants
 
DEFAULT_WRITE_TIMEOUT - 接口 中的静态变量com.mpush.api.Constants
 
DefaultLogger - com.mpush.util中的类
Created by ohun on 2016/1/25.
DefaultLogger() - 类 的构造器com.mpush.util.DefaultLogger
 
DELETE - 接口 中的静态变量com.mpush.api.http.HttpMethod
 
destroy() - 接口 中的方法com.mpush.api.Client
 
deviceId - 类 中的变量com.mpush.message.FastConnectMessage
 
deviceId - 类 中的变量com.mpush.message.HandshakeMessage
 
deviceId - 类 中的变量com.mpush.message.KickUserMessage
 
DISPATCH_THREAD_NAME - 类 中的静态变量com.mpush.util.thread.ExecutorManager
 

E

e(Throwable, String, Object...) - 接口 中的方法com.mpush.api.Logger
 
e(Throwable, String, Object...) - 类 中的方法com.mpush.util.DefaultLogger
 
EMPTY - 类 中的静态变量com.mpush.util.Strings
 
EMPTY_BYTES - 接口 中的静态变量com.mpush.api.Constants
 
enable(boolean) - 接口 中的方法com.mpush.api.Logger
 
enable(boolean) - 类 中的方法com.mpush.util.DefaultLogger
 
encode(Packet, ByteBuf) - 类 中的静态方法com.mpush.codec.PacketEncoder
 
encode(ByteBuf) - 类 中的方法com.mpush.message.AckMessage
 
encode() - 类 中的方法com.mpush.message.BaseMessage
 
encode(ByteBuf) - 类 中的方法com.mpush.message.BindUserMessage
 
encode() - 类 中的方法com.mpush.message.ByteBufMessage
 
encode(ByteBuf) - 类 中的方法com.mpush.message.ByteBufMessage
 
encode(ByteBuf) - 类 中的方法com.mpush.message.ErrorMessage
 
encode(ByteBuf) - 类 中的方法com.mpush.message.FastConnectMessage
 
encode(ByteBuf) - 类 中的方法com.mpush.message.FastConnectOkMessage
 
encode(ByteBuf) - 类 中的方法com.mpush.message.HandshakeMessage
 
encode(ByteBuf) - 类 中的方法com.mpush.message.HandshakeOkMessage
 
encode(ByteBuf) - 类 中的方法com.mpush.message.HttpRequestMessage
 
encode(ByteBuf) - 类 中的方法com.mpush.message.HttpResponseMessage
 
encode(ByteBuf) - 类 中的方法com.mpush.message.KickUserMessage
 
encode(ByteBuf) - 类 中的方法com.mpush.message.OkMessage
 
encode() - 类 中的方法com.mpush.message.PushMessage
 
encode(PersistentSession) - 类 中的静态方法com.mpush.session.PersistentSession
 
encode(byte[]) - 类 中的方法com.mpush.util.crypto.Base64.Encoder
Encodes all bytes from the specified byte array into a newly-allocated byte array using the Base64 encoding scheme.
encode(byte[], byte[]) - 类 中的方法com.mpush.util.crypto.Base64.Encoder
Encodes all bytes from the specified byte array using the Base64 encoding scheme, writing the resulting bytes to the given output byte array, starting at offset 0.
encode(ByteBuffer) - 类 中的方法com.mpush.util.crypto.Base64.Encoder
Encodes all remaining bytes from the specified byte buffer into a newly-allocated ByteBuffer using the Base64 encoding scheme.
encode(byte[]) - 类 中的静态方法com.mpush.util.crypto.Base64Utils
二进制数据编码为BASE64字符串
encodeBase64(Key) - 类 中的静态方法com.mpush.util.crypto.RSAUtils
编码密钥,便于存储
encodeBody() - 类 中的方法com.mpush.message.BaseMessage
 
encodeByte(ByteBuf, byte) - 类 中的方法com.mpush.message.ByteBufMessage
 
encodeBytes(ByteBuf, byte[]) - 类 中的方法com.mpush.message.ByteBufMessage
 
encodeFile(String) - 类 中的静态方法com.mpush.util.crypto.Base64Utils
将文件编码为BASE64字符串 大文件慎用,可能会导致内存溢出
encodeInt(ByteBuf, int) - 类 中的方法com.mpush.message.ByteBufMessage
 
encodeLong(ByteBuf, long) - 类 中的方法com.mpush.message.ByteBufMessage
 
encodeString(ByteBuf, String) - 类 中的方法com.mpush.message.ByteBufMessage
 
encodeToString(byte[]) - 类 中的方法com.mpush.util.crypto.Base64.Encoder
Encodes the specified byte array into a String using the Base64 encoding scheme.
encrypt(byte[]) - 接口 中的方法com.mpush.api.connection.Cipher
 
encrypt(byte[]) - 类 中的方法com.mpush.security.AesCipher
 
encrypt(byte[]) - 类 中的方法com.mpush.security.RsaCipher
 
encrypt(byte[], byte[], byte[]) - 类 中的静态方法com.mpush.util.crypto.AESUtils
 
encrypt(File) - 类 中的静态方法com.mpush.util.crypto.MD5Utils
 
encrypt(String) - 类 中的静态方法com.mpush.util.crypto.MD5Utils
 
encrypt(byte[]) - 类 中的静态方法com.mpush.util.crypto.MD5Utils
 
encryptByPrivateKey(byte[], String) - 类 中的静态方法com.mpush.util.crypto.RSAUtils
私钥加密
encryptByPublicKey(byte[], RSAPublicKey) - 类 中的静态方法com.mpush.util.crypto.RSAUtils
公钥加密
encryptByPublicKey(byte[], String) - 类 中的静态方法com.mpush.util.crypto.RSAUtils
公钥加密
ErrorMessage - com.mpush.message中的类
Created by ohun on 2015/12/28.
ErrorMessage(byte, Packet, Connection) - 类 的构造器com.mpush.message.ErrorMessage
 
ErrorMessage(Packet, Connection) - 类 的构造器com.mpush.message.ErrorMessage
 
ErrorMessageHandler - com.mpush.handler中的类
Created by ohun on 2015/12/30.
ErrorMessageHandler() - 类 的构造器com.mpush.handler.ErrorMessageHandler
 
EventLock - com.mpush.util.thread中的类
Created by ohun on 2016/1/17.
EventLock() - 类 的构造器com.mpush.util.thread.EventLock
 
ExecutorManager - com.mpush.util.thread中的类
Created by ohun on 2016/1/23.
ExecutorManager() - 类 的构造器com.mpush.util.thread.ExecutorManager
 
expireTime - 类 中的变量com.mpush.message.HandshakeOkMessage
 
expireTime - 类 中的变量com.mpush.session.PersistentSession
 

F

fastConnect() - 接口 中的方法com.mpush.api.protocol.MPushProtocol
 
FastConnectMessage - com.mpush.message中的类
Created by ohun on 2015/12/25.
FastConnectMessage(Connection) - 类 的构造器com.mpush.message.FastConnectMessage
 
FastConnectMessage(Packet, Connection) - 类 的构造器com.mpush.message.FastConnectMessage
 
FastConnectOkHandler - com.mpush.handler中的类
Created by ohun on 2016/1/23.
FastConnectOkHandler() - 类 的构造器com.mpush.handler.FastConnectOkHandler
 
FastConnectOkMessage - com.mpush.message中的类
Created by ohun on 2015/12/28.
FastConnectOkMessage(Packet, Connection) - 类 的构造器com.mpush.message.FastConnectOkMessage
 
FileSessionStorage - com.mpush.session中的类
Created by ohun on 2016/1/25.
FileSessionStorage(String) - 类 的构造器com.mpush.session.FileSessionStorage
 
fileToByte(String) - 类 中的静态方法com.mpush.util.crypto.Base64Utils
文件转换为二进制数组
FLAG_AUTO_ACK - 类 中的静态变量com.mpush.api.protocol.Packet
 
FLAG_BIZ_ACK - 类 中的静态变量com.mpush.api.protocol.Packet
 
FLAG_COMPRESS - 类 中的静态变量com.mpush.api.protocol.Packet
 
FLAG_CRYPTO - 类 中的静态变量com.mpush.api.protocol.Packet
 
flags - 类 中的变量com.mpush.api.protocol.Packet
 
flip() - 类 中的方法com.mpush.util.ByteBuf
 
from(BaseMessage) - 类 中的静态方法com.mpush.message.AckMessage
 
from(BaseMessage) - 类 中的静态方法com.mpush.message.ErrorMessage
 
from(BaseMessage) - 类 中的静态方法com.mpush.message.FastConnectOkMessage
 
from(BaseMessage) - 类 中的静态方法com.mpush.message.HandshakeOkMessage
 
from(HttpRequestMessage) - 类 中的静态方法com.mpush.message.HttpResponseMessage
 
from(BaseMessage) - 类 中的静态方法com.mpush.message.OkMessage
 

G

genSessionId() - 类 中的静态方法com.mpush.message.BaseMessage
 
GET - 接口 中的静态变量com.mpush.api.http.HttpMethod
 
get(byte[]) - 类 中的方法com.mpush.util.ByteBuf
 
get() - 类 中的方法com.mpush.util.ByteBuf
 
getAesKeyLength() - 类 中的方法com.mpush.client.ClientConfig
 
getAesKeyLength() - 类 中的方法com.mpush.security.CipherBox
 
getAllotServer() - 类 中的方法com.mpush.client.ClientConfig
 
getAndRemove(int) - 类 中的方法com.mpush.client.HttpRequestQueue
 
getArray() - 类 中的方法com.mpush.util.ByteBuf
 
getBody() - 类 中的方法com.mpush.api.http.HttpRequest
 
getBodyLength() - 类 中的方法com.mpush.api.protocol.Packet
 
getCallback() - 类 中的方法com.mpush.api.http.HttpRequest
 
getChannel() - 接口 中的方法com.mpush.api.connection.Connection
 
getChannel() - 类 中的方法com.mpush.client.TcpConnection
 
getClient() - 接口 中的方法com.mpush.api.connection.Connection
 
getClient() - 类 中的方法com.mpush.client.TcpConnection
 
getClientListener() - 类 中的方法com.mpush.client.ClientConfig
 
getClientVersion() - 类 中的方法com.mpush.client.ClientConfig
 
getCompressLimit() - 类 中的方法com.mpush.client.ClientConfig
 
getCond() - 类 中的方法com.mpush.util.thread.EventLock
 
getConnection() - 接口 中的方法com.mpush.api.Message
 
getConnection() - 类 中的方法com.mpush.message.BaseMessage
 
getDecoder() - 类 中的静态方法com.mpush.util.crypto.Base64
Returns a Base64.Decoder that decodes using the Basic type base64 encoding scheme.
getDeviceId() - 类 中的方法com.mpush.client.ClientConfig
 
getDispatchThread() - 类 中的方法com.mpush.util.thread.ExecutorManager
 
getEncoder() - 类 中的静态方法com.mpush.util.crypto.Base64
Returns a Base64.Encoder that encodes using the Basic type base64 encoding scheme.
getHeaders() - 类 中的方法com.mpush.api.http.HttpRequest
 
getHttpRequestThread() - 类 中的方法com.mpush.util.thread.ExecutorManager
 
getInt() - 类 中的方法com.mpush.util.ByteBuf
 
getLock() - 类 中的方法com.mpush.util.thread.EventLock
 
getLogger() - 类 中的方法com.mpush.client.ClientConfig
 
getLong() - 类 中的方法com.mpush.util.ByteBuf
 
getMaxHeartbeat() - 类 中的方法com.mpush.client.ClientConfig
 
getMethod() - 类 中的方法com.mpush.api.http.HttpRequest
 
getMethod() - 类 中的方法com.mpush.message.HttpRequestMessage
 
getMimeDecoder() - 类 中的静态方法com.mpush.util.crypto.Base64
Returns a Base64.Decoder that decodes using the MIME type base64 decoding scheme.
getMimeEncoder() - 类 中的静态方法com.mpush.util.crypto.Base64
Returns a Base64.Encoder that encodes using the MIME type base64 encoding scheme.
getMimeEncoder(int, byte[]) - 类 中的静态方法com.mpush.util.crypto.Base64
Returns a Base64.Encoder that encodes using the MIME type base64 encoding scheme with specified line length and line separators.
getMinHeartbeat() - 类 中的方法com.mpush.client.ClientConfig
 
getOsName() - 类 中的方法com.mpush.client.ClientConfig
 
getOsVersion() - 类 中的方法com.mpush.client.ClientConfig
 
getPacket() - 接口 中的方法com.mpush.api.Message
 
getPacket() - 类 中的方法com.mpush.message.BaseMessage
 
getPrivateKey(String, String) - 类 中的静态方法com.mpush.util.crypto.RSAUtils
使用模和指数生成RSA私钥 注意:【此代码用了默认补位方式,为RSA/None/PKCS1Padding, 不同JDK默认的补位方式可能不同,如Android默认是RSA /None/NoPadding】
getPublicKey() - 类 中的方法com.mpush.client.ClientConfig
 
getPublicKey() - 类 中的方法com.mpush.security.CipherBox
 
getPublicKey(String, String) - 类 中的静态方法com.mpush.util.crypto.RSAUtils
使用模和指数生成RSA公钥 注意:【此代码用了默认补位方式,为RSA/None/PKCS1Padding, 不同JDK默认的补位方式可能不同,如Android默认是RSA /None/NoPadding】
getRsaCipher() - 类 中的方法com.mpush.security.CipherBox
 
getServerHost() - 类 中的方法com.mpush.client.ClientConfig
 
getServerPort() - 类 中的方法com.mpush.client.ClientConfig
 
getSession() - 接口 中的方法com.mpush.api.connection.SessionStorage
 
getSession() - 类 中的方法com.mpush.session.FileSessionStorage
 
getSessionContext() - 接口 中的方法com.mpush.api.connection.Connection
 
getSessionContext() - 类 中的方法com.mpush.client.TcpConnection
 
getSessionId() - 类 中的方法com.mpush.message.BaseMessage
 
getSessionStorage() - 类 中的方法com.mpush.client.ClientConfig
 
getSessionStorageDir() - 类 中的方法com.mpush.client.ClientConfig
 
getShort() - 类 中的方法com.mpush.util.ByteBuf
 
getStartThread() - 类 中的方法com.mpush.util.thread.ExecutorManager
 
getTimeout() - 类 中的方法com.mpush.api.http.HttpRequest
 
getUri() - 类 中的方法com.mpush.api.http.HttpRequest
 
getUrlDecoder() - 类 中的静态方法com.mpush.util.crypto.Base64
Returns a Base64.Decoder that decodes using the URL and Filename safe type base64 encoding scheme.
getUrlEncoder() - 类 中的静态方法com.mpush.util.crypto.Base64
Returns a Base64.Encoder that encodes using the URL and Filename safe type base64 encoding scheme.
getUserId() - 类 中的方法com.mpush.client.ClientConfig
 
getWriteThread() - 类 中的方法com.mpush.util.thread.ExecutorManager
 
group - 类 中的变量com.mpush.util.thread.NamedThreadFactory
 

H

handle(Packet, Connection) - 接口 中的方法com.mpush.api.MessageHandler
 
handle(T) - 类 中的方法com.mpush.handler.BaseMessageHandler
 
handle(Packet, Connection) - 类 中的方法com.mpush.handler.BaseMessageHandler
 
handle(ErrorMessage) - 类 中的方法com.mpush.handler.ErrorMessageHandler
 
handle(FastConnectOkMessage) - 类 中的方法com.mpush.handler.FastConnectOkHandler
 
handle(HandshakeOkMessage) - 类 中的方法com.mpush.handler.HandshakeOkHandler
 
handle(Packet, Connection) - 类 中的方法com.mpush.handler.HeartbeatHandler
 
handle(HttpResponseMessage) - 类 中的方法com.mpush.handler.HttpProxyHandler
 
handle(KickUserMessage) - 类 中的方法com.mpush.handler.KickUserHandler
 
handle(OkMessage) - 类 中的方法com.mpush.handler.OkMessageHandler
 
handle(PushMessage) - 类 中的方法com.mpush.handler.PushMessageHandler
 
handshake() - 接口 中的方法com.mpush.api.protocol.MPushProtocol
 
HandshakeMessage - com.mpush.message中的类
Created by ohun on 2015/12/24.
HandshakeMessage(Connection) - 类 的构造器com.mpush.message.HandshakeMessage
 
HandshakeMessage(Packet, Connection) - 类 的构造器com.mpush.message.HandshakeMessage
 
handshakeOk() - 类 中的方法com.mpush.api.connection.SessionContext
 
HandshakeOkHandler - com.mpush.handler中的类
Created by ohun on 2016/1/23.
HandshakeOkHandler() - 类 的构造器com.mpush.handler.HandshakeOkHandler
 
HandshakeOkMessage - com.mpush.message中的类
Created by ohun on 2015/12/27.
HandshakeOkMessage(Packet, Connection) - 类 的构造器com.mpush.message.HandshakeOkMessage
 
hasFlag(byte) - 类 中的方法com.mpush.api.protocol.Packet
 
HB_PACKET - 类 中的静态变量com.mpush.api.protocol.Packet
 
HB_PACKET_BYTE - 类 中的静态变量com.mpush.api.protocol.Packet
 
HEADER_LEN - 类 中的静态变量com.mpush.api.protocol.Packet
 
headerFromString(String) - 类 中的静态方法com.mpush.util.MPUtils
 
headers - 类 中的变量com.mpush.api.http.HttpResponse
 
headers - 类 中的变量com.mpush.message.HttpRequestMessage
 
headers - 类 中的变量com.mpush.message.HttpResponseMessage
 
headerToString(Map<String, String>) - 类 中的静态方法com.mpush.util.MPUtils
 
healthCheck() - 接口 中的方法com.mpush.api.protocol.MPushProtocol
 
heartbeat - 类 中的变量com.mpush.api.connection.SessionContext
 
heartbeat - 类 中的变量com.mpush.message.FastConnectOkMessage
 
heartbeat - 类 中的变量com.mpush.message.HandshakeOkMessage
 
HeartbeatHandler - com.mpush.handler中的类
Created by ohun on 2015/12/30.
HeartbeatHandler() - 类 的构造器com.mpush.handler.HeartbeatHandler
 
hmacSha1(String, String) - 类 中的静态方法com.mpush.util.crypto.MD5Utils
HmacSHA1 加密
HTTP_HEAD_READ_TIMEOUT - 接口 中的静态变量com.mpush.api.Constants
 
HTTP_THREAD_NAME - 类 中的静态变量com.mpush.util.thread.ExecutorManager
 
HttpCallback - com.mpush.api.http中的接口
Created by yxx on 2016/2/16.
HttpMethod - com.mpush.api.http中的接口
Created by yxx on 2016/2/16.
HttpProxyHandler - com.mpush.handler中的类
Created by ohun on 2015/12/30.
HttpProxyHandler(HttpRequestQueue) - 类 的构造器com.mpush.handler.HttpProxyHandler
 
HttpRequest - com.mpush.api.http中的类
Created by yxx on 2016/2/16.
HttpRequest(byte, String) - 类 的构造器com.mpush.api.http.HttpRequest
 
HttpRequestMessage - com.mpush.message中的类
Created by ohun on 2016/2/15.
HttpRequestMessage(Connection) - 类 的构造器com.mpush.message.HttpRequestMessage
 
HttpRequestMessage(Packet, Connection) - 类 的构造器com.mpush.message.HttpRequestMessage
 
HttpRequestQueue - com.mpush.client中的类
Created by yxx on 2016/2/16.
HttpRequestQueue() - 类 的构造器com.mpush.client.HttpRequestQueue
 
HttpRequestQueue.RequestTask - com.mpush.client中的类
 
HttpResponse - com.mpush.api.http中的类
Created by yxx on 2016/2/16.
HttpResponse(int, String, Map<String, String>, byte[]) - 类 的构造器com.mpush.api.http.HttpResponse
 
HttpResponseMessage - com.mpush.message中的类
Created by ohun on 2016/2/15.
HttpResponseMessage(Packet, Connection) - 类 的构造器com.mpush.message.HttpResponseMessage
 

I

i(String, Object...) - 接口 中的方法com.mpush.api.Logger
 
I - 类 中的静态变量com.mpush.client.ClientConfig
 
i(String, Object...) - 类 中的方法com.mpush.util.DefaultLogger
 
INSTANCE - 类 中的静态变量com.mpush.security.CipherBox
 
INSTANCE - 类 中的静态变量com.mpush.util.thread.ExecutorManager
 
IOUtils - com.mpush.util中的类
Created by ohun on 2015/12/25.
IOUtils() - 类 的构造器com.mpush.util.IOUtils
 
isBlank(CharSequence) - 类 中的静态方法com.mpush.util.Strings
 
isConnected() - 接口 中的方法com.mpush.api.connection.Connection
 
isConnected() - 类 中的方法com.mpush.client.TcpConnection
 
isEnableHttpProxy() - 类 中的方法com.mpush.client.ClientConfig
 
isExpired() - 类 中的方法com.mpush.session.PersistentSession
 
isLogEnabled() - 类 中的方法com.mpush.client.ClientConfig
 
isMPThread() - 类 中的静态方法com.mpush.util.thread.ExecutorManager
 
isReadTimeout() - 接口 中的方法com.mpush.api.connection.Connection
 
isReadTimeout() - 类 中的方法com.mpush.client.TcpConnection
 
isRunning() - 接口 中的方法com.mpush.api.Client
 
isWriteTimeout() - 接口 中的方法com.mpush.api.connection.Connection
 
isWriteTimeout() - 类 中的方法com.mpush.client.TcpConnection
 
iv - 类 中的变量com.mpush.message.HandshakeMessage
 
iv - 类 中的变量com.mpush.security.AesCipher
 

K

key - 类 中的变量com.mpush.security.AesCipher
 
KEY_ALGORITHM - 类 中的静态变量com.mpush.util.crypto.AESUtils
 
KEY_ALGORITHM - 类 中的静态变量com.mpush.util.crypto.RSAUtils
加密算法RSA
KEY_ALGORITHM_PADDING - 类 中的静态变量com.mpush.util.crypto.AESUtils
 
KEY_ALGORITHM_PADDING - 类 中的静态变量com.mpush.util.crypto.RSAUtils
填充方式
KickUserHandler - com.mpush.handler中的类
Created by ohun on 2016/1/23.
KickUserHandler() - 类 的构造器com.mpush.handler.KickUserHandler
 
KickUserMessage - com.mpush.message中的类
Created by ohun on 2015/12/29.
KickUserMessage(Connection) - 类 的构造器com.mpush.message.KickUserMessage
 
KickUserMessage(Packet, Connection) - 类 的构造器com.mpush.message.KickUserMessage
 

L

lock() - 类 中的方法com.mpush.util.thread.EventLock
 
Logger - com.mpush.api中的接口
Created by ohun on 2016/1/25.
lrc - 类 中的变量com.mpush.api.protocol.Packet
 

M

MAX_HB_TIMEOUT_COUNT - 接口 中的静态变量com.mpush.api.Constants
 
MAX_RESTART_COUNT - 接口 中的静态变量com.mpush.api.Constants
 
MAX_TOTAL_RESTART_COUNT - 接口 中的静态变量com.mpush.api.Constants
 
maxHeartbeat - 类 中的变量com.mpush.message.FastConnectMessage
 
maxHeartbeat - 类 中的变量com.mpush.message.HandshakeMessage
 
MD5Utils - com.mpush.util.crypto中的类
Created by ohun on 2015/12/25.
MD5Utils() - 类 的构造器com.mpush.util.crypto.MD5Utils
 
Message - com.mpush.api中的接口
Created by ohun on 2016/1/17.
MessageDispatcher - com.mpush.client中的类
Created by ohun on 2016/1/20.
MessageDispatcher() - 类 的构造器com.mpush.client.MessageDispatcher
 
MessageHandler - com.mpush.api中的接口
Created by ohun on 2016/1/23.
method - 类 中的变量com.mpush.api.http.HttpRequest
 
method - 类 中的变量com.mpush.message.HttpRequestMessage
 
minHeartbeat - 类 中的变量com.mpush.message.FastConnectMessage
 
minHeartbeat - 类 中的变量com.mpush.message.HandshakeMessage
 
mixKey(byte[], byte[]) - 类 中的方法com.mpush.security.CipherBox
 
MPushProtocol - com.mpush.api.protocol中的接口
Created by ohun on 2016/1/17.
MPUtils - com.mpush.util中的类
Created by ohun on 2016/1/25.
MPUtils() - 类 的构造器com.mpush.util.MPUtils
 

N

NamedThreadFactory - com.mpush.util.thread中的类
Created by xiaoxu.yxx on 2015/7/19.
NamedThreadFactory(String) - 类 的构造器com.mpush.util.thread.NamedThreadFactory
 
namePrefix - 类 中的变量com.mpush.util.thread.NamedThreadFactory
 
newThread(String, Runnable) - 类 中的方法com.mpush.util.thread.NamedThreadFactory
 
newThread(Runnable) - 类 中的方法com.mpush.util.thread.NamedThreadFactory
 
nioBuffer() - 类 中的方法com.mpush.util.ByteBuf
 

O

OkMessage - com.mpush.message中的类
Created by ohun on 2015/12/28.
OkMessage(byte, Packet, Connection) - 类 的构造器com.mpush.message.OkMessage
 
OkMessage(Packet, Connection) - 类 的构造器com.mpush.message.OkMessage
 
OkMessageHandler - com.mpush.handler中的类
Created by ohun on 2015/12/30.
OkMessageHandler() - 类 的构造器com.mpush.handler.OkMessageHandler
 
onCancelled() - 接口 中的方法com.mpush.api.http.HttpCallback
 
onConnected(Client) - 接口 中的方法com.mpush.api.ClientListener
 
onDisConnected(Client) - 接口 中的方法com.mpush.api.ClientListener
 
onHandshakeOk(Client, int) - 接口 中的方法com.mpush.api.ClientListener
 
onKickUser(String, String) - 接口 中的方法com.mpush.api.ClientListener
 
onReceive(Packet, Connection) - 接口 中的方法com.mpush.api.PacketReceiver
 
onReceive(Packet, Connection) - 类 中的方法com.mpush.client.MessageDispatcher
 
onReceivePush(Client, byte[], int) - 接口 中的方法com.mpush.api.ClientListener
 
onResponse(HttpResponse) - 接口 中的方法com.mpush.api.http.HttpCallback
 
osName - 类 中的变量com.mpush.message.HandshakeMessage
 
osVersion - 类 中的变量com.mpush.message.HandshakeMessage
 

P

Packet - com.mpush.api.protocol中的类
Created by ohun on 2015/12/19.
Packet(byte) - 类 的构造器com.mpush.api.protocol.Packet
 
Packet(byte, int) - 类 的构造器com.mpush.api.protocol.Packet
 
Packet(Command) - 类 的构造器com.mpush.api.protocol.Packet
 
Packet(Command, int) - 类 的构造器com.mpush.api.protocol.Packet
 
packet - 类 中的变量com.mpush.message.BaseMessage
 
PacketDecoder - com.mpush.codec中的类
Created by ohun on 2016/1/17.
PacketDecoder() - 类 的构造器com.mpush.codec.PacketDecoder
 
PacketEncoder - com.mpush.codec中的类
Created by ohun on 2016/1/17.
PacketEncoder() - 类 的构造器com.mpush.codec.PacketEncoder
 
PacketReader - com.mpush.api中的接口
Created by ohun on 2016/1/17.
PacketReceiver - com.mpush.api中的接口
Created by ohun on 2016/1/17.
PacketWriter - com.mpush.api中的接口
Created by ohun on 2016/1/17.
parseHost2Ip(String) - 类 中的静态方法com.mpush.util.MPUtils
 
PersistentSession - com.mpush.session中的类
Created by ohun on 2016/1/25.
PersistentSession() - 类 的构造器com.mpush.session.PersistentSession
 
POST - 接口 中的静态变量com.mpush.api.http.HttpMethod
 
PushMessage - com.mpush.message中的类
Created by ohun on 2015/12/30.
PushMessage(Packet, Connection) - 类 的构造器com.mpush.message.PushMessage
 
PushMessageHandler - com.mpush.handler中的类
Created by ohun on 2015/12/30.
PushMessageHandler() - 类 的构造器com.mpush.handler.PushMessageHandler
 
PUT - 接口 中的静态变量com.mpush.api.http.HttpMethod
 
put(byte) - 类 中的方法com.mpush.util.ByteBuf
 
put(byte[]) - 类 中的方法com.mpush.util.ByteBuf
 
putInt(int) - 类 中的方法com.mpush.util.ByteBuf
 
putLong(long) - 类 中的方法com.mpush.util.ByteBuf
 
putShort(int) - 类 中的方法com.mpush.util.ByteBuf
 

R

randomAESIV() - 类 中的方法com.mpush.security.CipherBox
 
randomAESKey() - 类 中的方法com.mpush.security.CipherBox
 
READ_THREAD_NAME - 类 中的静态变量com.mpush.util.thread.ExecutorManager
 
reason - 类 中的变量com.mpush.message.ErrorMessage
 
reasonPhrase - 类 中的变量com.mpush.api.http.HttpResponse
 
reasonPhrase - 类 中的变量com.mpush.message.HttpResponseMessage
 
reconnect() - 接口 中的方法com.mpush.api.connection.Connection
 
reconnect() - 类 中的方法com.mpush.client.TcpConnection
 
register(Command, MessageHandler) - 类 中的方法com.mpush.client.MessageDispatcher
 
RsaCipher - com.mpush.security中的类
Created by ohun on 2015/12/28.
RsaCipher(RSAPublicKey) - 类 的构造器com.mpush.security.RsaCipher
 
RSAUtils - com.mpush.util.crypto中的类
RSA公钥/私钥/签名工具包 字符串格式的密钥在未在特殊说明情况下都为BASE64编码格式
由于非对称加密速度极其缓慢,一般文件不使用它来加密而是使用对称加密,
非对称加密算法可以用来对对称加密的密钥加密,这样保证密钥的安全也就保证了数据的安全
RSAUtils() - 类 的构造器com.mpush.util.crypto.RSAUtils
 
run() - 类 中的方法com.mpush.client.ConnectThread
 
run() - 类 中的方法com.mpush.client.HttpRequestQueue.RequestTask
 
run() - 类 中的方法com.mpush.codec.AsyncPacketReader
 

S

saveSession(String) - 接口 中的方法com.mpush.api.connection.SessionStorage
 
saveSession(String) - 类 中的方法com.mpush.session.FileSessionStorage
 
send(Packet) - 接口 中的方法com.mpush.api.connection.Connection
 
send() - 接口 中的方法com.mpush.api.Message
 
send(Packet) - 类 中的方法com.mpush.client.TcpConnection
 
send() - 类 中的方法com.mpush.message.BaseMessage
 
send() - 类 中的方法com.mpush.message.ErrorMessage
 
sendHttp(HttpRequest) - 接口 中的方法com.mpush.api.protocol.MPushProtocol
 
sendRaw() - 接口 中的方法com.mpush.api.Message
 
sendRaw() - 类 中的方法com.mpush.message.BaseMessage
 
serverKey - 类 中的变量com.mpush.message.HandshakeOkMessage
 
SessionContext - com.mpush.api.connection中的类
Created by ohun on 2015/12/22.
SessionContext() - 类 的构造器com.mpush.api.connection.SessionContext
 
sessionId - 类 中的变量com.mpush.api.protocol.Packet
 
sessionId - 类 中的变量com.mpush.message.FastConnectMessage
 
sessionId - 类 中的变量com.mpush.message.HandshakeOkMessage
 
sessionId - 类 中的变量com.mpush.session.PersistentSession
 
SessionStorage - com.mpush.api.connection中的接口
Created by ohun on 2015/12/22.
setAesKeyLength(int) - 类 中的方法com.mpush.client.ClientConfig
 
setAlias(String) - 类 中的方法com.mpush.message.BindUserMessage
 
setAllotServer(String) - 类 中的方法com.mpush.client.ClientConfig
 
setAutoConnect(boolean) - 类 中的方法com.mpush.client.TcpConnection
 
setBindUser(String) - 类 中的方法com.mpush.api.connection.SessionContext
 
setBody(byte[], String) - 类 中的方法com.mpush.api.http.HttpRequest
 
setCallback(HttpCallback) - 类 中的方法com.mpush.api.http.HttpRequest
 
setClientListener(ClientListener) - 类 中的方法com.mpush.client.ClientConfig
 
setClientVersion(String) - 类 中的方法com.mpush.client.ClientConfig
 
setCode(byte) - 类 中的方法com.mpush.message.OkMessage
 
setCompressLimit(int) - 类 中的方法com.mpush.client.ClientConfig
 
setData(String) - 类 中的方法com.mpush.message.OkMessage
 
setDeviceId(String) - 类 中的方法com.mpush.client.ClientConfig
 
setEnableHttpProxy(boolean) - 类 中的方法com.mpush.client.ClientConfig
 
setExpireTime(long) - 类 中的方法com.mpush.message.HandshakeOkMessage
 
setHeaders(Map<String, String>) - 类 中的方法com.mpush.api.http.HttpRequest
 
setHeartbeat(int) - 类 中的方法com.mpush.api.connection.SessionContext
 
setHeartbeat(int) - 类 中的方法com.mpush.message.FastConnectOkMessage
 
setHeartbeat(int) - 类 中的方法com.mpush.message.HandshakeOkMessage
 
setLastReadTime() - 接口 中的方法com.mpush.api.connection.Connection
 
setLastReadTime() - 类 中的方法com.mpush.client.TcpConnection
 
setLastWriteTime() - 接口 中的方法com.mpush.api.connection.Connection
 
setLastWriteTime() - 类 中的方法com.mpush.client.TcpConnection
 
setLogEnabled(boolean) - 类 中的方法com.mpush.client.ClientConfig
 
setLogger(Logger) - 类 中的方法com.mpush.client.ClientConfig
 
setMaxHeartbeat(int) - 类 中的方法com.mpush.client.ClientConfig
 
setMinHeartbeat(int) - 类 中的方法com.mpush.client.ClientConfig
 
setOsName(String) - 类 中的方法com.mpush.client.ClientConfig
 
setOsVersion(String) - 类 中的方法com.mpush.client.ClientConfig
 
setPostParam(Map<String, String>, Charset) - 类 中的方法com.mpush.api.http.HttpRequest
 
setPostParam(Map<String, String>) - 类 中的方法com.mpush.api.http.HttpRequest
 
setPublicKey(String) - 类 中的方法com.mpush.client.ClientConfig
 
setReason(String) - 类 中的方法com.mpush.message.ErrorMessage
 
setReasonPhrase(String) - 类 中的方法com.mpush.message.HttpResponseMessage
 
setResponse(HttpResponse) - 类 中的方法com.mpush.client.HttpRequestQueue.RequestTask
 
setServerHost(String) - 类 中的方法com.mpush.client.ClientConfig
 
setServerKey(byte[]) - 类 中的方法com.mpush.message.HandshakeOkMessage
 
setServerPort(int) - 类 中的方法com.mpush.client.ClientConfig
 
setSessionId(String) - 类 中的方法com.mpush.message.HandshakeOkMessage
 
setSessionStorage(SessionStorage) - 类 中的方法com.mpush.client.ClientConfig
 
setSessionStorageDir(String) - 类 中的方法com.mpush.client.ClientConfig
 
setStatusCode(int) - 类 中的方法com.mpush.message.HttpResponseMessage
 
setTags(String) - 类 中的方法com.mpush.message.BindUserMessage
 
setTimeout(int) - 类 中的方法com.mpush.api.http.HttpRequest
 
setUserId(String) - 类 中的方法com.mpush.client.ClientConfig
 
setUserId(String) - 类 中的方法com.mpush.message.BindUserMessage
 
sha1(String) - 类 中的静态方法com.mpush.util.crypto.MD5Utils
HmacSHA1 加密
shutdown() - 类 中的方法com.mpush.client.ConnectThread
 
shutdown() - 类 中的方法com.mpush.util.thread.ExecutorManager
 
sign(byte[], String) - 类 中的静态方法com.mpush.util.crypto.RSAUtils
用私钥对信息生成数字签名
signal() - 类 中的方法com.mpush.util.thread.EventLock
 
signalAll() - 类 中的方法com.mpush.util.thread.EventLock
 
SIGNATURE_ALGORITHM - 类 中的静态变量com.mpush.util.crypto.RSAUtils
签名算法
start() - 接口 中的方法com.mpush.api.Client
 
START_THREAD_NAME - 类 中的静态变量com.mpush.util.thread.ExecutorManager
 
startRead() - 接口 中的方法com.mpush.api.PacketReader
 
startRead() - 类 中的方法com.mpush.codec.AsyncPacketReader
 
statusCode - 类 中的变量com.mpush.api.http.HttpResponse
 
statusCode - 类 中的变量com.mpush.message.HttpResponseMessage
 
stop() - 接口 中的方法com.mpush.api.Client
 
stopRead() - 接口 中的方法com.mpush.api.PacketReader
 
stopRead() - 类 中的方法com.mpush.codec.AsyncPacketReader
 
Strings - com.mpush.util中的类
Created by ohun on 2015/12/23.
Strings() - 类 的构造器com.mpush.util.Strings
 

T

tags - 类 中的变量com.mpush.message.BindUserMessage
 
TcpConnection - com.mpush.client中的类
Created by ohun on 2016/1/21.
TcpConnection(MPushClient, PacketReceiver) - 类 的构造器com.mpush.client.TcpConnection
 
TcpConnection.State - com.mpush.client中的枚举
 
THREAD_NAME_PREFIX - 类 中的静态变量com.mpush.util.thread.ExecutorManager
 
threadNumber - 类 中的变量com.mpush.util.thread.NamedThreadFactory
 
timestamp - 类 中的变量com.mpush.message.HandshakeMessage
 
toArray(String) - 类 中的静态方法com.mpush.security.AesCipher
 
toCMD(byte) - 枚举 中的静态方法com.mpush.api.protocol.Command
 
toInt(String, int) - 类 中的静态方法com.mpush.util.Strings
 
toLong(String, long) - 类 中的静态方法com.mpush.util.Strings
 
toString() - 类 中的方法com.mpush.api.connection.SessionContext
 
toString() - 类 中的方法com.mpush.api.http.HttpRequest
 
toString() - 类 中的方法com.mpush.api.http.HttpResponse
 
toString() - 类 中的方法com.mpush.api.protocol.Packet
 
toString() - 类 中的方法com.mpush.client.TcpConnection
 
toString() - 类 中的方法com.mpush.message.AckMessage
 
toString() - 类 中的方法com.mpush.message.BaseMessage
 
toString() - 类 中的方法com.mpush.message.BindUserMessage
 
toString() - 类 中的方法com.mpush.message.ErrorMessage
 
toString() - 类 中的方法com.mpush.message.FastConnectMessage
 
toString() - 类 中的方法com.mpush.message.FastConnectOkMessage
 
toString() - 类 中的方法com.mpush.message.HandshakeMessage
 
toString() - 类 中的方法com.mpush.message.HandshakeOkMessage
 
toString() - 类 中的方法com.mpush.message.KickUserMessage
 
toString() - 类 中的方法com.mpush.message.OkMessage
 
toString() - 类 中的方法com.mpush.message.PushMessage
 
toString() - 类 中的方法com.mpush.security.AesCipher
 
toString(byte[]) - 类 中的方法com.mpush.security.AesCipher
 
toString() - 类 中的方法com.mpush.security.RsaCipher
 
toString() - 类 中的方法com.mpush.session.PersistentSession
 

U

unbindUser() - 接口 中的方法com.mpush.api.protocol.MPushProtocol
 
uncompress(byte[]) - 类 中的静态方法com.mpush.util.IOUtils
 
unlock() - 类 中的方法com.mpush.util.thread.EventLock
 
uri - 类 中的变量com.mpush.api.http.HttpRequest
 
uri - 类 中的变量com.mpush.message.HttpRequestMessage
 
userId - 类 中的变量com.mpush.message.BindUserMessage
 
userId - 类 中的变量com.mpush.message.KickUserMessage
 
UTF_8 - 接口 中的静态变量com.mpush.api.Constants
 

V

validCheckCode() - 类 中的方法com.mpush.api.protocol.Packet
 
validLrc() - 类 中的方法com.mpush.api.protocol.Packet
 
valueOf(String) - 枚举 中的静态方法com.mpush.api.protocol.Command
返回带有指定名称的该类型的枚举常量。
valueOf(String) - 枚举 中的静态方法com.mpush.client.TcpConnection.State
返回带有指定名称的该类型的枚举常量。
values() - 枚举 中的静态方法com.mpush.api.protocol.Command
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
values() - 枚举 中的静态方法com.mpush.client.TcpConnection.State
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
verify(byte[], String, String) - 类 中的静态方法com.mpush.util.crypto.RSAUtils
校验数字签名

W

w(String, Object...) - 接口 中的方法com.mpush.api.Logger
 
w(String, Object...) - 类 中的方法com.mpush.util.DefaultLogger
 
withoutPadding() - 类 中的方法com.mpush.util.crypto.Base64.Encoder
Returns an encoder instance that encodes equivalently to this one, but without adding any padding character at the end of the encoded byte data.
wrap(byte[]) - 类 中的静态方法com.mpush.util.ByteBuf
 
wrap(InputStream) - 类 中的方法com.mpush.util.crypto.Base64.Decoder
Returns an input stream for decoding Base64 encoded byte stream.
wrap(OutputStream) - 类 中的方法com.mpush.util.crypto.Base64.Encoder
Wraps an output stream for encoding byte data using the Base64 encoding scheme.
write(Packet) - 接口 中的方法com.mpush.api.PacketWriter
 
write(Packet) - 类 中的方法com.mpush.codec.AsyncPacketWriter
 
WRITE_THREAD_NAME - 类 中的静态变量com.mpush.util.thread.ExecutorManager
 
A B C D E F G H I K L M N O P R S T U V W 
跳过导航链接

Copyright © 2016. All rights reserved.