public bool isEqual(ReportStatus value) { if (!this.getMsgHeader().isEqual(value.getMsgHeader())) { return(false); } if (!this.getBody().isEqual(value.getBody())) { return(false); } return(true); }
public bool isEqual(ReportStatus value) { if (!this.getMsgHeader().isEqual(value.getMsgHeader())) { return false; } if (!this.getBody().isEqual(value.getBody())) { return false; } return true; }
public virtual void displayStatusAction(ReportStatus msg) { String[] mgmt_states = { "Init", "Ready", "Standby", "Shutdown", "Failure", "Emergency" }; Console.WriteLine("Management server status: " + mgmt_states[msg.getBody().getReportStatusRec().getStatus()]); }