public static interface ServiceEnvironment.ServiceProviderInterface
DomainParticipantFactory getParticipantFactory()
DynamicTypeFactory getTypeFactory()
<TYPE> TypeSupport<TYPE> newTypeSupport(Class<TYPE> type, String registeredName)
TypeSupport
object for the given physical
type. The Service will register this type under the given name
with any participant with which the TypeSupport
is
used.TYPE
- The physical type of all samples read or written
by any DataReader
or
DataWriter
typed by the
resulting TypeSupport
.type
- The physical type of all samples read or written
by any DataReader
or
DataWriter
typed by the
resulting TypeSupport
.registeredName
- The logical name under which this type
will be registered with any
DomainParticipant
with which the resulting
TypeSupport
is used.TypeSupport
object, which can
subsequently be used to create one or more
Topic
s.Duration newDuration(long duration, TimeUnit unit)
Duration
of the given magnitude.
A duration of magnitude Long.MAX_VALUE
indicates an
infinite duration, regardless of the units specified.ModifiableTime newTime(long time, TimeUnit units)
t
such that:
t.isValid() == false
ModifiableInstanceHandle newInstanceHandle()
InstanceHandle nilHandle()
GuardCondition newGuardCondition()
WaitSet newWaitSet()
QosProvider newQosProvider(String uri, String profile)
uri
- The uniform resource identifier. For example,
"file:///somewhere/on/disk/qos-config.xml"
"http:///somewhere.org/here/json-config.json"profile
- Name of a profile in the document obtained via the uriPolicyFactory getPolicyFactory()
PolicyFactory
.PolicyFactory
DynamicDataFactory getDynamicDataFactory()
KeyedString newKeyedString()
KeyedBytes newKeyedBytes()
Copyright © 2014. All rights reserved.