Package org.jboss.as.protocol.mgmt
Interface ManagementRequest<T,A>
-
- All Superinterfaces:
ManagementRequestHandler<T,A>,ManagementResponseHandler<T,A>
- All Known Implementing Classes:
AbstractManagementRequest,ManagementPingRequest
public interface ManagementRequest<T,A> extends ManagementResponseHandler<T,A>
A management request.- Author:
- John Bailey, Kabir Khan, Emanuel Muckenhuber
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description bytegetOperationType()The operation type.voidsendRequest(ActiveOperation.ResultHandler<T> resultHandler, ManagementRequestContext<A> context)Send the request.-
Methods inherited from interface org.jboss.as.protocol.mgmt.ManagementRequestHandler
handleRequest
-
Methods inherited from interface org.jboss.as.protocol.mgmt.ManagementResponseHandler
handleFailed
-
-
-
-
Method Detail
-
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
-
-