|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.npsnet.xrti.MessageChannelAcceptor
org.npsnet.xrti.InternetMessageChannelAcceptor
An acceptor for Internet message channels.
| Field Summary | |
private java.net.ServerSocket |
serverSocket
The server socket for incoming connections. |
| Constructor Summary | |
InternetMessageChannelAcceptor(int port)
Constructor. |
|
| Method Summary | |
MessageChannel |
acceptMessageChannel()
Accepts a new message channel. |
void |
close()
Closes this acceptor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private java.net.ServerSocket serverSocket
| Constructor Detail |
public InternetMessageChannelAcceptor(int port)
throws java.io.IOException
port - the port on which to accept incoming connections
java.io.IOException - if an error occurs| Method Detail |
public MessageChannel acceptMessageChannel()
throws java.io.IOException
acceptMessageChannel in class MessageChannelAcceptorjava.io.IOException - if an error occurs
public void close()
throws java.io.IOException
close in class MessageChannelAcceptorjava.io.IOException - if an error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||