public bool isEqual(BroadcastRec value) { if (m_PresenceVector != value.m_PresenceVector) { return(false); } if (!this.getDestinationID().isEqual(value.getDestinationID())) { return(false); } if (!this.getSourceID().isEqual(value.getSourceID())) { return(false); } if (this.getPriority() != value.getPriority()) { return(false); } if (!this.getMessagePayload().isEqual(value.getMessagePayload())) { return(false); } return(true); }
public BroadcastGlobal.Body.BroadcastRec setBroadcastRec(BroadcastRec value) { m_PresenceVector = value.m_PresenceVector; m_DestinationID = value.getDestinationID(); m_SourceID = value.getSourceID(); m_Priority = value.m_Priority; m_MessagePayload = value.getMessagePayload(); return(this); }
public BroadcastRec(BroadcastRec value) { /// Initiliaze the protected variables m_parent = null; m_PresenceVector = 0; m_DestinationID = new DestinationID(); m_DestinationID.setParent(this); m_SourceID = new SourceID(); m_SourceID.setParent(this); m_Priority = 0; m_MessagePayload = new MessagePayload(); m_MessagePayload.setParent(this); /// Copy the values m_PresenceVector = value.m_PresenceVector; m_DestinationID = value.getDestinationID(); m_SourceID = value.getSourceID(); m_Priority = value.m_Priority; m_MessagePayload = value.getMessagePayload(); }
public BroadcastLocal.Body.BroadcastRec setBroadcastRec(BroadcastRec value) { m_PresenceVector = value.m_PresenceVector; m_DestinationID = value.getDestinationID(); m_SourceID = value.getSourceID(); m_Priority = value.m_Priority; m_MessagePayload = value.getMessagePayload(); return this; }
public bool isEqual(BroadcastRec value) { if (m_PresenceVector != value.m_PresenceVector) { return false; } if (!this.getDestinationID().isEqual(value.getDestinationID())) { return false; } if (!this.getSourceID().isEqual(value.getSourceID())) { return false; } if (this.getPriority() != value.getPriority()) { return false; } if (!this.getMessagePayload().isEqual(value.getMessagePayload())) { return false; } return true; }
public BroadcastRec(BroadcastRec value) { /// Initiliaze the protected variables m_parent = null; m_PresenceVector = 0; m_DestinationID = new DestinationID(); m_DestinationID.setParent(this); m_SourceID = new SourceID(); m_SourceID.setParent(this); m_Priority = 0; m_MessagePayload = new MessagePayload(); m_MessagePayload.setParent(this); /// Copy the values m_PresenceVector = value.m_PresenceVector; m_DestinationID = value.getDestinationID(); m_SourceID = value.getSourceID(); m_Priority = value.m_Priority; m_MessagePayload = value.getMessagePayload(); }