|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Channel
Channel. (API/SPI, Prototype, ThreadSafe)
Client,
Server.getChannels(),
Server.getChannel(InetSocketAddress)| Method Summary | |
|---|---|
Object |
getAttribute(String key)
get attribute. |
InetSocketAddress |
getRemoteAddress()
get remote address. |
boolean |
hasAttribute(String key)
has attribute. |
boolean |
isConnected()
is connected. |
void |
removeAttribute(String key)
remove attribute. |
void |
setAttribute(String key,
Object value)
set attribute. |
| Methods inherited from interface com.alibaba.dubbo.remoting.Endpoint |
|---|
close, close, getChannelHandler, getLocalAddress, getUrl, isClosed, send, send |
| Method Detail |
|---|
InetSocketAddress getRemoteAddress()
boolean isConnected()
boolean hasAttribute(String key)
key - key.
Object getAttribute(String key)
key - key.
void setAttribute(String key,
Object value)
key - key.value - value.void removeAttribute(String key)
key - key.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||