Class AndroidProcessId

java.lang.Object
com.arjuna.ats.internal.arjuna.utils.AndroidProcessId
All Implemented Interfaces:
Process

public class AndroidProcessId extends Object implements Process
Obtains a unique value to represent the process id via sockets and ports.
Since:
HPTS 3.0.
Version:
$Id: SocketProcessId.java 2342 2006-03-30 13:06:17Z $
Author:
Mark Little (mark_little@hp.com)
  • Constructor Details

    • AndroidProcessId

      public AndroidProcessId()
      Use the Android Process instance to get myPid.
  • Method Details

    • getpid

      public int getpid()
      Specified by:
      getpid in interface Process
      Returns:
      the process id. This had better be unique between processes on the same machine. If not we're in trouble!