VR-Link JAVA API Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
List of all members | Static Public Member Functions | Private 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 ()
 Get the current host name. More...
 
static int getPid ()
 Get the current process identifier. More...
 
static int makeAppIdFromPid ()
 This gets the PID from the OS to make an Application Identifier. More...
 

Private Member Functions

 ProcessUtil ()
 Utility class; not intended to be instantiated. More...
 

Static Private Attributes

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

Detailed Description

Process utilities for VRLJ.

Constructor & Destructor Documentation

com.mak.vrlj.vl.ProcessUtil.ProcessUtil ( )
inlineprivate

Utility class; not intended to be instantiated.

Member Function Documentation

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

Get the current host name.

Returns
the hostname

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

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

Get the current process identifier.

Returns
the PID

References com.mak.vrlj.vl.ProcessUtil.thePid.

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.

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 Sep 28 00:09:32 EDT 2026 from SVN revision 295353
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)