public interface Endpoint
Channel,
Client,
RemotingServer| Modifier and Type | Method and Description |
|---|---|
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.
|
void |
startClose() |
URL getUrl()
ChannelHandler getChannelHandler()
InetSocketAddress getLocalAddress()
void send(Object message) throws RemotingException
message - RemotingExceptionvoid send(Object message, boolean sent) throws RemotingException
message - sent - already sent to socket?RemotingExceptionvoid close()
void close(int timeout)
void startClose()
boolean isClosed()
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.