Пример #1
0
 public void setAs(SendRec value)
 {
     m_PresenceVector   = value.getPresenceVector();
     m_ReliableDelivery = value.getReliableDelivery();
     m_Priority         = value.getPriority();
     m_DestinationID.setAs(value.getDestinationID());
     m_SourceID.setAs(value.getSourceID());
     m_MessagePayload.setAs(value.getMessagePayload());
 }
Пример #2
0
 /*
  *
  */
 public SendRec(SendRec value)
 {
     m_PresenceVector  = JausUtils.setPV(value.getPresenceVector());
     m_DestSubsystemID = value.getDestSubsystemID();
     m_DestNodeID      = value.getDestNodeID();
     m_DestComponentID = value.getDestComponentID();
     m_SrcSubsystemID  = value.getSrcSubsystemID();
     m_SrcNodeID       = value.getSrcNodeID();
     m_SrcComponentID  = value.getSrcComponentID();
     m_Priority        = value.getPriority();
     m_MessagePayload.setAs(value.getMessagePayload());
 }
Пример #3
0
 public bool isEquals(SendRec value)
 {
     if ((m_PresenceVector != value.getPresenceVector()) ||
         (m_ReliableDelivery != value.getReliableDelivery()) ||
         (m_Priority != value.getPriority()) ||
         (m_DestinationID.notEquals(value.getDestinationID())) ||
         (m_SourceID.notEquals(value.getSourceID())) ||
         (m_MessagePayload.notEquals(value.getMessagePayload())))
     {
         return(false);
     }
     return(true);
 }
Пример #4
0
                public SendRec(SendRec value)
                {
                    m_DestinationID  = new DestinationID();
                    m_SourceID       = new SourceID();
                    m_MessagePayload = new MessagePayload();

                    // Copy the values
                    m_PresenceVector   = value.getPresenceVector();
                    m_ReliableDelivery = value.getReliableDelivery();
                    m_DestinationID    = value.getDestinationID();
                    m_SourceID         = value.getSourceID();
                    m_Priority         = value.getPriority();
                    m_MessagePayload   = value.getMessagePayload();
                }
Пример #5
0
 /*
  *
  */
 public SendRec(SendRec value)
 {
     m_PresenceVector 	= JausUtils.setPV(value.getPresenceVector());
     m_DestSubsystemID 	= value.getDestSubsystemID();
     m_DestNodeID 		= value.getDestNodeID();
     m_DestComponentID 	= value.getDestComponentID();
     m_SrcSubsystemID 	= value.getSrcSubsystemID();
     m_SrcNodeID 		= value.getSrcNodeID();
     m_SrcComponentID 	= value.getSrcComponentID();
     m_Priority 			= value.getPriority();
     m_MessagePayload.setAs(value.getMessagePayload());
 }
Пример #6
0
 public void setAs(SendRec value)
 {
     m_PresenceVector = value.getPresenceVector();
     m_ReliableDelivery = value.getReliableDelivery();
     m_Priority = value.getPriority();
     m_DestinationID.setAs(value.getDestinationID());
     m_SourceID.setAs(value.getSourceID());
     m_MessagePayload.setAs(value.getMessagePayload());
 }
Пример #7
0
 public bool isEquals(SendRec value)
 {
     if ((m_PresenceVector != value.getPresenceVector()) ||
         (m_ReliableDelivery != value.getReliableDelivery()) ||
         (m_Priority != value.getPriority()) ||
         (m_DestinationID.notEquals(value.getDestinationID())) ||
         (m_SourceID.notEquals(value.getSourceID())) ||
         (m_MessagePayload.notEquals(value.getMessagePayload())))
     {
         return false;
     }
     return true;
 }
Пример #8
0
                public SendRec(SendRec value)
                {
                    m_DestinationID = new DestinationID();
                    m_SourceID = new SourceID();
                    m_MessagePayload = new MessagePayload();

                    // Copy the values
                    m_PresenceVector = value.getPresenceVector();
                    m_ReliableDelivery = value.getReliableDelivery();
                    m_DestinationID = value.getDestinationID();
                    m_SourceID = value.getSourceID();
                    m_Priority = value.getPriority();
                    m_MessagePayload = value.getMessagePayload();
                }