public void handle(final Connection connection, final InputStream input) throws IOException {
final byte commandCode;
expectHeader(input, ManagementProtocol.REQUEST_OPERATION);
commandCode = StreamUtils.readByte(input);
final AbstractMessageHandler operation = operationFor(commandCode);
if (operation == null) {
throw new IOException("Invalid command code " + commandCode + " received from server manager");
}
log.debugf("Received DomainController operation [%s]", operation);
operation.handle(connection, input);
}