Ejemplo n.º 1
0
                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);
                }
Ejemplo n.º 2
0
                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);
                }
Ejemplo n.º 3
0
            public Body(Body value)
            {
                /// Initiliaze the protected variables
                m_BroadcastRec = new BroadcastRec();
                m_BroadcastRec.setParent(this);

                /// Copy the values
                m_BroadcastRec = value.getBroadcastRec();
                m_BroadcastRec.setParent(this);
                /// This code is currently not supported
            }
Ejemplo n.º 4
0
                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();
                }
Ejemplo n.º 5
0
 public void setBroadcastRec(BroadcastRec value)
 {
     m_BroadcastRec = value;
     setParentPresenceVector();
 }
Ejemplo n.º 6
0
 public bool notEquals(BroadcastRec value)
 {
     return(!this.isEqual(value));
 }
Ejemplo n.º 7
0
 public void setParent(BroadcastRec parent)
 {
     m_parent = parent;
 }
Ejemplo n.º 8
0
            public Body(Body value)
            {
                /// Initiliaze the protected variables
                m_BroadcastRec = new BroadcastRec();
                m_BroadcastRec.setParent(this);

                /// Copy the values
                m_BroadcastRec = value.getBroadcastRec();
                m_BroadcastRec.setParent(this);
                /// This code is currently not supported
            }
Ejemplo n.º 9
0
                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;
                }
Ejemplo n.º 10
0
 public bool notEquals(BroadcastRec value)
 {
     return !this.isEqual(value);
 }
Ejemplo n.º 11
0
                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;
                }
Ejemplo n.º 12
0
                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();
                }
Ejemplo n.º 13
0
 public void setBroadcastRec(BroadcastRec value)
 {
     m_BroadcastRec = value;
     setParentPresenceVector();
 }
Ejemplo n.º 14
0
            public BroadcastLocal.Body setBody(Body value)
            {
                m_BroadcastRec = value.getBroadcastRec();
                m_BroadcastRec.setParent(this);
                /// This code is currently not supported

                return this;
            }
Ejemplo n.º 15
0
 public Body()
 {
     m_BroadcastRec = new BroadcastRec();
     m_BroadcastRec.setParent(this);
 }
Ejemplo n.º 16
0
 public void setParent(BroadcastRec parent)
 {
     m_parent = parent;
 }
Ejemplo n.º 17
0
 public Body()
 {
     m_BroadcastRec = new BroadcastRec();
     m_BroadcastRec.setParent(this);
 }