Package org.jboss.as.protocol.mgmt
Interface ManagementRequest<T,A>
- All Superinterfaces:
ManagementRequestHandler<T,,A> ManagementResponseHandler<T,A>
- All Known Implementing Classes:
AbstractManagementRequest,ManagementPingRequest
A management request.
- Author:
- John Bailey, Kabir Khan, Emanuel Muckenhuber
-
Method Summary
Modifier and TypeMethodDescriptionbyteThe operation type.voidsendRequest(ActiveOperation.ResultHandler<T> resultHandler, ManagementRequestContext<A> context) Send the request.Methods inherited from interface org.jboss.as.protocol.mgmt.ManagementRequestHandler
handleRequestMethods inherited from interface org.jboss.as.protocol.mgmt.ManagementResponseHandler
handleFailed
-
Method Details
-
getOperationType
byte getOperationType()The operation type.- Returns:
- the operation type
-
sendRequest
void sendRequest(ActiveOperation.ResultHandler<T> resultHandler, ManagementRequestContext<A> context) throws IOException Send the request.- Parameters:
resultHandler- the result handlercontext- the request context- Throws:
IOException- for any error
-