|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.cuny.cat.comm.SocketBasedCatpServerConnector
public class SocketBasedCatpServerConnector
The implementation of ServerConnector
when
SocketBasedInfrastructureImpl
is used.
Constructor Summary | |
---|---|
SocketBasedCatpServerConnector()
|
Method Summary | |
---|---|
Connection<CatpMessage> |
accept()
waits until a ClientConnector connects in and establish a
Connection . |
void |
close()
closes this connector. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SocketBasedCatpServerConnector()
Method Detail |
---|
public Connection<CatpMessage> accept() throws ConnectionException
ServerConnector
ClientConnector
connects in and establish a
Connection
.
accept
in interface ServerConnector<CatpMessage>
Connection
established with the client.
ConnectionException
public void close() throws ConnectionException
ServerConnector
close
in interface ServerConnector<CatpMessage>
ConnectionException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |