📄 job.html
字号:
<!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="Job(sim.Simulation, sim.Distribution)"><!-- --></A><H3>Job</H3><PRE>public <B>Job</B>(<A HREF="../sim/Simulation.html" title="class in sim">Simulation</A> sim, <A HREF="../sim/Distribution.html" title="interface in sim">Distribution</A> publicationDistribution)</PRE><DL><DD>Creates a new unassigned job.<P><DT><B>Parameters:</B><DD><CODE>sim</CODE> - the current simulation.<DD><CODE>publicationDistribution</CODE> - the distribution of publication intervals.</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="isBroker()"><!-- --></A><H3>isBroker</H3><PRE>public boolean <B>isBroker</B>()</PRE><DL><DD>Returns false.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../broker/Destination.html#isBroker()">isBroker</A></CODE> in interface <CODE><A HREF="../broker/Destination.html" title="interface in broker">Destination</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if the object is a broker, otherwise false.</DL></DD></DL><HR><A NAME="isClient()"><!-- --></A><H3>isClient</H3><PRE>public boolean <B>isClient</B>()</PRE><DL><DD>Returns true.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../broker/Destination.html#isClient()">isClient</A></CODE> in interface <CODE><A HREF="../broker/Destination.html" title="interface in broker">Destination</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>true if the object is a client, otherwise false.</DL></DD></DL><HR><A NAME="receive(broker.Destination, com.Message)"><!-- --></A><H3>receive</H3><PRE>public void <B>receive</B>(<A HREF="../broker/Destination.html" title="interface in broker">Destination</A> sender, <A HREF="../com/Message.html" title="class in com">Message</A> message)</PRE><DL><DD>Receives an notification the job is subscribed to.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../broker/Destination.html#receive(broker.Destination, com.Message)">receive</A></CODE> in interface <CODE><A HREF="../broker/Destination.html" title="interface in broker">Destination</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>sender</CODE> - the message's sender.<DD><CODE>message</CODE> - the message itself.</DL></DD></DL><HR><A NAME="setPublisher(broker.Broker)"><!-- --></A><H3>setPublisher</H3><PRE>public void <B>setPublisher</B>(<A HREF="../broker/Broker.html" title="class in broker">Broker</A> publisher)</PRE><DL><DD>Sets the publishing broker.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>publisher</CODE> - the publishing broker.</DL></DD></DL><HR><A NAME="getPublisher()"><!-- --></A><H3>getPublisher</H3><PRE>public <A HREF="../broker/Broker.html" title="class in broker">Broker</A> <B>getPublisher</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="setSubscribers(broker.Broker[])"><!-- --></A><H3>setSubscribers</H3><PRE>public void <B>setSubscribers</B>(<A HREF="../broker/Broker.html" title="class in broker">Broker</A>[] subscribers)</PRE><DL><DD>Sets the subscribing brokers. Existing subscriptions are cancelled at the old brokers and new subscriptions are issued at the new brokers.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>subscribers</CODE> - the subscribing brokers.</DL></DD></DL><HR><A NAME="start()"><!-- --></A><H3>start</H3><PRE>public void <B>start</B>()</PRE><DL><DD>Starts the publishing of notifications.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="getSubscribers()"><!-- --></A><H3>getSubscribers</H3><PRE>public <A HREF="../broker/Broker.html" title="class in broker">Broker</A>[] <B>getSubscribers</B>()</PRE><DL><DD><DL></DL></DD><DD><DL></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_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"> <A HREF="../sim/ExponentialDistribution.html" title="class in sim"><B>PREV CLASS</B></A> <A HREF="../sim/LoadDistribution.html" title="class in sim"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../index.html" target="_top"><B>FRAMES</B></A> <A HREF="Job.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 | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -