org.exolab.jms.net.connector
Interface ManagedConnectionAcceptor
- All Known Implementing Classes:
- SocketManagedConnectionAcceptor
- public interface ManagedConnectionAcceptor
A ManagedConnectionAcceptor
is responsible for accepting
connections, and constructing new ManagedConnection
instances to
serve them.
- Version:
- $Revision: 1.2 $ $Date: 2004/12/30 05:25:47 $
- Author:
- Tim Anderson
accept
public void accept(ManagedConnectionAcceptorListener listener)
throws ResourceException
- Start accepting connections
- Parameters:
listener
- the listener to delegate accepted connections to- Throws:
ResourceException
- if connections cannot be accepted
getURI
public URI getURI()
throws ResourceException
- Returns the URI that this acceptor is accepting connections on
- Returns:
- the URI that this acceptor is accepting connections on
- Throws:
ResourceException
- for any error
close
public void close()
throws ResourceException
- Stop accepting connection requests, and clean up any allocated resources
- Throws:
ResourceException
- if acceptor cannot be closed
Copyright © 1999-2007 The OpenJMS Group. All Rights Reserved.