|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.remoting.transport.async.bio.BlockingServer
Provides a Blocking implemenation of the AsynchChannelServer interface. Sets up a blocking ServerSocket to accept blocking client connections.
| Constructor Summary | |
BlockingServer()
|
|
| Method Summary | |
void |
bind(InvokerLocator localURI)
Binds the server to network resource. |
void |
close()
releases all network resources. |
InvokerLocator |
getLocalURI()
The URI that the server is bound to. |
void |
run()
|
void |
start()
Starts the server so that it will accept new channels. |
void |
stop()
Stops the server from accepting any more channels. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BlockingServer()
| Method Detail |
public void bind(InvokerLocator localURI)
throws IOException
ChannelServer
bind in interface ChannelServerIOExceptionpublic InvokerLocator getLocalURI()
ChannelServer
getLocalURI in interface ChannelServer
public void start()
throws IOException
ChannelServer
start in interface ChannelServerIOExceptionpublic void stop()
ChannelServer
stop in interface ChannelServerpublic void close()
ChannelServer
close in interface ChannelServerpublic void run()
run in interface Runnable
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||