OpenSplice Java 5 DCPS  v6.x
OpenSplice Java 5 OpenSplice Data Distribution Service Data-Centric Publish-Subscribe API
org.opensplice.dds.core.policy.LatencyBudgetImpl Class Reference
Inheritance diagram for org.opensplice.dds.core.policy.LatencyBudgetImpl:
Inheritance graph
Collaboration diagram for org.opensplice.dds.core.policy.LatencyBudgetImpl:
Collaboration graph

Public Member Functions

 LatencyBudgetImpl (OsplServiceEnvironment environment)
 
 LatencyBudgetImpl (OsplServiceEnvironment environment, Duration duration)
 
int compareTo (LatencyBudget o)
 
boolean equals (Object other)
 
Duration getDuration ()
 
ServiceEnvironment getEnvironment ()
 
Class<? extends QosPolicygetPolicyClass ()
 
int hashCode ()
 
Comparable< LatencyBudgetrequestedOfferedContract ()
 
LatencyBudget withDuration (Duration duration)
 Copy this policy and override the value of the property. More...
 
LatencyBudget withDuration (long duration, TimeUnit unit)
 Copy this policy and override the value of the property. More...
 

Protected Attributes

OsplServiceEnvironment environment
 

Detailed Description

Definition at line 31 of file LatencyBudgetImpl.java.

Constructor & Destructor Documentation

◆ LatencyBudgetImpl() [1/2]

org.opensplice.dds.core.policy.LatencyBudgetImpl.LatencyBudgetImpl ( OsplServiceEnvironment  environment)

Definition at line 35 of file LatencyBudgetImpl.java.

◆ LatencyBudgetImpl() [2/2]

org.opensplice.dds.core.policy.LatencyBudgetImpl.LatencyBudgetImpl ( OsplServiceEnvironment  environment,
Duration  duration 
)

Definition at line 40 of file LatencyBudgetImpl.java.

Member Function Documentation

◆ compareTo()

int org.opensplice.dds.core.policy.LatencyBudgetImpl.compareTo ( LatencyBudget  o)

Definition at line 57 of file LatencyBudgetImpl.java.

◆ equals()

boolean org.opensplice.dds.core.policy.LatencyBudgetImpl.equals ( Object  other)

Definition at line 62 of file LatencyBudgetImpl.java.

◆ getDuration()

Duration org.opensplice.dds.core.policy.LatencyBudgetImpl.getDuration ( )

Implements org.omg.dds.core.policy.LatencyBudget.

Definition at line 70 of file LatencyBudgetImpl.java.

◆ getEnvironment()

ServiceEnvironment org.opensplice.dds.core.policy.QosPolicyImpl.getEnvironment ( )
inherited
Returns
the org.omg.dds.core.ServiceEnvironment object that directly or indirectly was used to create this object.

Implements org.omg.dds.core.DDSObject.

Definition at line 40 of file QosPolicyImpl.java.

◆ getPolicyClass()

Class<? extends QosPolicy> org.opensplice.dds.core.policy.LatencyBudgetImpl.getPolicyClass ( )

Definition at line 86 of file LatencyBudgetImpl.java.

◆ hashCode()

int org.opensplice.dds.core.policy.LatencyBudgetImpl.hashCode ( )

Definition at line 91 of file LatencyBudgetImpl.java.

◆ requestedOfferedContract()

Comparable<LatencyBudget> org.opensplice.dds.core.policy.LatencyBudgetImpl.requestedOfferedContract ( )

Definition at line 52 of file LatencyBudgetImpl.java.

◆ withDuration() [1/2]

LatencyBudget org.opensplice.dds.core.policy.LatencyBudgetImpl.withDuration ( Duration  duration)

Copy this policy and override the value of the property.

Parameters
durationSpecifies a duration for the maximum acceptable additional delay from the time the data is written until the data is delivered.
Returns
a new LatencyBudget policy

Implements org.omg.dds.core.policy.LatencyBudget.

Definition at line 75 of file LatencyBudgetImpl.java.

◆ withDuration() [2/2]

LatencyBudget org.opensplice.dds.core.policy.LatencyBudgetImpl.withDuration ( long  duration,
TimeUnit  unit 
)

Copy this policy and override the value of the property.

Parameters
durationSpecifies a long duration for the maximum acceptable additional delay from the time the data is written until the data is delivered.
unitThe TimeUnit which the duration describes (i.e. TimeUnit.SECONDS or TimeUnit.MILLISECONDS)
Returns
a new policy

Implements org.omg.dds.core.policy.LatencyBudget.

Definition at line 80 of file LatencyBudgetImpl.java.

Member Data Documentation

◆ environment

OsplServiceEnvironment org.opensplice.dds.core.policy.QosPolicyImpl.environment
protectedinherited

Definition at line 29 of file QosPolicyImpl.java.


The documentation for this class was generated from the following file: