public class NettyChannel extends Object implements com.weibo.api.motan.transport.Channel
| 构造器和说明 |
|---|
NettyChannel(NettyClient nettyClient) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
void |
close(int timeout) |
InetSocketAddress |
getLocalAddress() |
InetSocketAddress |
getRemoteAddress() |
com.weibo.api.motan.rpc.URL |
getUrl() |
boolean |
isAvailable() |
boolean |
isClosed() |
boolean |
open() |
com.weibo.api.motan.rpc.Response |
request(com.weibo.api.motan.rpc.Request request) |
public NettyChannel(NettyClient nettyClient)
public com.weibo.api.motan.rpc.Response request(com.weibo.api.motan.rpc.Request request)
throws com.weibo.api.motan.transport.TransportException
request 在接口中 com.weibo.api.motan.transport.Channelcom.weibo.api.motan.transport.TransportExceptionpublic boolean open()
open 在接口中 com.weibo.api.motan.transport.Channelpublic void close()
close 在接口中 com.weibo.api.motan.transport.Channelpublic void close(int timeout)
close 在接口中 com.weibo.api.motan.transport.Channelpublic InetSocketAddress getLocalAddress()
getLocalAddress 在接口中 com.weibo.api.motan.transport.Channelpublic InetSocketAddress getRemoteAddress()
getRemoteAddress 在接口中 com.weibo.api.motan.transport.Channelpublic boolean isClosed()
isClosed 在接口中 com.weibo.api.motan.transport.Channelpublic boolean isAvailable()
isAvailable 在接口中 com.weibo.api.motan.transport.Channelpublic com.weibo.api.motan.rpc.URL getUrl()
getUrl 在接口中 com.weibo.api.motan.transport.ChannelCopyright © 2024. All rights reserved.