public class BinaryClient extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
BinaryClient.BinaryClientBuilder |
| 限定符和类型 | 方法和说明 |
|---|---|
io.netty.channel.Channel |
channel() |
String |
channelLongID() |
BinaryClient |
connect() |
BinaryClient |
disConnect() |
int |
getAutoReconnect() |
String |
getClientName() |
AbstractBinaryDecoder |
getDecoder() |
AbstractBinaryEncoder |
getEncoder() |
MessageFactory |
getFactory() |
int |
getHeartIntervalSec() |
AddressPair |
getRemoteAddress() |
long |
getServerTime() |
SocketAddress |
remoteAddress() |
void |
sendMessage(Message msg) |
void |
sendMessage(Message msg,
Proc3<Boolean,Throwable,io.netty.channel.Channel> listener) |
public void sendMessage(Message msg, Proc3<Boolean,Throwable,io.netty.channel.Channel> listener) throws Exception
Exceptionpublic BinaryClient disConnect()
public BinaryClient connect()
public String channelLongID()
public io.netty.channel.Channel channel()
public SocketAddress remoteAddress()
public String getClientName()
public AddressPair getRemoteAddress()
public int getAutoReconnect()
public AbstractBinaryDecoder getDecoder()
public AbstractBinaryEncoder getEncoder()
public MessageFactory getFactory()
public long getServerTime()
public int getHeartIntervalSec()
Copyright © 2017. All rights reserved.