public Publisher(Topic topic) { this.topic = topic; this.bytes = new byte[topic.GetSampleMaxSize()]; this.participant = Participant.GetInstance(topic.GetDomainID(), topic.GetParticipantID()); //this.inProcessTransport = participant.GetInProcessTransport(); Init(); }
public Publisher(Topic topic) { this.topic = topic; this.bytes = new byte[topic.GetSampleMaxSize()]; this.participant = Participant.GetInstance(topic.GetDomainID(), topic.GetParticipantID()); this.inProcessTransport = participant.GetInProcessTransport(); Init(); }
public Subscriber(Topic t) { if (t == null) { throw new OPSInvalidTopicException("Not possible to create Subscriber with null Topic!"); } this.topic = t; this.participant = Participant.GetInstance(topic.GetDomainID(), topic.GetParticipantID()); deadlineNotifier = DeadlineNotifier.GetInstance(); inProcessTransport = participant.GetInProcessTransport(); }