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

A context for a connection provider. This provides additional endpoint methods to connection providers which are not accessible otherwise.
This interface is part of the Remoting 3 public API. While instances of this type may be used publicly, users are not encouraged to implement or extend this type as members may be added without notice.
| Method Summary | ||
|---|---|---|
void |
accept(ConnectionHandlerFactory connectionHandlerFactory)
Accept a connection that was received by the corresponding protocol handler. |
|
Endpoint |
getEndpoint()
Get the endpoint. |
|
Executor |
getExecutor()
Get the endpoint's executor. |
|
|
getProtocolServiceProvider(ProtocolServiceType<T> serviceType,
String name)
Get one registered protocol service provider of the given type and name. |
|
|
getProtocolServiceProviders(ProtocolServiceType<T> serviceType)
Get the currently-registered protocol service providers of the given type. |
|
| Method Detail |
|---|
Executor getExecutor()
void accept(ConnectionHandlerFactory connectionHandlerFactory)
connectionHandlerFactory - the connection handler factory<T> Iterable<Map.Entry<String,T>> getProtocolServiceProviders(ProtocolServiceType<T> serviceType)
T - the type of the provider interfaceserviceType - the service type
<T> T getProtocolServiceProvider(ProtocolServiceType<T> serviceType,
String name)
null if none was registered for that name.
T - the type of the provider interfaceserviceType - the service typename - the provider name
null if none was matchedEndpoint getEndpoint()
|
JBoss Remoting 3.1.0.Beta1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||