|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ManagedConnectionAcceptor
A ManagedConnectionAcceptor
is responsible for accepting
connections, and constructing new ManagedConnection
instances to
serve them.
Method Summary | |
---|---|
void |
accept(ManagedConnectionAcceptorListener listener)
Start accepting connections |
void |
close()
Stop accepting connection requests, and clean up any allocated resources |
URI |
getURI()
Returns the URI that this acceptor is accepting connections on |
Method Detail |
---|
void accept(ManagedConnectionAcceptorListener listener) throws ResourceException
listener
- the listener to delegate accepted connections to
ResourceException
- if connections cannot be acceptedURI getURI() throws ResourceException
ResourceException
- for any errorvoid close() throws ResourceException
ResourceException
- if acceptor cannot be closed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |