|
JBoss Remoting 3.1.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ConnectionProvider

A connection provider. Used to establish connections with remote systems. There is typically one instance of this interface per connection provider factory per endpoint.
This interface is part of the Remoting 3 public API, and is intended to be implemented by users of this API. Abstract members will generally not be added to such types so as to avoid backwards compatibility problems.
| Method Summary | |
|---|---|
org.jboss.xnio.Cancellable |
connect(URI uri,
org.jboss.xnio.OptionMap connectOptions,
org.jboss.xnio.Result<ConnectionHandlerFactory> result,
CallbackHandler callbackHandler)
Open an outbound connection to the given URI. |
Object |
getProviderInterface()
Get the user data associated with this connection provider. |
| Method Detail |
|---|
org.jboss.xnio.Cancellable connect(URI uri,
org.jboss.xnio.OptionMap connectOptions,
org.jboss.xnio.Result<ConnectionHandlerFactory> result,
CallbackHandler callbackHandler)
throws IllegalArgumentException
uri - the URI to connect toconnectOptions - the options to use for this connectionresult - the result which should receive the connectioncallbackHandler - the callback handler to use for authentication
IllegalArgumentException - if the URI is not validObject getProviderInterface()
|
JBoss Remoting 3.1.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||