Ejemplo n.º 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());
 }
Ejemplo n.º 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());
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 4
0
                /*
                 * Sets this SendRec with the values in the given SendRec
                 */
                public SendRec setAs(SendRec value)
                {
                    m_PresenceVector  = value.m_PresenceVector;
                    m_DestSubsystemID = value.m_DestSubsystemID;
                    m_DestNodeID      = value.m_DestNodeID;
                    m_DestComponentID = value.m_DestComponentID;
                    m_SrcSubsystemID  = value.m_SrcSubsystemID;
                    m_SrcNodeID       = value.m_SrcNodeID;
                    m_SrcComponentID  = value.m_SrcComponentID;
                    m_Priority        = value.m_Priority;
                    m_MessagePayload.setAs(value.getMessagePayload());

                    return(this);
                }
Ejemplo n.º 5
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();
                }
Ejemplo n.º 6
0
                /*
                 * Sets this SendRec with the values in the given SendRec
                 */
                public SendRec setAs(SendRec value)
                {
                    m_PresenceVector = value.m_PresenceVector;
                    m_DestSubsystemID = value.m_DestSubsystemID;
                    m_DestNodeID = value.m_DestNodeID;
                    m_DestComponentID = value.m_DestComponentID;
                    m_SrcSubsystemID = value.m_SrcSubsystemID;
                    m_SrcNodeID = value.m_SrcNodeID;
                    m_SrcComponentID = value.m_SrcComponentID;
                    m_Priority = value.m_Priority;
                    m_MessagePayload.setAs(value.getMessagePayload());

                    return this;
                }
Ejemplo n.º 7
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());
 }
Ejemplo n.º 8
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());
 }
Ejemplo n.º 9
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;
 }
Ejemplo n.º 10
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();
                }