public class ClientRequest extends Object implements ClientListenerRequest
HANDSHAKE| Constructor and Description |
|---|
ClientRequest(BinaryRawReader reader)
Constructor.
|
ClientRequest(long reqId)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
authorize(ClientConnectionContext ctx,
SecurityPermission perm)
Authorize for specified permission.
|
ClientResponse |
process(ClientConnectionContext ctx)
Processes the request.
|
long |
requestId() |
protected static void |
runWithSecurityExceptionHandler(Runnable runnable)
Run the code with converting
SecurityException to IgniteClientException. |
public ClientRequest(BinaryRawReader reader)
reader - Reader.public ClientRequest(long reqId)
reqId - Request id.public long requestId()
requestId in interface ClientListenerRequestpublic ClientResponse process(ClientConnectionContext ctx)
protected static void runWithSecurityExceptionHandler(Runnable runnable)
SecurityException to IgniteClientException.protected void authorize(ClientConnectionContext ctx, SecurityPermission perm)
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.0 Release Date : May 23 2018