public bool isEqual(RequestControl value) { if (!this.getMsgHeader().isEqual(value.getMsgHeader())) { return(false); } if (!this.getBody().isEqual(value.getBody())) { return(false); } return(true); }
public virtual bool isDefaultAuthorityGreater(RequestControl msg) { Console.WriteLine("isDefaultAuthorityGreater guard: Comparing default authority of " + defaultAuthority + " against " + "client authority of " + msg.getBody().getRequestControlRec().getAuthorityCode()); return(defaultAuthority > msg.getBody().getRequestControlRec().getAuthorityCode()); }
public virtual bool isCurrentAuthorityLess(RequestControl msg) { return(currentAuthority < msg.getBody().getRequestControlRec().getAuthorityCode()); }
public virtual void SetAuthorityAction(RequestControl msg) { Console.WriteLine("Storing authority code of controller as " + msg.getBody().getRequestControlRec().getAuthorityCode()); currentAuthority = msg.getBody().getRequestControlRec().getAuthorityCode(); }
public virtual bool isDefaultAuthorityGreater(RequestControl msg) { Console.WriteLine("isDefaultAuthorityGreater guard: Comparing default authority of " + defaultAuthority + " against " + "client authority of " + msg.getBody().getRequestControlRec().getAuthorityCode()); return (defaultAuthority > msg.getBody().getRequestControlRec().getAuthorityCode()); }
public virtual bool isCurrentAuthorityLess(RequestControl msg) { return (currentAuthority < msg.getBody().getRequestControlRec().getAuthorityCode()); }
public virtual void SetAuthorityAction(RequestControl msg) { Console.WriteLine("Storing authority code of controller as " + msg.getBody().getRequestControlRec().getAuthorityCode()); currentAuthority = msg.getBody().getRequestControlRec().getAuthorityCode(); }
public bool isEqual(RequestControl value) { if (!this.getMsgHeader().isEqual(value.getMsgHeader())) { return false; } if (!this.getBody().isEqual(value.getBody())) { return false; } return true; }