Class Handshake
- java.lang.Object
-
- de.desy.tine.structUtils.TTaggedStructure
-
- de.desy.mst.libs.framework.mstapp.util.camInstrumentation.Handshake
-
- All Implemented Interfaces:
java.lang.Cloneable
public class Handshake extends de.desy.tine.structUtils.TTaggedStructure
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getPath()
int
getPID()
java.lang.String
getProcessName()
int
getUID()
boolean
isParent()
void
setParent(boolean isParent)
Mark the handshake as if this application is the parent application of the monitored application.void
setPath(java.lang.String path)
void
setPID(int pid)
void
setProcessName(java.lang.String processName)
void
setUID(int uid)
-
Methods inherited from class de.desy.tine.structUtils.TTaggedStructure
addField, addField, addField, addField, addField, addField, addField, addField, addField, addField, addField, addField, addField, addField, addField, addField, addField, addField, addField, addField, addFieldsFrom, addFieldsFrom, clone, fixExtendedBytes, getByteArray, getExtendedOffset, getExtendedSizeInBytes, getFieldNames, getFields, getFieldValue, getName, getNextFieldIndex, getSizeInBytes, hasExtendedSpace, initDone, setArraySeparator, setExtendedOffset, setFieldSeparator, toByteArray, toExtendedByteArray, toString, toString, toString, toStruct, toStruct
-
-
-
-
Method Detail
-
getProcessName
public java.lang.String getProcessName()
- Returns:
- the name
-
getPath
public java.lang.String getPath()
- Returns:
- the path
-
getUID
public int getUID()
- Returns:
- the uid of the application
-
getPID
public int getPID()
- Returns:
- the pid of the application
-
isParent
public boolean isParent()
- Returns:
- true if the application is parent of the monitored application or false otherwise
-
setProcessName
public void setProcessName(java.lang.String processName)
- Parameters:
processName
- the name of the process
-
setPath
public void setPath(java.lang.String path)
- Parameters:
path
- the path to the process exe (the exe file included)
-
setUID
public void setUID(int uid)
- Parameters:
uid
- the application unique id
-
setPID
public void setPID(int pid)
- Parameters:
pid
- the pid of the application
-
setParent
public void setParent(boolean isParent)
Mark the handshake as if this application is the parent application of the monitored application. In this case the given pid is the pid of the parent, and the child processes are searched for- Parameters:
isParent
- true if this is a parent or false otherwise
-
-