public interface ConnectionHandlerContext
| Modifier and Type | Method and Description |
|---|---|
Connection |
getConnection()
Get the connection corresponding to this connection handler context.
|
ConnectionProviderContext |
getConnectionProviderContext()
Get the connection provider context associated with this connection handler context.
|
RegisteredService |
getRegisteredService(String serviceType)
Get a registered service.
|
void |
receiveAuthChallenge(int id,
byte[] challenge)
Receive an authentication challenge.
|
void |
receiveAuthDelete(int id)
Receive an authentication delete message.
|
void |
receiveAuthDeleteAck(int id)
Receive an authentication delete acknowledgement message.
|
void |
receiveAuthReject(int id)
Receive an authentication reject message.
|
void |
receiveAuthRequest(int id,
String mechName,
byte[] initialResponse)
Receive an authentication request.
|
void |
receiveAuthResponse(int id,
byte[] response)
Receive an authentication response.
|
void |
receiveAuthSuccess(int id,
byte[] challenge)
Receive an authentication complete message.
|
void |
remoteClosed()
Indicate that the remote side has terminated the connection, so the local side should be closed as well.
|
ConnectionProviderContext getConnectionProviderContext()
RegisteredService getRegisteredService(String serviceType)
serviceType - the service type stringnull if no such service is currently registeredvoid remoteClosed()
Connection getConnection()
void receiveAuthRequest(int id,
String mechName,
byte[] initialResponse)
id - the ID number to usemechName - the mechanism name (not null)initialResponse - the initial response (possibly null)void receiveAuthChallenge(int id,
byte[] challenge)
id - the ID number to usechallenge - the challenge body (not null)void receiveAuthResponse(int id,
byte[] response)
id - the ID number to useresponse - the response body (not null)void receiveAuthSuccess(int id,
byte[] challenge)
id - the ID number to usechallenge - the final challenge (may be null if none is needed)void receiveAuthReject(int id)
id - the ID number to usevoid receiveAuthDelete(int id)
id - the ID number to usevoid receiveAuthDeleteAck(int id)
id - the ID number to useCopyright © 2017 JBoss by Red Hat. All rights reserved.