MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / MultiRepoWorker

Method MultiRepoWorker

java/tests/multirepo/MultiRepoWorker.java:60–76  ·  view source on GitHub ↗
(DomainParticipant participant)

Source from the content-addressed store, hash-verified

58 private boolean read;
59
60 public MultiRepoWorker(DomainParticipant participant) {
61 assert (participant != null);
62
63 this.participant = participant;
64
65 MessageTypeSupport typeSupport = new MessageTypeSupportImpl();
66 if (typeSupport.register_type(participant, "MultiRepo::Message") != RETCODE_OK.value) {
67 throw new IllegalStateException("Unable to register type!");
68 }
69
70 topic = participant.create_topic("MultiRepo::Topic", typeSupport.get_type_name(),
71 TOPIC_QOS_DEFAULT.get(), null, DEFAULT_STATUS_MASK.value);
72
73 transportConfig = "" + ++transportId;
74
75 assert (topic != null);
76 }
77
78 public DomainParticipant getParticipant() {
79 return participant;

Callers

nothing calls this directly

Calls 4

getMethod · 0.95
register_typeMethod · 0.45
create_topicMethod · 0.45
get_type_nameMethod · 0.45

Tested by

no test coverage detected