|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An ChannelServer allows you accept incomming Channel connections. The accepted channels just get added to the Registry. This interace abstraction is here so that it can be implemented using both the Blocking and Non-blocking IO APIs.
| Method Summary | |
void |
bind(InvokerLocator bindURI)
Binds the server to network resource. |
void |
close()
releases all network resources. |
InvokerLocator |
getLocalURI()
The URI that the server is bound to. |
void |
start()
Starts the server so that it will accept new channels. |
void |
stop()
Stops the server from accepting any more channels. |
| Method Detail |
public void bind(InvokerLocator bindURI)
throws IOException
IOExceptionpublic InvokerLocator getLocalURI()
public void start()
throws IOException
IOExceptionpublic void stop()
public void close()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||