public BroadcastRec() { 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); }
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(); }