|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Endpoint
Endpoint. (API/SPI, Prototype, ThreadSafe)
Channel,
Client,
Server| Method Summary | |
|---|---|
void |
close()
close the channel. |
void |
close(int timeout)
Graceful close the channel. |
ChannelHandler |
getChannelHandler()
get channel handler. |
InetSocketAddress |
getLocalAddress()
get local address. |
URL |
getUrl()
get url. |
boolean |
isClosed()
is closed. |
void |
send(Object message)
send message. |
void |
send(Object message,
boolean sent)
send message. |
| Method Detail |
|---|
URL getUrl()
ChannelHandler getChannelHandler()
InetSocketAddress getLocalAddress()
void send(Object message)
throws RemotingException
message -
RemotingException
void send(Object message,
boolean sent)
throws RemotingException
message - sent - 是否已发送完成
RemotingExceptionvoid close()
void close(int timeout)
boolean isClosed()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||