Exemple #1
0
        public QueryIdentification setAs(QueryIdentification value)
        {
            m_MsgHeader = value.m_MsgHeader;
            m_Body      = value.m_Body;

            return(this);
        }
Exemple #2
0
 private void QueryIDTask(Object source, ElapsedEventArgs e)
 {
     // If we know our ID fully, start the dynamic service discovery process
     if (!jausRouter.getJausAddress().containsWildcards())
     {
         QueryIdentification query_msg = new QueryIdentification();
         query_msg.getBody().getQueryIdentificationRec().setQueryType(2);
         JausAddress local = new JausAddress(jausRouter.getJausAddress().getSubsystemID(), 0xFF, 0xFF);
         sendJausMessage(query_msg, local);
     }
 }
Exemple #3
0
        public QueryIdentification(QueryIdentification value)
        {
            /// Initiliaze the protected variables
            m_MsgHeader = new MsgHeader();
            m_Body      = new Body();
            m_IsCommand = false;

            /// Copy the values
            m_MsgHeader = value.m_MsgHeader;
            m_Body      = value.m_Body;
        }
Exemple #4
0
        public bool  isEqual(QueryIdentification value)
        {
            if (!this.getMsgHeader().isEqual(value.getMsgHeader()))
            {
                return(false);
            }
            if (!this.getBody().isEqual(value.getBody()))
            {
                return(false);
            }

            return(true);
        }
Exemple #5
0
 public bool  notEquals(QueryIdentification value)
 {
     return(!this.isEqual(value));
 }