|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines a transport-neutral interface to objects that listen for incoming
connections for secure remote calls. In the case of TCP, a connection
acceptor is usually a wrapper around an instance of
java.net.ServerSocket
.
Method Summary | |
SecureServerConnection |
accept()
Blocks as necessary until a new incoming connection is made, and returns a SecureServerConnection
instance representing that connection. |
void |
close()
Causes the acceptor to stop listening for new incoming connections. |
SecureClientEndpoint |
getClientEndpoint()
Returns a client endpoint that is compatible with this acceptor. |
Method Detail |
public SecureClientEndpoint getClientEndpoint()
All client endpoint instances returned by repeated calls to this method, and all serialized copies of them, must be equal.
public SecureServerConnection accept() throws java.io.IOException
SecureServerConnection
instance representing that connection.java.io.IOException
- if an I/O exception occurspublic void close() throws java.io.IOException
accept
method.java.io.IOException
- if an I/O exception occurs
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |