|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.alibaba.dubbo.remoting.exchange.support.header.HeaderExchangeServer
public class HeaderExchangeServer
ExchangeServerImpl
Constructor Summary | |
---|---|
HeaderExchangeServer(Server server)
|
Method Summary | |
---|---|
void |
close()
close the channel. |
void |
close(int timeout)
Graceful close the channel. |
Channel |
getChannel(InetSocketAddress remoteAddress)
get channel. |
ChannelHandler |
getChannelHandler()
get channel handler. |
Collection<Channel> |
getChannels()
get channels. |
ExchangeChannel |
getExchangeChannel(InetSocketAddress remoteAddress)
get channel. |
Collection<ExchangeChannel> |
getExchangeChannels()
get channels. |
InetSocketAddress |
getLocalAddress()
get local address. |
Server |
getServer()
|
URL |
getUrl()
get url. |
boolean |
isBound()
is bound. |
boolean |
isClosed()
is closed. |
void |
reset(Parameters parameters)
Deprecated. |
void |
reset(URL url)
reset. |
void |
send(Object message)
send message. |
void |
send(Object message,
boolean sent)
send message. |
void |
startClose()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HeaderExchangeServer(Server server)
Method Detail |
---|
public Server getServer()
public boolean isClosed()
Endpoint
isClosed
in interface Endpoint
public void close()
Endpoint
close
in interface Endpoint
public void close(int timeout)
Endpoint
close
in interface Endpoint
public void startClose()
startClose
in interface Endpoint
public Collection<ExchangeChannel> getExchangeChannels()
ExchangeServer
getExchangeChannels
in interface ExchangeServer
public ExchangeChannel getExchangeChannel(InetSocketAddress remoteAddress)
ExchangeServer
getExchangeChannel
in interface ExchangeServer
public Collection<Channel> getChannels()
Server
getChannels
in interface Server
public Channel getChannel(InetSocketAddress remoteAddress)
Server
getChannel
in interface Server
public boolean isBound()
Server
isBound
in interface Server
public InetSocketAddress getLocalAddress()
Endpoint
getLocalAddress
in interface Endpoint
public URL getUrl()
Endpoint
getUrl
in interface Endpoint
public ChannelHandler getChannelHandler()
Endpoint
getChannelHandler
in interface Endpoint
public void reset(URL url)
Resetable
reset
in interface Resetable
@Deprecated public void reset(Parameters parameters)
reset
in interface Server
public void send(Object message) throws RemotingException
Endpoint
send
in interface Endpoint
RemotingException
public void send(Object message, boolean sent) throws RemotingException
Endpoint
send
in interface Endpoint
sent
- 是否已发送完成
RemotingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |