VR-Link JAVA API Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
List of all members | Static Public Member Functions | Static Private Attributes
com.mak.vrlj.vl.ProcessUtil Class Reference

Process utilities for VRLJ. More...

+ Collaboration diagram for com.mak.vrlj.vl.ProcessUtil:

Static Public Member Functions

static String getHost ()
static int getPid ()
static int makeAppIdFromPid ()
 This gets the PID from the OS to make an Application Identifier.

Static Private Attributes

static int thePid
 Process ID (PID) for the running process (the jvm).
static String theHost
 Hostname for the running process (the jvm).

Detailed Description

Process utilities for VRLJ.

Member Function Documentation

static String com.mak.vrlj.vl.ProcessUtil.getHost ( )
inlinestatic
Returns
the hostname

References com.mak.vrlj.vl.ProcessUtil.theHost.

static int com.mak.vrlj.vl.ProcessUtil.getPid ( )
inlinestatic
static int com.mak.vrlj.vl.ProcessUtil.makeAppIdFromPid ( )
inlinestatic

This gets the PID from the OS to make an Application Identifier.

This performs an bitwise AND on the PID with 0xFFFF because Application Identifier is an unsigned 16 bit value

Returns
the application ID number.

References com.mak.vrlj.vl.ProcessUtil.getPid().

Member Data Documentation

String com.mak.vrlj.vl.ProcessUtil.theHost
staticprivate

Hostname for the running process (the jvm).

Referenced by com.mak.vrlj.vl.ProcessUtil.getHost().

int com.mak.vrlj.vl.ProcessUtil.thePid
staticprivate

Process ID (PID) for the running process (the jvm).

Referenced by com.mak.vrlj.vl.ProcessUtil.getPid().


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

Document ID: Generated on Mon Jun 22 21:18:40 EDT 2020 from SVN revision 213785
Copyright © 2005-2018 MAK Technologies. All Rights Reserved (www.mak.com)