LivelinessQosPolicyKind.from_int(0),
new Duration_t(0,0)),
new ReliabilityQosPolicy(
ReliabilityQosPolicyKind.from_int(0),
new Duration_t(0,0)),
new DestinationOrderQosPolicy(
DestinationOrderQosPolicyKind.from_int(0)),
new HistoryQosPolicy(
HistoryQosPolicyKind.from_int(0),0),
new ResourceLimitsQosPolicy(0,0,0),
new TransportPriorityQosPolicy(0),
new LifespanQosPolicy (new Duration_t(0,0)),
new OwnershipQosPolicy(
OwnershipQosPolicyKind.from_int(0)));
domainparticipant =
domainparticipantFactory.create_participant(0,DPQOS,null);
topic =
domainparticipant.create_topic("foo",
"demo.dds.dcps.foosample.Foo",
tq ,null);
String st [] = new String [1];
st[0] = "" ;
suscriberqos = new SubscriberQos(
new org.omg.dds.PresentationQosPolicy(
org.omg.dds.PresentationQosPolicyAccessScopeKind.from_int(0),
false ,false ),
new PartitionQosPolicy(st),
new GroupDataQosPolicy(tab),
new org.omg.dds.EntityFactoryQosPolicy(false));
suscriber = domainparticipant.create_subscriber(suscriberqos,null);
datareaderqos = new DataReaderQos(
new DurabilityQosPolicy(
DurabilityQosPolicyKind.from_int(0),
new Duration_t(0,0)),
new DeadlineQosPolicy(new Duration_t(0,0)),
new LatencyBudgetQosPolicy(new Duration_t(0,0)),
new LivelinessQosPolicy (
LivelinessQosPolicyKind.from_int(0),
new Duration_t(0,0)),
new ReliabilityQosPolicy(
ReliabilityQosPolicyKind.from_int(0),
new Duration_t(0,0)),
new DestinationOrderQosPolicy(
DestinationOrderQosPolicyKind.from_int(0)),
new HistoryQosPolicy(
HistoryQosPolicyKind.from_int(0),0),
new ResourceLimitsQosPolicy(0,0,0),
new UserDataQosPolicy(tab) ,