diff options
| author | Paul Buetow <paul@buetow.org> | 2008-08-15 04:09:42 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2008-08-15 04:09:42 +0000 |
| commit | afed274c10a93957f82a009824cafe8d83aa68a8 (patch) | |
| tree | 4a4d3980a3d9eb32bf7be443a83afe4c21dcdf55 /VS-Sim-Javadoc/core/VSAbstractProcess.html | |
new branches
Diffstat (limited to 'VS-Sim-Javadoc/core/VSAbstractProcess.html')
| -rw-r--r-- | VS-Sim-Javadoc/core/VSAbstractProcess.html | 1979 |
1 files changed, 1979 insertions, 0 deletions
diff --git a/VS-Sim-Javadoc/core/VSAbstractProcess.html b/VS-Sim-Javadoc/core/VSAbstractProcess.html new file mode 100644 index 0000000..992fa60 --- /dev/null +++ b/VS-Sim-Javadoc/core/VSAbstractProcess.html @@ -0,0 +1,1979 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!--NewPage--> +<HTML> +<HEAD> +<!-- Generated by javadoc (build 1.6.0_03-p4) on Thu Aug 14 07:45:33 GMT 2008 --> +<TITLE> +VSAbstractProcess +</TITLE> + +<META NAME="date" CONTENT="2008-08-14"> + +<LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> + +<SCRIPT type="text/javascript"> +function windowTitle() +{ + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="VSAbstractProcess"; + } +} +</SCRIPT> +<NOSCRIPT> +</NOSCRIPT> + +</HEAD> + +<BODY BGCOLOR="white" onload="windowTitle();"> +<HR> + + +<!-- ========= START OF TOP NAVBAR ======= --> +<A NAME="navbar_top"><!-- --></A> +<A HREF="#skip-navbar_top" title="Skip navigation links"></A> +<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> +<TR> +<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> +<A NAME="navbar_top_firstrow"><!-- --></A> +<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> + <TR ALIGN="center" VALIGN="top"> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> + <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> + <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> + </TR> +</TABLE> +</TD> +<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> +</EM> +</TD> +</TR> + +<TR> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + PREV CLASS + <A HREF="../core/VSInternalProcess.html" title="class in core"><B>NEXT CLASS</B></A></FONT></TD> +<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> + <A HREF="../index.html?core/VSAbstractProcess.html" target="_top"><B>FRAMES</B></A> + <A HREF="VSAbstractProcess.html" target="_top"><B>NO FRAMES</B></A> + <SCRIPT type="text/javascript"> + <!-- + if(window==top) { + document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>'); + } + //--> +</SCRIPT> +<NOSCRIPT> + <A HREF="../allclasses-noframe.html"><B>All Classes</B></A> +</NOSCRIPT> + + +</FONT></TD> +</TR> +<TR> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> + SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> +<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> +DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> +</TR> +</TABLE> +<A NAME="skip-navbar_top"></A> +<!-- ========= END OF TOP NAVBAR ========= --> + +<HR> +<!-- ======== START OF CLASS DATA ======== --> +<H2> +<FONT SIZE="-1"> +core</FONT> +<BR> +Class VSAbstractProcess</H2> +<PRE> +java.lang.Object + <IMG SRC="../resources/inherit.gif" ALT="extended by "><A HREF="../prefs/VSPrefs.html" title="class in prefs">prefs.VSPrefs</A> + <IMG SRC="../resources/inherit.gif" ALT="extended by "><A HREF="../prefs/VSSerializablePrefs.html" title="class in prefs">prefs.VSSerializablePrefs</A> + <IMG SRC="../resources/inherit.gif" ALT="extended by "><B>core.VSAbstractProcess</B> +</PRE> +<DL> +<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../serialize/VSSerializable.html" title="interface in serialize">VSSerializable</A></DD> +</DL> +<DL> +<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../core/VSInternalProcess.html" title="class in core">VSInternalProcess</A></DD> +</DL> +<HR> +<DL> +<DT><PRE>public abstract class <B>VSAbstractProcess</B><DT>extends <A HREF="../prefs/VSSerializablePrefs.html" title="class in prefs">VSSerializablePrefs</A><DT>implements <A HREF="../serialize/VSSerializable.html" title="interface in serialize">VSSerializable</A></DL> +</PRE> + +<P> +The class VSAbstractProcess, an object of this class represents a process + of a simulator. +<P> + +<P> +<DL> +<DT><B>Author:</B></DT> + <DD>Paul C. Buetow</DD> +</DL> +<HR> + +<P> +<!-- =========== FIELD SUMMARY =========== --> + +<A NAME="field_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Field Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected double</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#clockOffset">clockOffset</A></B></CODE> + +<BR> + The clock offset.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected float</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#clockVariance">clockVariance</A></B></CODE> + +<BR> + The clock variance.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected java.awt.Color</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#crashedColor">crashedColor</A></B></CODE> + +<BR> + The color used if the process has crashed.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected java.util.ArrayList<java.lang.Long></CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#crashHistory">crashHistory</A></B></CODE> + +<BR> + The crash history.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected java.awt.Color</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#currentColor">currentColor</A></B></CODE> + +<BR> + The process' current color.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected static java.lang.String[]</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#DEFAULT_COLOR_VALUE_KEYS">DEFAULT_COLOR_VALUE_KEYS</A></B></CODE> + +<BR> + The Constant DEFAULT_COLOR_VALUE_KEYS.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected static java.lang.String[]</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#DEFAULT_FLOAT_VALUE_KEYS">DEFAULT_FLOAT_VALUE_KEYS</A></B></CODE> + +<BR> + The Constant DEFAULT_FLOAT_VALUE_KEYS.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected static java.lang.String[]</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#DEFAULT_INTEGER_VALUE_KEYS">DEFAULT_INTEGER_VALUE_KEYS</A></B></CODE> + +<BR> + The Constant DEFAULT_INTEGER_VALUE_KEYS.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected static java.lang.String[]</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#DEFAULT_LONG_VALUE_KEYS">DEFAULT_LONG_VALUE_KEYS</A></B></CODE> + +<BR> + The Constant DEFAULT_LONG_VALUE_KEYS.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected static java.lang.String[]</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#DEFAULT_STRING_VALUE_KEYS">DEFAULT_STRING_VALUE_KEYS</A></B></CODE> + +<BR> + The Constant DEFAULT_STRING_VALUE_KEYS.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected long</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#globalTime">globalTime</A></B></CODE> + +<BR> + The global time.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#hasCrashed">hasCrashed</A></B></CODE> + +<BR> + The process has crashed.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#hasStarted">hasStarted</A></B></CODE> + +<BR> + The process has started.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#isCrashed">isCrashed</A></B></CODE> + +<BR> + The process is crashed.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#isHighlighted">isHighlighted</A></B></CODE> + +<BR> + The process is highlighted.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#isPaused">isPaused</A></B></CODE> + +<BR> + The process is paused.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected long</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#lamportTime">lamportTime</A></B></CODE> + +<BR> + The lamport time.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected java.util.ArrayList<<A HREF="../core/time/VSLamportTime.html" title="class in core.time">VSLamportTime</A>></CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#lamportTimeHistory">lamportTimeHistory</A></B></CODE> + +<BR> + The lamport time history.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected long</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#localTime">localTime</A></B></CODE> + +<BR> + The local time.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected <A HREF="../simulator/VSLogging.html" title="class in simulator">VSLogging</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#loging">loging</A></B></CODE> + +<BR> + The loging object.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected <A HREF="../prefs/VSPrefs.html" title="class in prefs">VSPrefs</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#prefs">prefs</A></B></CODE> + +<BR> + The simulator's default prefs.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#processID">processID</A></B></CODE> + +<BR> + The process id.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#processNum">processNum</A></B></CODE> + +<BR> + The process num.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected java.util.ArrayList<<A HREF="../protocols/VSAbstractProtocol.html" title="class in protocols">VSAbstractProtocol</A>></CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#protocolsToReset">protocolsToReset</A></B></CODE> + +<BR> + The protocols to reset if the simulator is over or the reset + button has been pressed.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected <A HREF="../utils/VSRandom.html" title="class in utils">VSRandom</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#random">random</A></B></CODE> + +<BR> + The random generator of the process.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected <A HREF="../core/VSTask.html" title="class in core">VSTask</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#randomCrashTask">randomCrashTask</A></B></CODE> + +<BR> + The random crash task.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected static long</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#serialVersionUID">serialVersionUID</A></B></CODE> + +<BR> + The data serialization id.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected <A HREF="../simulator/VSSimulatorVisualization.html" title="class in simulator">VSSimulatorVisualization</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#simulatorVisualization">simulatorVisualization</A></B></CODE> + +<BR> + The simulator canvas.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected <A HREF="../utils/VSPriorityQueue.html" title="class in utils">VSPriorityQueue</A><<A HREF="../core/VSTask.html" title="class in core">VSTask</A>></CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#tasks">tasks</A></B></CODE> + +<BR> + The tasks of the process.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#timeModified">timeModified</A></B></CODE> + +<BR> + The time has been modified in a task.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected java.awt.Color</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#tmpColor">tmpColor</A></B></CODE> + +<BR> + A temp.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected <A HREF="../core/time/VSVectorTime.html" title="class in core.time">VSVectorTime</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#vectorTime">vectorTime</A></B></CODE> + +<BR> + The vector time.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected java.util.ArrayList<<A HREF="../core/time/VSVectorTime.html" title="class in core.time">VSVectorTime</A>></CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#vectorTimeHistory">vectorTimeHistory</A></B></CODE> + +<BR> + The vector time history.</TD> +</TR> +</TABLE> + <A NAME="fields_inherited_from_class_prefs.VSPrefs"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> +<TH ALIGN="left"><B>Fields inherited from class prefs.<A HREF="../prefs/VSPrefs.html" title="class in prefs">VSPrefs</A></B></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><A HREF="../prefs/VSPrefs.html#BOOLEAN_PREFIX">BOOLEAN_PREFIX</A>, <A HREF="../prefs/VSPrefs.html#COLOR_PREFIX">COLOR_PREFIX</A>, <A HREF="../prefs/VSPrefs.html#FLOAT_PREFIX">FLOAT_PREFIX</A>, <A HREF="../prefs/VSPrefs.html#id">id</A>, <A HREF="../prefs/VSPrefs.html#INTEGER_PREFIX">INTEGER_PREFIX</A>, <A HREF="../prefs/VSPrefs.html#LONG_PREFIX">LONG_PREFIX</A>, <A HREF="../prefs/VSPrefs.html#STRING_PREFIX">STRING_PREFIX</A>, <A HREF="../prefs/VSPrefs.html#VECTOR_PREFIX">VECTOR_PREFIX</A></CODE></TD> +</TR> +</TABLE> + +<!-- ======== CONSTRUCTOR SUMMARY ======== --> + +<A NAME="constructor_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Constructor Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#VSAbstractProcess(prefs.VSPrefs, int, simulator.VSSimulatorVisualization, simulator.VSLogging)">VSAbstractProcess</A></B>(<A HREF="../prefs/VSPrefs.html" title="class in prefs">VSPrefs</A> prefs, + int processNum, + <A HREF="../simulator/VSSimulatorVisualization.html" title="class in simulator">VSSimulatorVisualization</A> simulatorVisualization, + <A HREF="../simulator/VSLogging.html" title="class in simulator">VSLogging</A> loging)</CODE> + +<BR> + Instantiates a new process.</TD> +</TR> +</TABLE> + +<!-- ========== METHOD SUMMARY =========== --> + +<A NAME="method_summary"><!-- --></A> +<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> +<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> +<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> +<B>Method Summary</B></FONT></TH> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#addClockOffset(long)">addClockOffset</A></B>(long add)</CODE> + +<BR> + Adds the clock offset.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected abstract void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#createRandomCrashTask_()">createRandomCrashTask_</A></B>()</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#deserialize(serialize.VSSerialize, java.io.ObjectInputStream)">deserialize</A></B>(<A HREF="../serialize/VSSerialize.html" title="class in serialize">VSSerialize</A> serialize, + java.io.ObjectInputStream objectInputStream)</CODE> + +<BR> + Deserializes</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#equals(core.VSAbstractProcess)">equals</A></B>(<A HREF="../core/VSAbstractProcess.html" title="class in core">VSAbstractProcess</A> process)</CODE> + +<BR> + Equals.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#fillWithDefaults()">fillWithDefaults</A></B>()</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected long</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#getARandomCrashTime()">getARandomCrashTime</A></B>()</CODE> + +<BR> + Gets the a random crash time.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> float</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#getClockVariance()">getClockVariance</A></B>()</CODE> + +<BR> + Gets the clock variance.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> java.lang.Long[]</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#getCrashHistoryArray()">getCrashHistoryArray</A></B>()</CODE> + +<BR> + Gets the crash history array.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> long</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#getGlobalTime()">getGlobalTime</A></B>()</CODE> + +<BR> + Gets the global time.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> long</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#getLamportTime()">getLamportTime</A></B>()</CODE> + +<BR> + Gets the lamport time.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../core/time/VSTime.html" title="interface in core.time">VSTime</A>[]</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#getLamportTimeArray()">getLamportTimeArray</A></B>()</CODE> + +<BR> + Gets the lamport time history as an array.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../prefs/VSPrefs.html" title="class in prefs">VSPrefs</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#getPrefs()">getPrefs</A></B>()</CODE> + +<BR> + Gets the simulator's default prefs.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#getProcessID()">getProcessID</A></B>()</CODE> + +<BR> + Gets the process id.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#getProcessNum()">getProcessNum</A></B>()</CODE> + +<BR> + Gets the process num.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected abstract <A HREF="../protocols/VSAbstractProtocol.html" title="class in protocols">VSAbstractProtocol</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#getProtocolObject_(java.lang.String)">getProtocolObject_</A></B>(java.lang.String protocolClassname)</CODE> + +<BR> + </TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> int</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#getRandomPercentage()">getRandomPercentage</A></B>()</CODE> + +<BR> + Creates a random percentage 0..100 using the process' own pseudo + random number generator object of the VSRandom class.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> long</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#getTime()">getTime</A></B>()</CODE> + +<BR> + Gets the process' local time.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../core/time/VSVectorTime.html" title="class in core.time">VSVectorTime</A></CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#getVectorTime()">getVectorTime</A></B>()</CODE> + +<BR> + Gets the vector time.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> <A HREF="../core/time/VSTime.html" title="interface in core.time">VSTime</A>[]</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#getVectorTimeArray()">getVectorTimeArray</A></B>()</CODE> + +<BR> + Gets the vector time history as an array.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#hasCrashed()">hasCrashed</A></B>()</CODE> + +<BR> + Checks if the process has crashed.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#increaseLamportTime()">increaseLamportTime</A></B>()</CODE> + +<BR> + Increases the process' lamport time.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#increaseVectorAndLamportTimeIfAll()">increaseVectorAndLamportTimeIfAll</A></B>()</CODE> + +<BR> + Increases the vector and the lamport time by 1 each if + sim.update.vectortime.all/sim.update.lamporttime.all are set + to true.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#increaseVectorTime()">increaseVectorTime</A></B>()</CODE> + +<BR> + Increases the vector time by 1.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#init(prefs.VSPrefs, int, simulator.VSSimulatorVisualization, simulator.VSLogging)">init</A></B>(<A HREF="../prefs/VSPrefs.html" title="class in prefs">VSPrefs</A> prefs, + int processNum, + <A HREF="../simulator/VSSimulatorVisualization.html" title="class in simulator">VSSimulatorVisualization</A> simulatorVisualization, + <A HREF="../simulator/VSLogging.html" title="class in simulator">VSLogging</A> loging)</CODE> + +<BR> + Inits a the process.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#initTimeFormats()">initTimeFormats</A></B>()</CODE> + +<BR> + Inits the time formats.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> boolean</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#isCrashed()">isCrashed</A></B>()</CODE> + +<BR> + Checks if the process is crashed.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#isCrashed(boolean)">isCrashed</A></B>(boolean isCrashed)</CODE> + +<BR> + Sets if the process is crashed.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#log(java.lang.String)">log</A></B>(java.lang.String message)</CODE> + +<BR> + Logg a message to the loging area.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE>protected void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#resetTimeFormats()">resetTimeFormats</A></B>()</CODE> + +<BR> + Reset time formats.</TD> +</TR> +<TR BGCOLOR="white" CLASS="TableRowColor"> +<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> +<CODE> void</CODE></FONT></TD> +<TD><CODE><B><A HREF="../core/VSAbstractProcess.html#serialize(serialize.V |
