private ResponseCommand createResponseCommand(short cmdCode) { ResponseCommand command = new RpcResponseCommand(); command.CmdCode = RpcCommandCode.valueOf(cmdCode); return(command); }