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);
}
private AbstractMessageHandler operationFor(final byte commandByte) {
switch (commandByte) {
case DomainControllerProtocol.REGISTER_REQUEST: