|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.alibaba.dubbo.remoting.transport.ServerDelegate
public class ServerDelegate
ServerDelegate
| Constructor Summary | |
|---|---|
ServerDelegate()
|
|
ServerDelegate(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. |
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 |
setServer(Server server)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServerDelegate()
public ServerDelegate(Server server)
| Method Detail |
|---|
public Server getServer()
public void setServer(Server server)
public boolean isBound()
Server
isBound in interface Serverpublic void reset(URL url)
Resetable
reset in interface Resetable@Deprecated public void reset(Parameters parameters)
reset in interface Serverpublic Collection<Channel> getChannels()
Server
getChannels in interface Serverpublic Channel getChannel(InetSocketAddress remoteAddress)
Server
getChannel in interface Serverpublic URL getUrl()
Endpoint
getUrl in interface Endpointpublic ChannelHandler getChannelHandler()
Endpoint
getChannelHandler in interface Endpointpublic InetSocketAddress getLocalAddress()
Endpoint
getLocalAddress in interface Endpoint
public void send(Object message)
throws RemotingException
Endpoint
send in interface EndpointRemotingException
public void send(Object message,
boolean sent)
throws RemotingException
Endpoint
send in interface Endpointsent - 是否已发送完成
RemotingExceptionpublic void close()
Endpoint
close in interface Endpointpublic void close(int timeout)
Endpoint
close in interface Endpointpublic boolean isClosed()
Endpoint
isClosed in interface Endpoint
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||