public abstract class NettyIrpClientChannel extends java.lang.Object implements IrpClientChannel
| 限定符和类型 | 字段和说明 |
|---|---|
protected io.netty.channel.Channel |
channel |
protected NettyIrpClientHandler |
handler |
protected boolean |
isConnected |
| 构造器和说明 |
|---|
NettyIrpClientChannel() |
| 限定符和类型 | 方法和说明 |
|---|---|
abstract void |
connect(java.lang.String url) |
static IrpClientChannel |
createByServerUrl(java.lang.String url) |
boolean |
isConnected() |
void |
sendMessage(IrpMessage message,
IrpMessageCallback cb) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseprotected NettyIrpClientHandler handler
protected boolean isConnected
protected io.netty.channel.Channel channel
public static IrpClientChannel createByServerUrl(java.lang.String url)
public void sendMessage(IrpMessage message, IrpMessageCallback cb)
sendMessage 在接口中 IrpClientChannelpublic abstract void connect(java.lang.String url)
throws java.net.URISyntaxException
connect 在接口中 IrpClientChanneljava.net.URISyntaxExceptionpublic boolean isConnected()
isConnected 在接口中 IrpClientChannel