public abstract class NettyDoipClientChannel extends java.lang.Object implements DoipClientChannel
| 限定符和类型 | 字段和说明 |
|---|---|
protected io.netty.channel.Channel |
channel |
protected NettyDoipClientHandler |
handler |
protected boolean |
isConnected |
| 构造器和说明 |
|---|
NettyDoipClientChannel() |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract void |
connect(java.lang.String url) |
boolean |
isConnected() |
void |
sendMessage(DoipMessage message,
DoipMessageCallback cb) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseprotected NettyDoipClientHandler handler
protected boolean isConnected
protected io.netty.channel.Channel channel
public void sendMessage(DoipMessage message, DoipMessageCallback cb)
sendMessage 在接口中 DoipClientChannelpublic abstract void connect(java.lang.String url)
throws java.net.URISyntaxException,
java.lang.InterruptedException
connect 在接口中 DoipClientChanneljava.net.URISyntaxExceptionjava.lang.InterruptedExceptionpublic boolean isConnected()
isConnected 在接口中 DoipClientChannel