public interface ConnectionHandler extends HandleableCloseable<ConnectionHandler>
HandleableCloseable.Key
Modifier and Type | Method and Description |
---|---|
Collection<Principal> |
getPrincipals()
Get the authenticated principals for this connection.
|
String |
getRemoteEndpointName()
Get the name of the remote endpoint.
|
UserInfo |
getUserInfo()
Get the authenticated UserInfo for this connection.
|
Cancellable |
open(String serviceType,
Result<Channel> result,
OptionMap optionMap)
Open a request handler.
|
addCloseHandler, awaitClosed, awaitClosedUninterruptibly, close, closeAsync
Cancellable open(String serviceType, Result<Channel> result, OptionMap optionMap)
serviceType
- the service type stringresult
- the result for the connected channeloptionMap
- the options for this serviceCollection<Principal> getPrincipals()
UserInfo getUserInfo()
String getRemoteEndpointName()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.