コード例 #1
0
ファイル: Participant.cs プロジェクト: victoriahard/ops
        /**
         * Creates a Topic that can be used to Subscribe to the participant info data
         * @return a new Topic for the participant info data.
         */
        public Topic CreateParticipantInfoTopic()
        {
            Topic infoTopic = new Topic("ops.bit.ParticipantInfoTopic", domain.GetMetaDataMcPort(), "ops.ParticipantInfoData", domain.GetDomainAddress());

            infoTopic.SetDomainID(domainID);
            infoTopic.SetParticipantID(participantID);
            infoTopic.SetTransport(Topic.TRANSPORT_MC);
            return(infoTopic);
        }
コード例 #2
0
ファイル: Participant.cs プロジェクト: staxgr/ops
 /**
  * Creates a Topic that can be used to Subscribe to the participant info data
  * @return a new Topic for the participant info data.
  */
 public Topic CreateParticipantInfoTopic()
 {
     Topic infoTopic = new Topic("ops.bit.ParticipantInfoTopic", domain.GetMetaDataMcPort(), "ops.ParticipantInfoData", domain.GetDomainAddress());
     infoTopic.SetDomainID(domainID);
     infoTopic.SetParticipantID(participantID);
     infoTopic.SetTransport(Topic.TRANSPORT_MC);
     return infoTopic;
 }