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

Static Public Member Functions

static void checkReturnCode (int retCode, OsplServiceEnvironment environment, String message)
 
static void checkReturnCodeWithTimeout (int retCode, OsplServiceEnvironment environment, String message) throws TimeoutException
 
static DDS.Duration_t convert (OsplServiceEnvironment environment, Duration d)
 
static Duration convert (OsplServiceEnvironment env, DDS.Duration_t d)
 
static long convert (OsplServiceEnvironment environment, InstanceHandle h)
 
static InstanceHandle convert (OsplServiceEnvironment env, long handle)
 
static DDS.Time_t convert (OsplServiceEnvironment environment, Time t)
 
static Time convert (OsplServiceEnvironment env, DDS.Time_t t)
 
static String getOsplExceptionStack (Exception ex, StackTraceElement[] stack)
 
static void throwLastErrorException (OsplServiceEnvironment environment)
 

Detailed Description

Definition at line 31 of file Utilities.java.

Member Function Documentation

◆ checkReturnCode()

static void org.opensplice.dds.core.Utilities.checkReturnCode ( int  retCode,
OsplServiceEnvironment  environment,
String  message 
)
static

Definition at line 33 of file Utilities.java.

◆ checkReturnCodeWithTimeout()

static void org.opensplice.dds.core.Utilities.checkReturnCodeWithTimeout ( int  retCode,
OsplServiceEnvironment  environment,
String  message 
) throws TimeoutException
static

Definition at line 176 of file Utilities.java.

◆ convert() [1/6]

static DDS.Duration_t org.opensplice.dds.core.Utilities.convert ( OsplServiceEnvironment  environment,
Duration  d 
)
static

Definition at line 232 of file Utilities.java.

◆ convert() [2/6]

static Duration org.opensplice.dds.core.Utilities.convert ( OsplServiceEnvironment  env,
DDS.Duration_t  d 
)
static

Definition at line 246 of file Utilities.java.

◆ convert() [3/6]

static long org.opensplice.dds.core.Utilities.convert ( OsplServiceEnvironment  environment,
InstanceHandle  h 
)
static

Definition at line 250 of file Utilities.java.

◆ convert() [4/6]

static InstanceHandle org.opensplice.dds.core.Utilities.convert ( OsplServiceEnvironment  env,
long  handle 
)
static

Definition at line 264 of file Utilities.java.

◆ convert() [5/6]

static DDS.Time_t org.opensplice.dds.core.Utilities.convert ( OsplServiceEnvironment  environment,
Time  t 
)
static

Definition at line 268 of file Utilities.java.

◆ convert() [6/6]

static Time org.opensplice.dds.core.Utilities.convert ( OsplServiceEnvironment  env,
DDS.Time_t  t 
)
static

Definition at line 281 of file Utilities.java.

◆ getOsplExceptionStack()

static String org.opensplice.dds.core.Utilities.getOsplExceptionStack ( Exception  ex,
StackTraceElement []  stack 
)
static

Definition at line 149 of file Utilities.java.

◆ throwLastErrorException()

static void org.opensplice.dds.core.Utilities.throwLastErrorException ( OsplServiceEnvironment  environment)
static

Definition at line 182 of file Utilities.java.


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