1 <!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
5 <!-- Generated by javadoc on Wed Jul 09 10:18:15 PDT 2003 -->
9 <LINK REL =
"stylesheet" TYPE=
"text/css" HREF=
"../../stylesheet.css" TITLE=
"Style">
11 <BODY BGCOLOR=
"white">
13 <!-- ========== START OF NAVBAR ========== -->
14 <A NAME=
"navbar_top"><!-- --></A>
15 <TABLE BORDER=
"0" WIDTH=
"100%" CELLPADDING=
"1" CELLSPACING=
"0">
17 <TD COLSPAN=
2 BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1">
18 <A NAME=
"navbar_top_firstrow"><!-- --></A>
19 <TABLE BORDER=
"0" CELLPADDING=
"0" CELLSPACING=
"3">
20 <TR ALIGN=
"center" VALIGN=
"top">
21 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"package-summary.html"><FONT CLASS=
"NavBarFont1"><B>Package
</B></FONT></A> </TD>
22 <TD BGCOLOR=
"#FFFFFF" CLASS=
"NavBarCell1Rev"> <FONT CLASS=
"NavBarFont1Rev"><B>Class
</B></FONT> </TD>
23 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"package-tree.html"><FONT CLASS=
"NavBarFont1"><B>Tree
</B></FONT></A> </TD>
24 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../deprecated-list.html"><FONT CLASS=
"NavBarFont1"><B>Deprecated
</B></FONT></A> </TD>
25 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../index-all.html"><FONT CLASS=
"NavBarFont1"><B>Index
</B></FONT></A> </TD>
26 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../help-doc.html"><FONT CLASS=
"NavBarFont1"><B>Help
</B></FONT></A> </TD>
30 <TD ALIGN=
"right" VALIGN=
"top" ROWSPAN=
3><EM>
31 Questions?
<A HREf=mailto:pc2@ecs.csus.edu
>Send mail to PC
<sup>2</sup></a></EM>
36 <TD BGCOLOR=
"white" CLASS=
"NavBarCell2"><FONT SIZE=
"-2">
37 PREV CLASS
38 <A HREF=
"../../pc2/ex/BaseClient_Stub.html"><B>NEXT CLASS
</B></A></FONT></TD>
39 <TD BGCOLOR=
"white" CLASS=
"NavBarCell2"><FONT SIZE=
"-2">
40 <A HREF=
"../../index.html" TARGET=
"_top"><B>FRAMES
</B></A>
41 <A HREF=
"BaseClient.html" TARGET=
"_top"><B>NO FRAMES
</B></A></FONT></TD>
44 <TD VALIGN=
"top" CLASS=
"NavBarCell3"><FONT SIZE=
"-2">
45 SUMMARY:
<A HREF=
"#inner_classes_inherited_from_class_javax.swing.JFrame">INNER
</A> |
<A HREF=
"#field_summary">FIELD
</A> |
<A HREF=
"#constructor_summary">CONSTR
</A> |
<A HREF=
"#method_summary">METHOD
</A></FONT></TD>
46 <TD VALIGN=
"top" CLASS=
"NavBarCell3"><FONT SIZE=
"-2">
47 DETAIL:
<A HREF=
"#field_detail">FIELD
</A> |
<A HREF=
"#constructor_detail">CONSTR
</A> |
<A HREF=
"#method_detail">METHOD
</A></FONT></TD>
50 <!-- =========== END OF NAVBAR =========== -->
53 <!-- ======== START OF CLASS DATA ======== -->
72 +--
<B>pc2.ex.BaseClient
</B>
75 <DT><B>All Implemented Interfaces:
</B> <DD>javax.accessibility.Accessible, pc2.IClient, java.awt.image.ImageObserver, java.awt.MenuContainer, pc2.PC2Remote, java.rmi.Remote, pc2.RemoteObserver, javax.swing.RootPaneContainer, java.io.Serializable, javax.swing.WindowConstants
</DD>
78 <DT><B>Direct Known Subclasses:
</B> <DD><A HREF=
"../../pc2/ex/GetRunsClient.html">GetRunsClient
</A>,
<A HREF=
"../../pc2/ex/JudgeClient.html">JudgeClient
</A>,
<A HREF=
"../../pc2/ex/ScoreboardClient.html">ScoreboardClient
</A>,
<A HREF=
"../../pc2/ex/TeamClient.html">TeamClient
</A></DD>
82 <DT>public class
<B>BaseClient
</B><DT>extends javax.swing.JFrame
<DT>implements pc2.IClient
</DL>
85 Base class for Team, Board, Judge PC
<sup>2</sup> Clients classes.
87 This class should not be used directly, use the abstract classes that
90 Note: BaseClient_Stub is a automatically generated stub for this class.
92 Most of the functions will throw a RemoteException with title
93 &Not logged into Server
& if the
<A HREF=
"../../pc2/ex/BaseClient.html#connect(java.lang.String, java.lang.String, long, java.lang.String, java.lang.String)"><CODE>connect) or
94 {@link #loginToPC2(String,String,long,String,String) loginToPC2
</CODE></A>
98 <DT><B>See Also:
</B><DD><A HREF=
"../../serialized-form.html#pc2.ex.BaseClient">Serialized Form
</A></DL>
102 <!-- ======== INNER CLASS SUMMARY ======== -->
104 <A NAME=
"inner_classes_inherited_from_class_javax.swing.JFrame"><!-- --></A>
105 <TABLE BORDER=
"1" CELLPADDING=
"3" CELLSPACING=
"0" WIDTH=
"100%">
106 <TR BGCOLOR=
"#EEEEFF" CLASS=
"TableSubHeadingColor">
107 <TD><B>Inner classes inherited from class javax.swing.JFrame
</B></TD>
109 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
110 <TD><CODE>javax.swing.JFrame.AccessibleJFrame
</CODE></TD>
113 <A NAME=
"inner_classes_inherited_from_class_java.awt.Frame"><!-- --></A>
114 <TABLE BORDER=
"1" CELLPADDING=
"3" CELLSPACING=
"0" WIDTH=
"100%">
115 <TR BGCOLOR=
"#EEEEFF" CLASS=
"TableSubHeadingColor">
116 <TD><B>Inner classes inherited from class java.awt.Frame
</B></TD>
118 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
119 <TD><CODE>java.awt.Frame.AccessibleAWTFrame
</CODE></TD>
122 <A NAME=
"inner_classes_inherited_from_class_java.awt.Window"><!-- --></A>
123 <TABLE BORDER=
"1" CELLPADDING=
"3" CELLSPACING=
"0" WIDTH=
"100%">
124 <TR BGCOLOR=
"#EEEEFF" CLASS=
"TableSubHeadingColor">
125 <TD><B>Inner classes inherited from class java.awt.Window
</B></TD>
127 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
128 <TD><CODE>java.awt.Window.AccessibleAWTWindow
</CODE></TD>
131 <A NAME=
"inner_classes_inherited_from_class_java.awt.Container"><!-- --></A>
132 <TABLE BORDER=
"1" CELLPADDING=
"3" CELLSPACING=
"0" WIDTH=
"100%">
133 <TR BGCOLOR=
"#EEEEFF" CLASS=
"TableSubHeadingColor">
134 <TD><B>Inner classes inherited from class java.awt.Container
</B></TD>
136 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
137 <TD><CODE>java.awt.Container.AccessibleAWTContainer
</CODE></TD>
140 <A NAME=
"inner_classes_inherited_from_class_java.awt.Component"><!-- --></A>
141 <TABLE BORDER=
"1" CELLPADDING=
"3" CELLSPACING=
"0" WIDTH=
"100%">
142 <TR BGCOLOR=
"#EEEEFF" CLASS=
"TableSubHeadingColor">
143 <TD><B>Inner classes inherited from class java.awt.Component
</B></TD>
145 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
146 <TD><CODE>java.awt.Component.AccessibleAWTComponent
</CODE></TD>
150 <!-- =========== FIELD SUMMARY =========== -->
152 <A NAME=
"field_summary"><!-- --></A>
153 <TABLE BORDER=
"1" CELLPADDING=
"3" CELLSPACING=
"0" WIDTH=
"100%">
154 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
155 <TD COLSPAN=
2><FONT SIZE=
"+2">
156 <B>Field Summary
</B></FONT></TD>
158 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
159 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
160 <CODE> int
</CODE></FONT></TD>
161 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#ACC_ALREADYLOGGEDIN">ACC_ALREADYLOGGEDIN
</A></B></CODE>
164 Account already logged in
</TD>
166 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
167 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
168 <CODE> int
</CODE></FONT></TD>
169 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#ACC_CLIENTDATANULL">ACC_CLIENTDATANULL
</A></B></CODE>
172 ClientData is NULL (internal error)
</TD>
174 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
175 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
176 <CODE> int
</CODE></FONT></TD>
177 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#ACC_CLIENTNULL">ACC_CLIENTNULL
</A></B></CODE>
180 Client is NULL (internal error)
</TD>
182 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
183 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
184 <CODE> int
</CODE></FONT></TD>
185 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#ACC_EXCEPTIONINLOGIN">ACC_EXCEPTIONINLOGIN
</A></B></CODE>
188 Exception during login (internal error)
</TD>
190 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
191 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
192 <CODE> int
</CODE></FONT></TD>
193 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#ACC_INVALIDPASSWORD">ACC_INVALIDPASSWORD
</A></B></CODE>
196 Password did not match
</TD>
198 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
199 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
200 <CODE> int
</CODE></FONT></TD>
201 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#ACC_NOSERVER">ACC_NOSERVER
</A></B></CODE>
204 Can not contest Server (internal error)
</TD>
206 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
207 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
208 <CODE> int
</CODE></FONT></TD>
209 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#ACC_TABLE_NULL">ACC_TABLE_NULL
</A></B></CODE>
212 No account defined
</TD>
214 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
215 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
216 <CODE> int
</CODE></FONT></TD>
217 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#ACC_TYPE_NULL">ACC_TYPE_NULL
</A></B></CODE>
220 No such account type/uknown account type
</TD>
222 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
223 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
224 <CODE> int
</CODE></FONT></TD>
225 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#ACC_UNKNOWNLOGINID">ACC_UNKNOWNLOGINID
</A></B></CODE>
228 Unknown login
</TD>
230 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
231 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
232 <CODE> java.lang.Long
</CODE></FONT></TD>
233 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#loginReturnCode">loginReturnCode
</A></B></CODE>
236 </TD>
239 <A NAME=
"fields_inherited_from_class_javax.swing.JFrame"><!-- --></A>
240 <TABLE BORDER=
"1" CELLPADDING=
"3" CELLSPACING=
"0" WIDTH=
"100%">
241 <TR BGCOLOR=
"#EEEEFF" CLASS=
"TableSubHeadingColor">
242 <TD><B>Fields inherited from class javax.swing.JFrame
</B></TD>
244 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
245 <TD><CODE>accessibleContext, EXIT_ON_CLOSE, rootPane, rootPaneCheckingEnabled
</CODE></TD>
248 <A NAME=
"fields_inherited_from_class_java.awt.Frame"><!-- --></A>
249 <TABLE BORDER=
"1" CELLPADDING=
"3" CELLSPACING=
"0" WIDTH=
"100%">
250 <TR BGCOLOR=
"#EEEEFF" CLASS=
"TableSubHeadingColor">
251 <TD><B>Fields inherited from class java.awt.Frame
</B></TD>
253 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
254 <TD><CODE>CROSSHAIR_CURSOR, DEFAULT_CURSOR, E_RESIZE_CURSOR, HAND_CURSOR, ICONIFIED, MOVE_CURSOR, N_RESIZE_CURSOR, NE_RESIZE_CURSOR, NORMAL, NW_RESIZE_CURSOR, S_RESIZE_CURSOR, SE_RESIZE_CURSOR, SW_RESIZE_CURSOR, TEXT_CURSOR, W_RESIZE_CURSOR, WAIT_CURSOR
</CODE></TD>
257 <A NAME=
"fields_inherited_from_class_java.awt.Component"><!-- --></A>
258 <TABLE BORDER=
"1" CELLPADDING=
"3" CELLSPACING=
"0" WIDTH=
"100%">
259 <TR BGCOLOR=
"#EEEEFF" CLASS=
"TableSubHeadingColor">
260 <TD><B>Fields inherited from class java.awt.Component
</B></TD>
262 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
263 <TD><CODE>BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
</CODE></TD>
266 <A NAME=
"fields_inherited_from_class_javax.swing.WindowConstants"><!-- --></A>
267 <TABLE BORDER=
"1" CELLPADDING=
"3" CELLSPACING=
"0" WIDTH=
"100%">
268 <TR BGCOLOR=
"#EEEEFF" CLASS=
"TableSubHeadingColor">
269 <TD><B>Fields inherited from interface javax.swing.WindowConstants
</B></TD>
271 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
272 <TD><CODE>DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, HIDE_ON_CLOSE
</CODE></TD>
275 <A NAME=
"fields_inherited_from_class_java.awt.image.ImageObserver"><!-- --></A>
276 <TABLE BORDER=
"1" CELLPADDING=
"3" CELLSPACING=
"0" WIDTH=
"100%">
277 <TR BGCOLOR=
"#EEEEFF" CLASS=
"TableSubHeadingColor">
278 <TD><B>Fields inherited from interface java.awt.image.ImageObserver
</B></TD>
280 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
281 <TD><CODE>ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
</CODE></TD>
285 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
287 <A NAME=
"constructor_summary"><!-- --></A>
288 <TABLE BORDER=
"1" CELLPADDING=
"3" CELLSPACING=
"0" WIDTH=
"100%">
289 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
290 <TD COLSPAN=
2><FONT SIZE=
"+2">
291 <B>Constructor Summary
</B></FONT></TD>
293 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
294 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#BaseClient()">BaseClient
</A></B>()
</CODE>
297 BaseClient constuctor
</TD>
301 <!-- ========== METHOD SUMMARY =========== -->
303 <A NAME=
"method_summary"><!-- --></A>
304 <TABLE BORDER=
"1" CELLPADDING=
"3" CELLSPACING=
"0" WIDTH=
"100%">
305 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
306 <TD COLSPAN=
2><FONT SIZE=
"+2">
307 <B>Method Summary
</B></FONT></TD>
309 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
310 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
311 <CODE> boolean
</CODE></FONT></TD>
312 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#changePassword(int, java.lang.Long, java.lang.String, java.lang.String)">changePassword
</A></B>(int
pc2type,
313 java.lang.Long
userId,
314 java.lang.String
oldPassword,
315 java.lang.String
newPassword)
</CODE>
318 Change a user's password
321 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
322 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
323 <CODE> boolean
</CODE></FONT></TD>
324 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#changePassword(java.lang.String, java.lang.String)">changePassword
</A></B>(java.lang.String
oldPassword,
325 java.lang.String
newPassword)
</CODE>
328 Change currently logged in user's password
</TD>
330 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
331 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
332 <CODE> <A HREF=
"../../pc2/ex/ClarInfoAndFiles.html">ClarInfoAndFiles
</A></CODE></FONT></TD>
333 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#checkOutClar(java.lang.Long, java.lang.Long)">checkOutClar
</A></B>(java.lang.Long
siteId,
334 java.lang.Long
clarId)
</CODE>
337 For Judge checks-out a clar
<BR>
340 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
341 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
342 <CODE> <A HREF=
"../../pc2/ex/RunInfoAndFiles.html">RunInfoAndFiles
</A></CODE></FONT></TD>
343 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#checkOutRun(java.lang.Long, java.lang.Long)">checkOutRun
</A></B>(java.lang.Long
siteId,
344 java.lang.Long
runId)
</CODE>
347 For Judge, check out/select a run
350 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
351 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
352 <CODE> boolean
</CODE></FONT></TD>
353 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#connect(java.lang.String, java.lang.String, long, java.lang.String, java.lang.String)">connect
</A></B>(java.lang.String
IP,
354 java.lang.String
Port,
356 java.lang.String
loginId,
357 java.lang.String
password)
</CODE>
360 Connect to PC
<sup>2</sup> server
363 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
364 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
365 <CODE> pc2.MultiFileViewer
</CODE></FONT></TD>
366 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#executeRun()">executeRun
</A></B>()
</CODE>
369 Judge execute a run
372 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
373 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
374 <CODE> pc2.MultiFileViewer
</CODE></FONT></TD>
375 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#executeRun(java.lang.Long, java.lang.Long, java.lang.String, java.lang.String[])">executeRun
</A></B>(java.lang.Long
problemId,
376 java.lang.Long
languageId,
377 java.lang.String
mainFile,
378 java.lang.String[]
auxFiles)
</CODE>
381 execute/test run
384 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
385 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
386 <CODE> boolean
</CODE></FONT></TD>
387 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#executeRun(pc2.ex.RunInfoAndFiles)">executeRun
</A></B>(
<A HREF=
"../../pc2/ex/RunInfoAndFiles.html">RunInfoAndFiles
</A> rif)
</CODE>
390 Team
"test" run
393 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
394 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
395 <CODE> java.lang.String
</CODE></FONT></TD>
396 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getACMRegionName(int)">getACMRegionName
</A></B>(int
regionId)
</CODE>
399 Insert the method's description here.
</TD>
401 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
402 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
403 <CODE> java.lang.Integer[]
</CODE></FONT></TD>
404 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getAllACMRegionIds()">getAllACMRegionIds
</A></B>()
</CODE>
407 Insert the method's description here.
</TD>
409 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
410 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
411 <CODE> java.lang.String[]
</CODE></FONT></TD>
412 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getAllACMRegionNames()">getAllACMRegionNames
</A></B>()
</CODE>
415 Insert the method's description here.
</TD>
417 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
418 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
419 <CODE> <A HREF=
"../../pc2/ex/ClarInfoAndFiles.html">ClarInfoAndFiles
</A>[]
</CODE></FONT></TD>
420 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getAllClars()">getAllClars
</A></B>()
</CODE>
423 Get all clarfications
426 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
427 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
428 <CODE> <A HREF=
"../../pc2/ex/RunInfoAndFiles.html">RunInfoAndFiles
</A>[]
</CODE></FONT></TD>
429 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getAllJudgedRuns()">getAllJudgedRuns
</A></B>()
</CODE>
432 Get judged Runs without Files
435 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
436 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
437 <CODE> <A HREF=
"../../pc2/ex/RunInfoAndFiles.html">RunInfoAndFiles
</A>[]
</CODE></FONT></TD>
438 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getAllRuns()">getAllRuns
</A></B>()
</CODE>
441 Get all Runs
444 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
445 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
446 <CODE> <A HREF=
"../../pc2/ex/ClarInfoAndFiles.html">ClarInfoAndFiles
</A>[]
</CODE></FONT></TD>
447 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getAllUnansweredClars()">getAllUnansweredClars
</A></B>()
</CODE>
450 return all unanswered clars (unsorted)
453 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
454 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
455 <CODE> <A HREF=
"../../pc2/ex/RunInfoAndFiles.html">RunInfoAndFiles
</A>[]
</CODE></FONT></TD>
456 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getAllUnjudgedRuns()">getAllUnjudgedRuns
</A></B>()
</CODE>
459 Get unjudged (non-selected) runs from All Site (Servers)
460 Does not include Files
463 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
464 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
465 <CODE> java.io.File
</CODE></FONT></TD>
466 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getAnswerDataFile(int)">getAnswerDataFile
</A></B>(int
dataSetNumber)
</CODE>
469 returns the answer file for a given problem (or null if not defined)
</TD>
471 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
472 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
473 <CODE> long
</CODE></FONT></TD>
474 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getClientId()">getClientId
</A></B>()
</CODE>
477 return the client id, if logged in.
</TD>
479 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
480 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
481 <CODE> java.lang.String
</CODE></FONT></TD>
482 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getClientName()">getClientName
</A></B>()
</CODE>
485 returns the title/name for the logged in user
488 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
489 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
490 <CODE> javax.swing.JLabel
</CODE></FONT></TD>
491 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getCountdownClockLabel()">getCountdownClockLabel
</A></B>()
</CODE>
494 Insert the method's description here.
</TD>
496 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
497 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
498 <CODE> pc2.ClientData
</CODE></FONT></TD>
499 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getData()">getData
</A></B>()
</CODE>
502 <B>Deprecated.
</B> <I>Use getSiteId, getClientName, and getClientId instead
</I></TD>
504 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
505 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
506 <CODE> boolean
</CODE></FONT></TD>
507 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getFile(java.lang.String, java.lang.String)">getFile
</A></B>(java.lang.String
contestId,
508 java.lang.String
filename)
</CODE>
511 <B>Deprecated.
</B> <I>functionality removed, always returns false.
</I></TD>
513 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
514 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
515 <CODE> java.lang.Long
</CODE></FONT></TD>
516 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getID()">getID
</A></B>()
</CODE>
519 <B>Deprecated.
</B> <I>Use
<A HREF=
"../../pc2/ex/BaseClient.html#getClientId()"><CODE>getClientId()
</CODE></A></I></TD>
521 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
522 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
523 <CODE> java.lang.Long
</CODE></FONT></TD>
524 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getID(pc2.SessionId)">getID
</A></B>(pc2.SessionId
id)
</CODE>
527 <B>Deprecated.
</B> <I>Use
<A HREF=
"../../pc2/ex/BaseClient.html#getClientId()"><CODE>getClientId()
</CODE></A></I></TD>
529 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
530 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
531 <CODE> java.lang.Object
</CODE></FONT></TD>
532 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getInternalData(java.lang.Object, int)">getInternalData
</A></B>(java.lang.Object
obj1,
533 int
settingsValue)
</CODE>
536 return internal data
538 will be deprecated soon.
</TD>
540 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
541 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
542 <CODE> java.lang.String
</CODE></FONT></TD>
543 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getJudgementName(int)">getJudgementName
</A></B>(int
num)
</CODE>
546 returns the title/name of the judgement
548 returns null if not found or none defined.
</TD>
550 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
551 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
552 <CODE> java.lang.String
</CODE></FONT></TD>
553 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getLanguageTitle(java.lang.Long)">getLanguageTitle
</A></B>(java.lang.Long
languageId)
</CODE>
556 returns the name of the language, null if not defined
</TD>
558 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
559 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
560 <CODE> int
</CODE></FONT></TD>
561 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getLogDebugLevel()">getLogDebugLevel
</A></B>()
</CODE>
564 Return PC
<sup>2</sup> log debug/verbose level
567 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
568 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
569 <CODE> java.lang.Long
</CODE></FONT></TD>
570 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getLoginReturnCode()">getLoginReturnCode
</A></B>()
</CODE>
573 Insert the method's description here.
</TD>
575 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
576 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
577 <CODE> java.lang.String
</CODE></FONT></TD>
578 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getLoginStatusMessage()">getLoginStatusMessage
</A></B>()
</CODE>
581 Returns login status message, after login
584 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
585 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
586 <CODE> int
</CODE></FONT></TD>
587 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getNumACMRegions()">getNumACMRegions
</A></B>()
</CODE>
590 returns the number of ACM Regions
</TD>
592 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
593 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
594 <CODE> int
</CODE></FONT></TD>
595 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getNumJudgementNames()">getNumJudgementNames
</A></B>()
</CODE>
598 returns the number of defined problems
</TD>
600 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
601 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
602 <CODE> int
</CODE></FONT></TD>
603 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getNumLanguages()">getNumLanguages
</A></B>()
</CODE>
606 returns the number of defined languages
</TD>
608 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
609 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
610 <CODE> int
</CODE></FONT></TD>
611 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getNumProblems()">getNumProblems
</A></B>()
</CODE>
614 returns the number of defined problems
</TD>
616 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
617 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
618 <CODE> int
</CODE></FONT></TD>
619 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getNumSites()">getNumSites
</A></B>()
</CODE>
622 return number of sites in contest
</TD>
624 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
625 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
626 <CODE> int
</CODE></FONT></TD>
627 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getNumTeamAccounts()">getNumTeamAccounts
</A></B>()
</CODE>
630 returns the number of teams
</TD>
632 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
633 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
634 <CODE> java.lang.String
</CODE></FONT></TD>
635 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getProblemAnswerFileName()">getProblemAnswerFileName
</A></B>()
</CODE>
638 returns the answer filename for a given problem (or null if not defined)
</TD>
640 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
641 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
642 <CODE> java.lang.String
</CODE></FONT></TD>
643 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getProblemAnswerFileName(java.lang.Long)">getProblemAnswerFileName
</A></B>(java.lang.Long
problemId)
</CODE>
646 returns the answer filename for a given problem (or null if not defined)
</TD>
648 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
649 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
650 <CODE> java.lang.String
</CODE></FONT></TD>
651 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getProblemDataFileName()">getProblemDataFileName
</A></B>()
</CODE>
654 returns the data filename for a given problem (or null if not defined)
</TD>
656 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
657 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
658 <CODE> java.lang.String
</CODE></FONT></TD>
659 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getProblemDataFileName(java.lang.Long)">getProblemDataFileName
</A></B>(java.lang.Long
problemId)
</CODE>
662 returns the data filename for a given problem (or null if not defined)
</TD>
664 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
665 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
666 <CODE> java.lang.String
</CODE></FONT></TD>
667 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getProblemTitle(java.lang.Long)">getProblemTitle
</A></B>(java.lang.Long
problemId)
</CODE>
670 returns the title for a given problem (or null if not defined)
</TD>
672 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
673 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
674 <CODE> java.lang.String
</CODE></FONT></TD>
675 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getProperty(java.lang.String)">getProperty
</A></B>(java.lang.String
key)
</CODE>
678 </TD>
680 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
681 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
682 <CODE> java.lang.String
</CODE></FONT></TD>
683 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getProperty(java.lang.String, java.lang.String)">getProperty
</A></B>(java.lang.String
key,
684 java.lang.String
defaultValue)
</CODE>
687 </TD>
689 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
690 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
691 <CODE> java.lang.Boolean
</CODE></FONT></TD>
692 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getPropertyBoolean(java.lang.String)">getPropertyBoolean
</A></B>(java.lang.String
key)
</CODE>
695 </TD>
697 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
698 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
699 <CODE> java.lang.Boolean[]
</CODE></FONT></TD>
700 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getPropertyBooleanArray(java.lang.String)">getPropertyBooleanArray
</A></B>(java.lang.String
keyPrefix)
</CODE>
703 </TD>
705 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
706 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
707 <CODE> java.lang.Long
</CODE></FONT></TD>
708 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getPropertyLong(java.lang.String)">getPropertyLong
</A></B>(java.lang.String
key)
</CODE>
711 </TD>
713 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
714 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
715 <CODE> java.lang.String[]
</CODE></FONT></TD>
716 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getPropertyStringArray(java.lang.String)">getPropertyStringArray
</A></B>(java.lang.String
keyPrefix)
</CODE>
719 </TD>
721 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
722 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
723 <CODE> java.lang.String
</CODE></FONT></TD>
724 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getRemoteType()">getRemoteType
</A></B>()
</CODE>
727 returns the remote type for this user
730 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
731 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
732 <CODE> pc2.IServer
</CODE></FONT></TD>
733 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getServer()">getServer
</A></B>()
</CODE>
736 <B>Deprecated.
</B> <I>Use other
"get" and
"submit" methods in place of this.
</I></TD>
738 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
739 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
740 <CODE> java.lang.Long
</CODE></FONT></TD>
741 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getSiteId()">getSiteId
</A></B>()
</CODE>
744 </TD>
746 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
747 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
748 <CODE> java.lang.String
</CODE></FONT></TD>
749 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getSiteTitle()">getSiteTitle
</A></B>()
</CODE>
752 get the currently logged into site title/name
</TD>
754 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
755 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
756 <CODE> java.lang.String
</CODE></FONT></TD>
757 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getSiteTitle(long)">getSiteTitle
</A></B>(long
siteNumber)
</CODE>
760 </TD>
762 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
763 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
764 <CODE> <A HREF=
"../../pc2/ex/ClientScoreData.html">ClientScoreData
</A>[]
</CODE></FONT></TD>
765 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getStandings()">getStandings
</A></B>()
</CODE>
768 Return array containing score and basic attempt statistics
</TD>
770 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
771 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
772 <CODE> int
</CODE></FONT></TD>
773 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getSubmissionPenaltyPoints()">getSubmissionPenaltyPoints
</A></B>()
</CODE>
776 Return the number of penalty points for an incorrect solution.
</TD>
778 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
779 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
780 <CODE> java.lang.String[]
</CODE></FONT></TD>
781 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getTeamAccountKeys()">getTeamAccountKeys
</A></B>()
</CODE>
784 returns list of team account keys (format =
"siteId:teamId") sorted by siteId, then teamId
</TD>
786 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
787 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
788 <CODE> int
</CODE></FONT></TD>
789 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getTeamACMId(java.lang.Long, java.lang.Long)">getTeamACMId
</A></B>(java.lang.Long
siteId,
790 java.lang.Long
id)
</CODE>
793 returns the ACM id for the input user id
796 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
797 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
798 <CODE> int
</CODE></FONT></TD>
799 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getTeamACMRegionId(java.lang.Long, java.lang.Long)">getTeamACMRegionId
</A></B>(java.lang.Long
siteId,
800 java.lang.Long
id)
</CODE>
803 returns the ACM region id for the input user id
806 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
807 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
808 <CODE> java.lang.String
</CODE></FONT></TD>
809 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getTeamName()">getTeamName
</A></B>()
</CODE>
812 returns the title/name for the logged in team.
</TD>
814 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
815 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
816 <CODE> java.lang.String
</CODE></FONT></TD>
817 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getTeamName(java.lang.Long, java.lang.Long)">getTeamName
</A></B>(java.lang.Long
siteId,
818 java.lang.Long
id)
</CODE>
821 returns the title/name for the input user id
824 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
825 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
826 <CODE> java.lang.Integer
</CODE></FONT></TD>
827 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getType()">getType
</A></B>()
</CODE>
830 get the PC
<sup>2</sup> Client Type for this client.
</TD>
832 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
833 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
834 <CODE> boolean
</CODE></FONT></TD>
835 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#getZipFile(java.lang.String, java.lang.String)">getZipFile
</A></B>(java.lang.String
contestId,
836 java.lang.String
filename)
</CODE>
839 Invoked by the Server
</TD>
841 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
842 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
843 <CODE> void
</CODE></FONT></TD>
844 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#handleCheckedOutRun(pc2.ex.RunInfoAndFiles)">handleCheckedOutRun
</A></B>(
<A HREF=
"../../pc2/ex/RunInfoAndFiles.html">RunInfoAndFiles
</A> run)
</CODE>
847 When a judge checks out a run this method is invoked
</TD>
849 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
850 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
851 <CODE> void
</CODE></FONT></TD>
852 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#handleClarAnswered(pc2.ex.ClarInfoAndFiles)">handleClarAnswered
</A></B>(
<A HREF=
"../../pc2/ex/ClarInfoAndFiles.html">ClarInfoAndFiles
</A> clar)
</CODE>
855 Each answered clar for a team causes this to be invoked
<br>
858 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
859 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
860 <CODE> void
</CODE></FONT></TD>
861 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#handleClarSelected(pc2.ex.ClarInfoAndFiles)">handleClarSelected
</A></B>(
<A HREF=
"../../pc2/ex/ClarInfoAndFiles.html">ClarInfoAndFiles
</A> clar)
</CODE>
864 Invoked when a Judge checks out a clar
867 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
868 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
869 <CODE> void
</CODE></FONT></TD>
870 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#handleClientRefresh()">handleClientRefresh
</A></B>()
</CODE>
873 When a site is reset (all runs and clars cleared)
876 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
877 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
878 <CODE> void
</CODE></FONT></TD>
879 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#handleContestStartStop(boolean)">handleContestStartStop
</A></B>(boolean
started)
</CODE>
882 When contest is started and stopped this event is called
885 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
886 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
887 <CODE> void
</CODE></FONT></TD>
888 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#handleNewClar(pc2.ex.ClarInfoAndFiles)">handleNewClar
</A></B>(
<A HREF=
"../../pc2/ex/ClarInfoAndFiles.html">ClarInfoAndFiles
</A> clar)
</CODE>
891 Invoked when a team submits a clar or if a Judge
892 un-checks out a clar.
</TD>
894 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
895 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
896 <CODE> void
</CODE></FONT></TD>
897 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#handleNewRun(pc2.ex.RunInfoAndFiles)">handleNewRun
</A></B>(
<A HREF=
"../../pc2/ex/RunInfoAndFiles.html">RunInfoAndFiles
</A> run)
</CODE>
900 Invoked when a team submits a run or if a Judge
901 un-checks out a run.
</TD>
903 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
904 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
905 <CODE> void
</CODE></FONT></TD>
906 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#handleRunJudged(pc2.ex.RunInfoAndFiles, boolean, java.lang.String)">handleRunJudged
</A></B>(
<A HREF=
"../../pc2/ex/RunInfoAndFiles.html">RunInfoAndFiles
</A> run,
907 boolean
isSolved,
908 java.lang.String
judgement)
</CODE>
911 Each judgement for a team causes this to be invoked
<br>
912 Team should override this method
</TD>
914 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
915 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
916 <CODE> void
</CODE></FONT></TD>
917 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#handleRunStatusUpdated(pc2.ex.RunInfoAndFiles)">handleRunStatusUpdated
</A></B>(
<A HREF=
"../../pc2/ex/RunInfoAndFiles.html">RunInfoAndFiles
</A> run)
</CODE>
920 Invoked when run is judged
923 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
924 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
925 <CODE> void
</CODE></FONT></TD>
926 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#handleRunUpdated(pc2.ex.RunInfoAndFiles)">handleRunUpdated
</A></B>(
<A HREF=
"../../pc2/ex/RunInfoAndFiles.html">RunInfoAndFiles
</A> run)
</CODE>
929 Invoked when run is updated (deleted)
932 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
933 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
934 <CODE> void
</CODE></FONT></TD>
935 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#handleSettingsUpdated()">handleSettingsUpdated
</A></B>()
</CODE>
938 Indicates when contest settings have changed
941 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
942 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
943 <CODE> void
</CODE></FONT></TD>
944 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#handleUNCheckedOutRun(pc2.ex.RunInfoAndFiles)">handleUNCheckedOutRun
</A></B>(
<A HREF=
"../../pc2/ex/RunInfoAndFiles.html">RunInfoAndFiles
</A> run)
</CODE>
947 When a judge un checks out (returns a run without judging) this is invoked
</TD>
949 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
950 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
951 <CODE> boolean
</CODE></FONT></TD>
952 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#isContestRunning()">isContestRunning
</A></B>()
</CODE>
955 returns true if contest is running.
</TD>
957 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
958 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
959 <CODE> boolean
</CODE></FONT></TD>
960 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#isLoggedIn()">isLoggedIn
</A></B>()
</CODE>
963 returns true if logged in
966 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
967 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
968 <CODE> boolean
</CODE></FONT></TD>
969 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#isTeamActive(java.lang.Long, java.lang.Long)">isTeamActive
</A></B>(java.lang.Long
siteId,
970 java.lang.Long
accountId)
</CODE>
973 returns true if team is active
</TD>
975 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
976 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
977 <CODE> boolean
</CODE></FONT></TD>
978 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#logoff()">logoff
</A></B>()
</CODE>
981 returns true if able to logoff client
</TD>
983 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
984 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
985 <CODE> void
</CODE></FONT></TD>
986 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#notifyRunEvaluated(pc2.RunData)">notifyRunEvaluated
</A></B>(pc2.RunData
run)
</CODE>
989 (will be deprecated) invoked by server to send run judgement into to team/client
992 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
993 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
994 <CODE> boolean
</CODE></FONT></TD>
995 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#putBigMessage(java.lang.String)">putBigMessage
</A></B>(java.lang.String
s)
</CODE>
998 puts a big message on the teams' screen
1001 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
1002 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
1003 <CODE> boolean
</CODE></FONT></TD>
1004 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#putFile(java.lang.String, java.lang.String)">putFile
</A></B>(java.lang.String
contestId,
1005 java.lang.String
filename)
</CODE>
1008 save/put a file from the Server to this Client
1011 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
1012 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
1013 <CODE> boolean
</CODE></FONT></TD>
1014 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#resetClient(java.lang.String, boolean, boolean)">resetClient
</A></B>(java.lang.String
message,
1015 boolean
logoff,
1016 boolean
killMe)
</CODE>
1019 Used to reset the client to initial login state
1022 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
1023 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
1024 <CODE> void
</CODE></FONT></TD>
1025 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#setCountdownClockLabel(javax.swing.JLabel)">setCountdownClockLabel
</A></B>(javax.swing.JLabel
newCountdownClockLabel)
</CODE>
1028 Insert the method's description here.
</TD>
1030 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
1031 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
1032 <CODE> void
</CODE></FONT></TD>
1033 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#setID(java.lang.Long)">setID
</A></B>(java.lang.Long
id)
</CODE>
1036 (will be deprecated) Set the login id for this client.
</TD>
1038 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
1039 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
1040 <CODE> void
</CODE></FONT></TD>
1041 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#setLogDebugLevel(int)">setLogDebugLevel
</A></B>(int
newLevel)
</CODE>
1044 Change default PC
<sup>2</sup> log debug/verbose level
1047 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
1048 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
1049 <CODE> boolean
</CODE></FONT></TD>
1050 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#setLogFilename(java.lang.String)">setLogFilename
</A></B>(java.lang.String
newName)
</CODE>
1053 Change default PC
<sup>2</sup> log file name
1056 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
1057 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
1058 <CODE> boolean
</CODE></FONT></TD>
1059 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#specialCommand(java.lang.Object)">specialCommand
</A></B>(java.lang.Object
o)
</CODE>
1062 <B>Deprecated.
</B> <I>No longer used/required.
</I></TD>
1064 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
1065 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
1066 <CODE> boolean
</CODE></FONT></TD>
1067 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#submitAnswer(pc2.ex.ClarInfoAndFiles)">submitAnswer
</A></B>(
<A HREF=
"../../pc2/ex/ClarInfoAndFiles.html">ClarInfoAndFiles
</A> clar)
</CODE>
1070 submit an Answer to a clarification
1073 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
1074 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
1075 <CODE> <A HREF=
"../../pc2/ex/ClarInfoAndFiles.html">ClarInfoAndFiles
</A></CODE></FONT></TD>
1076 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#submitClarification(java.lang.Long, java.lang.String)">submitClarification
</A></B>(java.lang.Long
problemId,
1077 java.lang.String
question)
</CODE>
1080 submit a Clar
1083 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
1084 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
1085 <CODE> boolean
</CODE></FONT></TD>
1086 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#submitJudgement(pc2.ex.RunInfoAndFiles, int, boolean)">submitJudgement
</A></B>(
<A HREF=
"../../pc2/ex/RunInfoAndFiles.html">RunInfoAndFiles
</A> run,
1087 int
judgementIdx,
1088 boolean
isACorrect)
</CODE>
1091 submit a Judgement for a run
1094 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
1095 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
1096 <CODE> <A HREF=
"../../pc2/ex/RunInfoAndFiles.html">RunInfoAndFiles
</A></CODE></FONT></TD>
1097 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#submitRun(java.lang.Long, java.lang.Long, java.lang.String, java.lang.String[])">submitRun
</A></B>(java.lang.Long
problemId,
1098 java.lang.Long
languageId,
1099 java.lang.String
mainFile,
1100 java.lang.String[]
auxFiles)
</CODE>
1103 submitRun submit a run to the Judges.
</TD>
1105 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
1106 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
1107 <CODE> boolean
</CODE></FONT></TD>
1108 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#unCheckOutClar(pc2.ex.ClarInfoAndFiles)">unCheckOutClar
</A></B>(
<A HREF=
"../../pc2/ex/ClarInfoAndFiles.html">ClarInfoAndFiles
</A> clar)
</CODE>
1111 For Judge, un-checkout clar (return to Server)
<BR>
1114 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
1115 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
1116 <CODE> boolean
</CODE></FONT></TD>
1117 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#unCheckOutRun(pc2.ex.RunInfoAndFiles)">unCheckOutRun
</A></B>(
<A HREF=
"../../pc2/ex/RunInfoAndFiles.html">RunInfoAndFiles
</A> rif)
</CODE>
1120 For Judge, un-checkout run (return to Server)
<BR>
1123 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
1124 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
1125 <CODE> void
</CODE></FONT></TD>
1126 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#update(pc2.RemoteObservable, int, java.io.Serializable)">update
</A></B>(pc2.RemoteObservable
observable,
1128 java.io.Serializable
arg)
</CODE>
1131 Used by Server to pass information to this Client
1134 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
1135 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
1136 <CODE> boolean
</CODE></FONT></TD>
1137 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#writeProblemAnswerFile(int, java.lang.String)">writeProblemAnswerFile
</A></B>(int
dataSetNumber,
1138 java.lang.String
fileName)
</CODE>
1141 writes the answer file to the specified filename
</TD>
1143 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
1144 <TD ALIGN=
"right" VALIGN=
"top" WIDTH=
"1%"><FONT SIZE=
"-1">
1145 <CODE> boolean
</CODE></FONT></TD>
1146 <TD><CODE><B><A HREF=
"../../pc2/ex/BaseClient.html#writeProblemDataFile(int, java.lang.String)">writeProblemDataFile
</A></B>(int
dataSetNumber,
1147 java.lang.String
fileName)
</CODE>
1150 writes the data file to the specified filename
</TD>
1153 <A NAME=
"methods_inherited_from_class_javax.swing.JFrame"><!-- --></A>
1154 <TABLE BORDER=
"1" CELLPADDING=
"3" CELLSPACING=
"0" WIDTH=
"100%">
1155 <TR BGCOLOR=
"#EEEEFF" CLASS=
"TableSubHeadingColor">
1156 <TD><B>Methods inherited from class javax.swing.JFrame
</B></TD>
1158 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
1159 <TD><CODE>addImpl, createRootPane, frameInit, getAccessibleContext, getContentPane, getDefaultCloseOperation, getGlassPane, getJMenuBar, getLayeredPane, getRootPane, isRootPaneCheckingEnabled, paramString, processKeyEvent, processWindowEvent, remove, setContentPane, setDefaultCloseOperation, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, update
</CODE></TD>
1162 <A NAME=
"methods_inherited_from_class_java.awt.Frame"><!-- --></A>
1163 <TABLE BORDER=
"1" CELLPADDING=
"3" CELLSPACING=
"0" WIDTH=
"100%">
1164 <TR BGCOLOR=
"#EEEEFF" CLASS=
"TableSubHeadingColor">
1165 <TD><B>Methods inherited from class java.awt.Frame
</B></TD>
1167 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
1168 <TD><CODE>addNotify, finalize, getCursorType, getFrames, getIconImage, getMenuBar, getState, getTitle, isResizable, remove, removeNotify, setCursor, setIconImage, setMenuBar, setResizable, setState, setTitle
</CODE></TD>
1171 <A NAME=
"methods_inherited_from_class_java.awt.Window"><!-- --></A>
1172 <TABLE BORDER=
"1" CELLPADDING=
"3" CELLSPACING=
"0" WIDTH=
"100%">
1173 <TR BGCOLOR=
"#EEEEFF" CLASS=
"TableSubHeadingColor">
1174 <TD><B>Methods inherited from class java.awt.Window
</B></TD>
1176 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
1177 <TD><CODE>addWindowListener, applyResourceBundle, applyResourceBundle, dispose, getFocusOwner, getGraphicsConfiguration, getInputContext, getListeners, getLocale, getOwnedWindows, getOwner, getToolkit, getWarningString, hide, isShowing, pack, postEvent, processEvent, removeWindowListener, setCursor, show, toBack, toFront
</CODE></TD>
1180 <A NAME=
"methods_inherited_from_class_java.awt.Container"><!-- --></A>
1181 <TABLE BORDER=
"1" CELLPADDING=
"3" CELLSPACING=
"0" WIDTH=
"100%">
1182 <TR BGCOLOR=
"#EEEEFF" CLASS=
"TableSubHeadingColor">
1183 <TD><B>Methods inherited from class java.awt.Container
</B></TD>
1185 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
1186 <TD><CODE>add, add, add, add, add, addContainerListener, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getInsets, getLayout, getMaximumSize, getMinimumSize, getPreferredSize, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, remove, removeAll, removeContainerListener, setFont, validate, validateTree
</CODE></TD>
1189 <A NAME=
"methods_inherited_from_class_java.awt.Component"><!-- --></A>
1190 <TABLE BORDER=
"1" CELLPADDING=
"3" CELLSPACING=
"0" WIDTH=
"100%">
1191 <TR BGCOLOR=
"#EEEEFF" CLASS=
"TableSubHeadingColor">
1192 <TD><B>Methods inherited from class java.awt.Component
</B></TD>
1194 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
1195 <TD><CODE>action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addPropertyChangeListener, addPropertyChangeListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphics, getHeight, getInputMethodRequests, getLocation, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getSize, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, imageUpdate, inside, isDisplayable, isDoubleBuffered, isEnabled, isFocusTraversable, isLightweight, isOpaque, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseMotionEvent, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setDropTarget, setEnabled, setForeground, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, size, toString, transferFocus
</CODE></TD>
1198 <A NAME=
"methods_inherited_from_class_java.lang.Object"><!-- --></A>
1199 <TABLE BORDER=
"1" CELLPADDING=
"3" CELLSPACING=
"0" WIDTH=
"100%">
1200 <TR BGCOLOR=
"#EEEEFF" CLASS=
"TableSubHeadingColor">
1201 <TD><B>Methods inherited from class java.lang.Object
</B></TD>
1203 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
1204 <TD><CODE>clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
</CODE></TD>
1207 <A NAME=
"methods_inherited_from_class_java.awt.MenuContainer"><!-- --></A>
1208 <TABLE BORDER=
"1" CELLPADDING=
"3" CELLSPACING=
"0" WIDTH=
"100%">
1209 <TR BGCOLOR=
"#EEEEFF" CLASS=
"TableSubHeadingColor">
1210 <TD><B>Methods inherited from interface java.awt.MenuContainer
</B></TD>
1212 <TR BGCOLOR=
"white" CLASS=
"TableRowColor">
1213 <TD><CODE>getFont, postEvent
</CODE></TD>
1219 <!-- ============ FIELD DETAIL =========== -->
1221 <A NAME=
"field_detail"><!-- --></A>
1222 <TABLE BORDER=
"1" CELLPADDING=
"3" CELLSPACING=
"0" WIDTH=
"100%">
1223 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
1224 <TD COLSPAN=
1><FONT SIZE=
"+2">
1225 <B>Field Detail
</B></FONT></TD>
1229 <A NAME=
"ACC_ALREADYLOGGEDIN"><!-- --></A><H3>
1230 ACC_ALREADYLOGGEDIN
</H3>
1232 public final int
<B>ACC_ALREADYLOGGEDIN
</B></PRE>
1234 <DD>Account already logged in
</DL>
1237 <A NAME=
"ACC_CLIENTDATANULL"><!-- --></A><H3>
1238 ACC_CLIENTDATANULL
</H3>
1240 public final int
<B>ACC_CLIENTDATANULL
</B></PRE>
1242 <DD>ClientData is NULL (internal error)
</DL>
1245 <A NAME=
"ACC_CLIENTNULL"><!-- --></A><H3>
1248 public final int
<B>ACC_CLIENTNULL
</B></PRE>
1250 <DD>Client is NULL (internal error)
</DL>
1253 <A NAME=
"ACC_EXCEPTIONINLOGIN"><!-- --></A><H3>
1254 ACC_EXCEPTIONINLOGIN
</H3>
1256 public final int
<B>ACC_EXCEPTIONINLOGIN
</B></PRE>
1258 <DD>Exception during login (internal error)
</DL>
1261 <A NAME=
"ACC_INVALIDPASSWORD"><!-- --></A><H3>
1262 ACC_INVALIDPASSWORD
</H3>
1264 public final int
<B>ACC_INVALIDPASSWORD
</B></PRE>
1266 <DD>Password did not match
</DL>
1269 <A NAME=
"ACC_NOSERVER"><!-- --></A><H3>
1272 public final int
<B>ACC_NOSERVER
</B></PRE>
1274 <DD>Can not contest Server (internal error)
</DL>
1277 <A NAME=
"ACC_TABLE_NULL"><!-- --></A><H3>
1280 public final int
<B>ACC_TABLE_NULL
</B></PRE>
1282 <DD>No account defined
</DL>
1285 <A NAME=
"ACC_TYPE_NULL"><!-- --></A><H3>
1288 public final int
<B>ACC_TYPE_NULL
</B></PRE>
1290 <DD>No such account type/uknown account type
</DL>
1293 <A NAME=
"ACC_UNKNOWNLOGINID"><!-- --></A><H3>
1294 ACC_UNKNOWNLOGINID
</H3>
1296 public final int
<B>ACC_UNKNOWNLOGINID
</B></PRE>
1298 <DD>Unknown login
</DL>
1301 <A NAME=
"loginReturnCode"><!-- --></A><H3>
1302 loginReturnCode
</H3>
1304 public java.lang.Long
<B>loginReturnCode
</B></PRE>
1308 <!-- ========= CONSTRUCTOR DETAIL ======== -->
1310 <A NAME=
"constructor_detail"><!-- --></A>
1311 <TABLE BORDER=
"1" CELLPADDING=
"3" CELLSPACING=
"0" WIDTH=
"100%">
1312 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
1313 <TD COLSPAN=
1><FONT SIZE=
"+2">
1314 <B>Constructor Detail
</B></FONT></TD>
1318 <A NAME=
"BaseClient()"><!-- --></A><H3>
1321 public
<B>BaseClient
</B>()
</PRE>
1323 <DD>BaseClient constuctor
</DL>
1325 <!-- ============ METHOD DETAIL ========== -->
1327 <A NAME=
"method_detail"><!-- --></A>
1328 <TABLE BORDER=
"1" CELLPADDING=
"3" CELLSPACING=
"0" WIDTH=
"100%">
1329 <TR BGCOLOR=
"#CCCCFF" CLASS=
"TableHeadingColor">
1330 <TD COLSPAN=
1><FONT SIZE=
"+2">
1331 <B>Method Detail
</B></FONT></TD>
1335 <A NAME=
"changePassword(int, java.lang.Long, java.lang.String, java.lang.String)"><!-- --></A><H3>
1338 public final boolean
<B>changePassword
</B>(int
pc2type,
1339 java.lang.Long
userId,
1340 java.lang.String
oldPassword,
1341 java.lang.String
newPassword)
1342 throws java.rmi.RemoteException
</PRE>
1344 <DD>Change a user's password
1346 Note: Can only change your own password. Use
1347 <A HREF=
"../../pc2/ex/BaseClient.html#changePassword(java.lang.String, java.lang.String)"><CODE>changePassword
</CODE></A>
1348 in place of this method.
1350 <DT><B>Specified by:
</B><DD><CODE>changePassword
</CODE> in interface
<CODE>pc2.IClient
</CODE></DL>
1353 <DT><B>Parameters:
</B><DD><CODE>type
</CODE> - pc2.PC2Type
<DD><CODE>userId
</CODE> - java.lang.Long
<DD><CODE>oldPassword
</CODE> - java.lang.String
<DD><CODE>newPassword
</CODE> - java.lang.String
<DT><B>Returns:
</B><DD>boolean
</DL>
1358 <A NAME=
"getData()"><!-- --></A><H3>
1361 public final pc2.ClientData
<B>getData
</B>()
1362 throws java.rmi.RemoteException
</PRE>
1364 <DD><B>Deprecated.
</B> <I>Use getSiteId, getClientName, and getClientId instead
</I>
1368 Invoked by the Server
<DD><DL>
1369 <DT><B>Specified by:
</B><DD><CODE>getData
</CODE> in interface
<CODE>pc2.IClient
</CODE></DL>
1372 <DT><B>Returns:
</B><DD>pc2.ClientData
<DT><B>Throws:
</B><DD><CODE>java.rmi.RemoteException
</CODE> - thrown if logged in
</DL>
1377 <A NAME=
"getFile(java.lang.String, java.lang.String)"><!-- --></A><H3>
1380 public final boolean
<B>getFile
</B>(java.lang.String
contestId,
1381 java.lang.String
filename)
1382 throws java.rmi.RemoteException
</PRE>
1384 <DD><B>Deprecated.
</B> <I>functionality removed, always returns false.
</I>
1386 <DD>get a file from this client
1388 Invoked by the Server.
<DD><DL>
1389 <DT><B>Specified by:
</B><DD><CODE>getFile
</CODE> in interface
<CODE>pc2.IClient
</CODE></DL>
1392 <DT><B>Returns:
</B><DD>boolean
<DT><B>Throws:
</B><DD><CODE>java.rmi.RemoteException
</CODE> - The exception description.
</DL>
1397 <A NAME=
"getID()"><!-- --></A><H3>
1400 public final java.lang.Long
<B>getID
</B>()
1401 throws java.rmi.RemoteException
</PRE>
1403 <DD><B>Deprecated.
</B> <I>Use
<A HREF=
"../../pc2/ex/BaseClient.html#getClientId()"><CODE>getClientId()
</CODE></A></I>
1405 <DD>(will be deprecated) returns login id (number)
1407 Invoked by the Server.
<P><DD><DL>
1411 <DT><B>Returns:
</B><DD>java.lang.Long
<DT><B>Throws:
</B><DD><CODE>java.rmi.RemoteException
</CODE> - The exception description.
</DL>
1416 <A NAME=
"getRemoteType()"><!-- --></A><H3>
1419 public final java.lang.String
<B>getRemoteType
</B>()
1420 throws java.rmi.RemoteException
</PRE>
1422 <DD>returns the remote type for this user
1427 <DT><B>Returns:
</B><DD>java.lang.String
</DL>
1432 <A NAME=
"getType()"><!-- --></A><H3>
1435 public final java.lang.Integer
<B>getType
</B>()
1436 throws java.rmi.RemoteException
</PRE>
1438 <DD>get the PC
<sup>2</sup> Client Type for this client.
<DD><DL>
1439 <DT><B>Specified by:
</B><DD><CODE>getType
</CODE> in interface
<CODE>pc2.IClient
</CODE></DL>
1442 <DT><B>Returns:
</B><DD>java.lang.Integer
<DT><B>Throws:
</B><DD><CODE>java.rmi.RemoteException
</CODE> - throws exception
</DL>
1447 <A NAME=
"getZipFile(java.lang.String, java.lang.String)"><!-- --></A><H3>
1450 public final boolean
<B>getZipFile
</B>(java.lang.String
contestId,
1451 java.lang.String
filename)
1452 throws java.rmi.RemoteException
</PRE>
1454 <DD>Invoked by the Server
<DD><DL>
1455 <DT><B>Specified by:
</B><DD><CODE>getZipFile
</CODE> in interface
<CODE>pc2.IClient
</CODE></DL>
1458 <DT><B>Parameters:
</B><DD><CODE>ContestId
</CODE> - java.lang.String - Id for contest (unused)
<DD><CODE>filename
</CODE> - java.lang.String - output name for Zip file
<DT><B>Returns:
</B><DD>testpc2.IServer
<DT><B>Throws:
</B><DD><CODE>java.rmi.RemoteException
</CODE> - The exception description.
</DL>
1463 <A NAME=
"handleNewRun(pc2.ex.RunInfoAndFiles)"><!-- --></A><H3>
1466 public void
<B>handleNewRun
</B>(
<A HREF=
"../../pc2/ex/RunInfoAndFiles.html">RunInfoAndFiles
</A> run)
</PRE>
1468 <DD>Invoked when a team submits a run or if a Judge
1469 un-checks out a run.
1471 Judge should override this method
<br>
1472 Board might override this method
<DD><DL>
1476 <DT><B>See Also:
</B><DD><A HREF=
"../../pc2/ex/RunInfoAndFiles.html"><CODE>RunInfoAndFiles
</CODE></A>,
1477 <A HREF=
"../../pc2/ex/GetRunsClient.html#handleNewRun(pc2.ex.RunInfoAndFiles)"><CODE>handleNewRun
</CODE></A></DL>
1482 <A NAME=
"logoff()"><!-- --></A><H3>
1485 public final boolean
<B>logoff
</B>()
</PRE>
1487 <DD>returns true if able to logoff client
<DD><DL>
1493 <A NAME=
"putBigMessage(java.lang.String)"><!-- --></A><H3>
1496 public boolean
<B>putBigMessage
</B>(java.lang.String
s)
1497 throws java.rmi.RemoteException
</PRE>
1499 <DD>puts a big message on the teams' screen
1501 Invoked by the Server, not used.
<DD><DL>
1502 <DT><B>Specified by:
</B><DD><CODE>putBigMessage
</CODE> in interface
<CODE>pc2.IClient
</CODE></DL>
1505 <DT><B>Returns:
</B><DD>java.lang.String
<DT><B>Throws:
</B><DD><CODE>java.rmi.RemoteException
</CODE> - The exception description.
</DL>
1510 <A NAME=
"putFile(java.lang.String, java.lang.String)"><!-- --></A><H3>
1513 public final boolean
<B>putFile
</B>(java.lang.String
contestId,
1514 java.lang.String
filename)
1515 throws java.rmi.RemoteException
</PRE>
1517 <DD>save/put a file from the Server to this Client
1519 Invoked by the Server, not used.
<DD><DL>
1520 <DT><B>Specified by:
</B><DD><CODE>putFile
</CODE> in interface
<CODE>pc2.IClient
</CODE></DL>
1523 <DT><B>Returns:
</B><DD>testpc2.ClientData
<DT><B>Throws:
</B><DD><CODE>java.rmi.RemoteException
</CODE> - The exception description.
</DL>
1528 <A NAME=
"resetClient(java.lang.String, boolean, boolean)"><!-- --></A><H3>
1531 public boolean
<B>resetClient
</B>(java.lang.String
message,
1532 boolean
logoff,
1533 boolean
killMe)
1534 throws java.rmi.RemoteException
</PRE>
1536 <DD>Used to reset the client to initial login state
1538 Invoked by the Server
<DD><DL>
1539 <DT><B>Specified by:
</B><DD><CODE>resetClient
</CODE> in interface
<CODE>pc2.IClient
</CODE></DL>
1542 <DT><B>Parameters:
</B><DD><CODE>message
</CODE> - java.lang.String - message for big message
<DD><CODE>logoff
</CODE> - boolean - if true force client to be logged off
<DD><CODE>killMe
</CODE> - boolean - if true does an exit() on the client
</DL>
1547 <A NAME=
"setID(java.lang.Long)"><!-- --></A><H3>
1550 public final void
<B>setID
</B>(java.lang.Long
id)
1551 throws java.rmi.RemoteException
</PRE>
1553 <DD>(will be deprecated) Set the login id for this client.
1555 Invoked by the Server
<DD><DL>
1556 <DT><B>Specified by:
</B><DD><CODE>setID
</CODE> in interface
<CODE>pc2.IClient
</CODE></DL>
1559 <DT><B>Returns:
</B><DD>java.lang.Long
</DL>
1564 <A NAME=
"setLogFilename(java.lang.String)"><!-- --></A><H3>
1567 public final boolean
<B>setLogFilename
</B>(java.lang.String
newName)
</PRE>
1569 <DD>Change default PC
<sup>2</sup> log file name
1571 this allows the user to redirect the log output
1572 to a different file.
1574 Log output is done automatically for certain methods
1575 like connect and logout if there are errors/Exceptions.
<DD><DL>
1579 <DT><B>Returns:
</B><DD>boolean - whether log file name changed or not
</DL>
1584 <A NAME=
"specialCommand(java.lang.Object)"><!-- --></A><H3>
1587 public final boolean
<B>specialCommand
</B>(java.lang.Object
o)
1588 throws java.rmi.RemoteException
</PRE>
1590 <DD><B>Deprecated.
</B> <I>No longer used/required.
</I>
1592 <DD>Handle a special command
1594 Invoked by the Server, not used
1596 <DT><B>Specified by:
</B><DD><CODE>specialCommand
</CODE> in interface
<CODE>pc2.IClient
</CODE></DL>
1599 <DT><B>Returns:
</B><DD>java.lang.String
<DT><B>Throws:
</B><DD><CODE>java.rmi.RemoteException
</CODE> - The exception description.
</DL>
1604 <A NAME=
"update(pc2.RemoteObservable, int, java.io.Serializable)"><!-- --></A><H3>
1607 public final void
<B>update
</B>(pc2.RemoteObservable
observable,
1609 java.io.Serializable
arg)
1610 throws java.rmi.RemoteException
</PRE>
1612 <DD>Used by Server to pass information to this Client
1614 <DT><B>Specified by:
</B><DD><CODE>update
</CODE> in interface
<CODE>pc2.RemoteObserver
</CODE></DL>
1617 <DT><B>Parameters:
</B><DD><CODE>observable
</CODE> - testpc2.IServer
<DD><CODE>event
</CODE> - int
<DD><CODE>arg
</CODE> - java.lang.Object
<DT><B>Throws:
</B><DD><CODE>java.rmi.RemoteException
</CODE> - The exception description.
</DL>
1622 <A NAME=
"changePassword(java.lang.String, java.lang.String)"><!-- --></A><H3>
1625 public final boolean
<B>changePassword
</B>(java.lang.String
oldPassword,
1626 java.lang.String
newPassword)
1627 throws java.rmi.RemoteException
</PRE>
1629 <DD>Change currently logged in user's password
<DD><DL>
1635 <A NAME=
"connect(java.lang.String, java.lang.String, long, java.lang.String, java.lang.String)"><!-- --></A><H3>
1638 public boolean
<B>connect
</B>(java.lang.String
IP,
1639 java.lang.String
Port,
1641 java.lang.String
loginId,
1642 java.lang.String
password)
1643 throws java.lang.Exception
</PRE>
1645 <DD>Connect to PC
<sup>2</sup> server
1647 Login/connect to server. Allowed client type are 'team', 'judge', 'board',
1648 and 'custom'. LoginId must be prefaced by the client types names.
1650 Any class that extends BaseClient should also use the
1651 <A HREF=
"../../pc2/ex/BaseClient.html#logoff()"><CODE>logoff()
</CODE></A> method to disconnect from the server.
1656 <DT><B>Parameters:
</B><DD><CODE>IP
</CODE> - java.lang.String - IP or hostname
<DD><CODE>Port
</CODE> - java.lang.String - form digits, default is
1002<DD><CODE>siteId
</CODE> - long PC^
2 site number, ie
1.
<DD><CODE>loginId
</CODE> - java.lang.String - PC^
2 login account name 'custom1', 'team1', etc.
<DD><CODE>password
</CODE> - java.lang.String - PC^
2 password (cleartext)
<DT><B>Returns:
</B><DD>boolean - true if logged in
</DL>
1661 <A NAME=
"getAllClars()"><!-- --></A><H3>
1664 public final
<A HREF=
"../../pc2/ex/ClarInfoAndFiles.html">ClarInfoAndFiles
</A>[]
<B>getAllClars
</B>()
1665 throws
<A HREF=
"../../pc2/ex/ServerAccessException.html">ServerAccessException
</A>,
1666 java.rmi.RemoteException
</PRE>
1668 <DD>Get all clarfications
1670 For team, gets clars for this team (and send to all)
<br>
1671 For Judge, gets clars for all teams
<br><DD><DL>
1677 <A NAME=
"getAllRuns()"><!-- --></A><H3>
1680 public final
<A HREF=
"../../pc2/ex/RunInfoAndFiles.html">RunInfoAndFiles
</A>[]
<B>getAllRuns
</B>()
1681 throws
<A HREF=
"../../pc2/ex/ServerAccessException.html">ServerAccessException
</A>,
1682 java.rmi.RemoteException
</PRE>
1686 For Team, only that teams runs
<br>
1687 For Judge and Board, returns runs for all teams
<BR>
1689 todo: Should only allow the users to do this once on startup ??!
<DD><DL>
1695 <A NAME=
"getAllUnjudgedRuns()"><!-- --></A><H3>
1696 getAllUnjudgedRuns
</H3>
1698 public final
<A HREF=
"../../pc2/ex/RunInfoAndFiles.html">RunInfoAndFiles
</A>[]
<B>getAllUnjudgedRuns
</B>()
1699 throws
<A HREF=
"../../pc2/ex/ServerAccessException.html">ServerAccessException
</A>,
1700 java.rmi.RemoteException
</PRE>
1702 <DD>Get unjudged (non-selected) runs from All Site (Servers)
1703 Does not include Files
1705 For Judge, returns all unjudged runs
<BR>
1708 todo: Should only allow the users to do this once on startup??!
<DD><DL>
1714 <A NAME=
"getClientName()"><!-- --></A><H3>
1717 public java.lang.String
<B>getClientName
</B>()
1718 throws java.lang.Exception
</PRE>
1720 <DD>returns the title/name for the logged in user
1722 Judge and Board should use this function.
<DD><DL>
1728 <A NAME=
"getLanguageTitle(java.lang.Long)"><!-- --></A><H3>
1729 getLanguageTitle
</H3>
1731 public java.lang.String
<B>getLanguageTitle
</B>(java.lang.Long
languageId)
1732 throws java.lang.Exception
</PRE>
1734 <DD>returns the name of the language, null if not defined
<DD><DL>
1738 <DT><B>See Also:
</B><DD><A HREF=
"../../pc2/ex/BaseClient.html#getNumLanguages()"><CODE>getNumLanguages()
</CODE></A></DL>
1743 <A NAME=
"getLogDebugLevel()"><!-- --></A><H3>
1744 getLogDebugLevel
</H3>
1746 public final int
<B>getLogDebugLevel
</B>()
</PRE>
1748 <DD>Return PC
<sup>2</sup> log debug/verbose level
1753 <DT><B>Returns:
</B><DD>int
</DL>
1758 <A NAME=
"getNumLanguages()"><!-- --></A><H3>
1759 getNumLanguages
</H3>
1761 public final int
<B>getNumLanguages
</B>()
1762 throws java.lang.Exception
</PRE>
1764 <DD>returns the number of defined languages
<DD><DL>
1768 <DT><B>See Also:
</B><DD><A HREF=
"../../pc2/ex/BaseClient.html#getLanguageTitle(java.lang.Long)"><CODE>getLanguageTitle(Long)
</CODE></A></DL>
1773 <A NAME=
"getNumProblems()"><!-- --></A><H3>
1776 public final int
<B>getNumProblems
</B>()
1777 throws java.lang.Exception
</PRE>
1779 <DD>returns the number of defined problems
<DD><DL>
1785 <A NAME=
"getNumTeamAccounts()"><!-- --></A><H3>
1786 getNumTeamAccounts
</H3>
1788 public final int
<B>getNumTeamAccounts
</B>()
1789 throws java.lang.Exception
</PRE>
1791 <DD>returns the number of teams
<DD><DL>
1797 <A NAME=
"getProblemTitle(java.lang.Long)"><!-- --></A><H3>
1798 getProblemTitle
</H3>
1800 public final java.lang.String
<B>getProblemTitle
</B>(java.lang.Long
problemId)
1801 throws java.lang.Exception
</PRE>
1803 <DD>returns the title for a given problem (or null if not defined)
<DD><DL>
1809 <A NAME=
"getServer()"><!-- --></A><H3>
1812 public final pc2.IServer
<B>getServer
</B>()
1813 throws java.rmi.RemoteException
</PRE>
1815 <DD><B>Deprecated.
</B> <I>Use other
"get" and
"submit" methods in place of this.
</I>
1817 <DD>(Will be deprecated) Get a reference to the Server
1819 This method will throw an exception and will likely
1820 be deprecated in future versions.
<DD><DL>
1821 <DT><B>Specified by:
</B><DD><CODE>getServer
</CODE> in interface
<CODE>pc2.IClient
</CODE></DL>
1824 <DT><B>Returns:
</B><DD>testpc2.IServer
<DT><B>Throws:
</B><DD><CODE>java.rmi.RemoteException
</CODE> - The exception description.
</DL>
1829 <A NAME=
"getSiteId()"><!-- --></A><H3>
1832 public java.lang.Long
<B>getSiteId
</B>()
1833 throws java.lang.Exception
</PRE>
1841 <A NAME=
"getSiteTitle()"><!-- --></A><H3>
1844 public java.lang.String
<B>getSiteTitle
</B>()
1845 throws java.lang.Exception
</PRE>
1847 <DD>get the currently logged into site title/name
<DD><DL>
1853 <A NAME=
"getTeamName()"><!-- --></A><H3>
1856 public java.lang.String
<B>getTeamName
</B>()
1857 throws java.lang.Exception
</PRE>
1859 <DD>returns the title/name for the logged in team.
1864 <DT><B>See Also:
</B><DD><A HREF=
"../../pc2/ex/BaseClient.html#getNumTeamAccounts()"><CODE>getNumTeamAccounts()
</CODE></A></DL>
1869 <A NAME=
"getTeamName(java.lang.Long, java.lang.Long)"><!-- --></A><H3>
1872 public java.lang.String
<B>getTeamName
</B>(java.lang.Long
siteId,
1873 java.lang.Long
id)
1874 throws java.lang.Exception
</PRE>
1876 <DD>returns the title/name for the input user id
1881 <DT><B>See Also:
</B><DD><A HREF=
"../../pc2/ex/BaseClient.html#getNumTeamAccounts()"><CODE>getNumTeamAccounts()
</CODE></A></DL>
1886 <A NAME=
"handleSettingsUpdated()"><!-- --></A><H3>
1887 handleSettingsUpdated
</H3>
1889 public void
<B>handleSettingsUpdated
</B>()
</PRE>
1891 <DD>Indicates when contest settings have changed
1893 When contest settings are changed, this method is called.
1894 Contest settings include problem info, language info, account
1895 info and other contest settings.
1897 Should be overridden by every Client.
1904 <A NAME=
"setLogDebugLevel(int)"><!-- --></A><H3>
1905 setLogDebugLevel
</H3>
1907 public final void
<B>setLogDebugLevel
</B>(int
newLevel)
</PRE>
1909 <DD>Change default PC
<sup>2</sup> log debug/verbose level
1911 this allows the user to change the amount of inforation
1912 written to log.
<DD><DL>
1916 <DT><B>Returns:
</B><DD>boolean - whether log file name changed or not
</DL>
1921 <A NAME=
"checkOutClar(java.lang.Long, java.lang.Long)"><!-- --></A><H3>
1924 public final
<A HREF=
"../../pc2/ex/ClarInfoAndFiles.html">ClarInfoAndFiles
</A> <B>checkOutClar
</B>(java.lang.Long
siteId,
1925 java.lang.Long
clarId)
1926 throws java.lang.Exception,
1927 <A HREF=
"../../pc2/ex/ServerAccessException.html">ServerAccessException
</A>,
1928 java.rmi.RemoteException
</PRE>
1930 <DD>For Judge checks-out a clar
<BR>
1932 A judge gets an unanswered clar to answer it
1934 <u>Clarification Narative
</u><Br>
1935 A team client sends a clarification via
<A HREF=
"../../pc2/ex/BaseClient.html#submitClarification(java.lang.Long, java.lang.String)"><CODE>submitClarification
</CODE></A>.
1936 The server will then invoke todo:handleNewClar on each Judge and
1939 A judge answers the clar by checking out the clar using
1940 <A HREF=
"../../pc2/ex/BaseClient.html#checkOutClar(java.lang.Long, java.lang.Long)"><CODE>checkOutClar
</CODE></A> which returns a
<A HREF=
"../../pc2/ex/ClarInfoAndFiles.html"><CODE>ClarInfoAndFiles
</CODE></A>.
1941 The server will then send a
<A HREF=
"../../pc2/ex/BaseClient.html#handleClarSelected(pc2.ex.ClarInfoAndFiles)"><CODE>handleClarSelected
</CODE></A> to each
1944 The judge who has the clar will then answer the clar by
1945 filling in/assigning the
<A HREF=
"../../pc2/ex/ClarInfoAndFiles.html#setAnswer(java.lang.String)"><CODE>setAnswer
</CODE></A> then
1946 invoking the
<A HREF=
"../../pc2/ex/BaseClient.html#submitAnswer(pc2.ex.ClarInfoAndFiles)"><CODE>submitAnswer
</CODE></A> method. The server will
1947 send the clar back to the team or team(s) as the judge specified.
1949 If the Judge instead wants to cancel or uncheckout the clar,
1950 the judge can invoke the
<A HREF=
"../../pc2/ex/BaseClient.html#unCheckOutClar(pc2.ex.ClarInfoAndFiles)"><CODE>unCheckOutClar
</CODE></A> and the server
1951 will invoke
<A HREF=
"../../pc2/ex/BaseClient.html#handleNewClar(pc2.ex.ClarInfoAndFiles)"><CODE>handleNewClar
</CODE></A> on each judge.
<DD><DL>
1957 <A NAME=
"checkOutRun(java.lang.Long, java.lang.Long)"><!-- --></A><H3>
1960 public final
<A HREF=
"../../pc2/ex/RunInfoAndFiles.html">RunInfoAndFiles
</A> <B>checkOutRun
</B>(java.lang.Long
siteId,
1961 java.lang.Long
runId)
1962 throws java.lang.Exception,
1963 <A HREF=
"../../pc2/ex/ServerAccessException.html">ServerAccessException
</A>,
1964 java.rmi.RemoteException
</PRE>
1966 <DD>For Judge, check out/select a run
1968 A judge gets a run, so the run can be judged.
1970 <u>Run Narative
</u><P>
1971 A team client sends a run via
<A HREF=
"../../pc2/ex/BaseClient.html#submitRun(java.lang.Long, java.lang.Long, java.lang.String, java.lang.String[])"><CODE>submitRun
</CODE></A>.
1972 The server will then invoke
<A HREF=
"../../pc2/ex/BaseClient.html#handleCheckedOutRun(pc2.ex.RunInfoAndFiles)"><CODE>handleCheckedOutRun
</CODE></A>
1973 on each Judge and connected server.
1975 A judge judges the run by checking out the clar using
1976 <A HREF=
"../../pc2/ex/BaseClient.html#checkOutRun(java.lang.Long, java.lang.Long)"><CODE>checkOutRun
</CODE></A> (this method) which returns a
<A HREF=
"../../pc2/ex/RunInfoAndFiles.html"><CODE>RunInfoAndFiles
</CODE></A>.
1977 The server will then send a
<A HREF=
"../../pc2/ex/BaseClient.html#handleCheckedOutRun(pc2.ex.RunInfoAndFiles)"><CODE>handleCheckedOutRun
</CODE></A> to each
1980 The judge who has checked out the run, will send back the judgement
1981 using the
<A HREF=
"../../pc2/ex/BaseClient.html#submitJudgement(pc2.ex.RunInfoAndFiles, int, boolean)"><CODE>submitJudgement
</CODE></A> method. The server will
1982 send the run judgement back to the team.
1984 If the Judge instead wants to cancel or uncheckout the run,
1985 the judge can invoke the
<A HREF=
"../../pc2/ex/BaseClient.html#unCheckOutRun(pc2.ex.RunInfoAndFiles)"><CODE>unCheckOutRun
</CODE></A> and the server
1986 will invoke
<A HREF=
"../../pc2/ex/BaseClient.html#handleNewRun(pc2.ex.RunInfoAndFiles)"><CODE>handleNewRun
</CODE></A> on each judge.
<DD><DL>
1992 <A NAME=
"executeRun()"><!-- --></A><H3>
1995 public final pc2.MultiFileViewer
<B>executeRun
</B>()
1996 throws java.lang.Exception
</PRE>
1998 <DD>Judge execute a run
2000 Only Judge can use this after checkOutRun
<DD><DL>
2006 <A NAME=
"executeRun(java.lang.Long, java.lang.Long, java.lang.String, java.lang.String[])"><!-- --></A><H3>
2009 public final pc2.MultiFileViewer
<B>executeRun
</B>(java.lang.Long
problemId,
2010 java.lang.Long
languageId,
2011 java.lang.String
mainFile,
2012 java.lang.String[]
auxFiles)
2013 throws java.lang.Exception,
2014 <A HREF=
"../../pc2/ex/ServerAccessException.html">ServerAccessException
</A>,
2015 java.rmi.RemoteException
</PRE>
2017 <DD>execute/test run
2022 <DT><B>Parameters:
</B><DD><CODE>problemId
</CODE> - java.lang.Long
<DD><CODE>languageId
</CODE> - java.lang.Long
<DD><CODE>mainFile
</CODE> - java.lang.String
<DD><CODE>auxFiles
</CODE> - java.lang.String[]
</DL>
2027 <A NAME=
"executeRun(pc2.ex.RunInfoAndFiles)"><!-- --></A><H3>
2030 public final boolean
<B>executeRun
</B>(
<A HREF=
"../../pc2/ex/RunInfoAndFiles.html">RunInfoAndFiles
</A> rif)
2031 throws java.lang.Exception
</PRE>
2035 Only Team can use this method
<DD><DL>
2041 <A NAME=
"getACMRegionName(int)"><!-- --></A><H3>
2042 getACMRegionName
</H3>
2044 public java.lang.String
<B>getACMRegionName
</B>(int
regionId)
</PRE>
2046 <DD>Insert the method's description here.
2047 Creation date: (
9/
3/
2002 1:
39:
03 PM)
<DD><DL>
2051 <DT><B>Parameters:
</B><DD><CODE>regionId
</CODE> - int
<DT><B>Returns:
</B><DD>java.lang.String
</DL>
2056 <A NAME=
"getAllACMRegionIds()"><!-- --></A><H3>
2057 getAllACMRegionIds
</H3>
2059 public java.lang.Integer[]
<B>getAllACMRegionIds
</B>()
</PRE>
2061 <DD>Insert the method's description here.
2062 Creation date: (
9/
3/
2002 1:
39:
03 PM)
<DD><DL>
2066 <DT><B>Returns:
</B><DD>java.lang.String[]
</DL>
2071 <A NAME=
"getAllACMRegionNames()"><!-- --></A><H3>
2072 getAllACMRegionNames
</H3>
2074 public java.lang.String[]
<B>getAllACMRegionNames
</B>()
</PRE>
2076 <DD>Insert the method's description here.
2077 Creation date: (
9/
3/
2002 1:
39:
03 PM)
<DD><DL>
2081 <DT><B>Returns:
</B><DD>java.lang.String[]
</DL>
2086 <A NAME=
"getAllJudgedRuns()"><!-- --></A><H3>
2087 getAllJudgedRuns
</H3>
2089 public final
<A HREF=
"../../pc2/ex/RunInfoAndFiles.html">RunInfoAndFiles
</A>[]
<B>getAllJudgedRuns
</B>()
2090 throws
<A HREF=
"../../pc2/ex/ServerAccessException.html">ServerAccessException
</A>,
2091 java.rmi.RemoteException
</PRE>
2093 <DD>Get judged Runs without Files
2095 For Team, only that teams runs
<br>
2096 For Judge and Board, returns runs for all teams
<BR>
2103 <A NAME=
"getAllUnansweredClars()"><!-- --></A><H3>
2104 getAllUnansweredClars
</H3>
2106 public final
<A HREF=
"../../pc2/ex/ClarInfoAndFiles.html">ClarInfoAndFiles
</A>[]
<B>getAllUnansweredClars
</B>()
2107 throws
<A HREF=
"../../pc2/ex/ServerAccessException.html">ServerAccessException
</A>,
2108 java.rmi.RemoteException
</PRE>
2110 <DD>return all unanswered clars (unsorted)
2112 For Judge, returns all unanswered clars
<BR>
2114 todo: Should only allow the users to do this once on startup??!
<DD><DL>
2120 <A NAME=
"getAnswerDataFile(int)"><!-- --></A><H3>
2121 getAnswerDataFile
</H3>
2123 public final java.io.File
<B>getAnswerDataFile
</B>(int
dataSetNumber)
2124 throws java.lang.Exception
</PRE>
2126 <DD>returns the answer file for a given problem (or null if not defined)
<DD><DL>
2132 <A NAME=
"getClientId()"><!-- --></A><H3>
2135 public final long
<B>getClientId
</B>()
2136 throws java.rmi.RemoteException
</PRE>
2138 <DD>return the client id, if logged in.
<DD><DL>
2142 <DT><B>Returns:
</B><DD>java.lang.Long
<DT><B>Throws:
</B><DD><CODE>java.rmi.RemoteException
</CODE> -
</DL>
2147 <A NAME=
"getCountdownClockLabel()"><!-- --></A><H3>
2148 getCountdownClockLabel
</H3>
2150 public javax.swing.JLabel
<B>getCountdownClockLabel
</B>()
</PRE>
2152 <DD>Insert the method's description here.
2153 Creation date: (
4/
30/
2003 8:
15:
36 PM)
<DD><DL>
2157 <DT><B>Returns:
</B><DD>javax.swing.JLabel
</DL>
2162 <A NAME=
"getID(pc2.SessionId)"><!-- --></A><H3>
2165 public final java.lang.Long
<B>getID
</B>(pc2.SessionId
id)
2166 throws java.rmi.RemoteException
</PRE>
2168 <DD><B>Deprecated.
</B> <I>Use
<A HREF=
"../../pc2/ex/BaseClient.html#getClientId()"><CODE>getClientId()
</CODE></A></I>
2170 <DD>(will be deprecated) returns login id (number)
2172 Invoked by the Server.
<P><DD><DL>
2173 <DT><B>Specified by:
</B><DD><CODE>getID
</CODE> in interface
<CODE>pc2.PC2Remote
</CODE></DL>
2176 <DT><B>Returns:
</B><DD>java.lang.Long
<DT><B>Throws:
</B><DD><CODE>java.rmi.RemoteException
</CODE> - The exception description.
</DL>
2181 <A NAME=
"getInternalData(java.lang.Object, int)"><!-- --></A><H3>
2182 getInternalData
</H3>
2184 public final java.lang.Object
<B>getInternalData
</B>(java.lang.Object
obj1,
2185 int
settingsValue)
2186 throws java.lang.Exception
</PRE>
2188 <DD>return internal data
2190 will be deprecated soon.
<DD><DL>
2196 <A NAME=
"getJudgementName(int)"><!-- --></A><H3>
2197 getJudgementName
</H3>
2199 public java.lang.String
<B>getJudgementName
</B>(int
num)
2200 throws java.lang.Exception
</PRE>
2202 <DD>returns the title/name of the judgement
2204 returns null if not found or none defined. Typically
2205 one just uses this from the RunInfoAndFiles class directly.
<DD><DL>
2211 <A NAME=
"getLoginReturnCode()"><!-- --></A><H3>
2212 getLoginReturnCode
</H3>
2214 public final java.lang.Long
<B>getLoginReturnCode
</B>()
</PRE>
2216 <DD>Insert the method's description here.
2217 Creation date: (
08/
21/
02 9:
54:
13 PM)
<DD><DL>
2221 <DT><B>Returns:
</B><DD>java.lang.Long
</DL>
2226 <A NAME=
"getLoginStatusMessage()"><!-- --></A><H3>
2227 getLoginStatusMessage
</H3>
2229 public final java.lang.String
<B>getLoginStatusMessage
</B>()
</PRE>
2231 <DD>Returns login status message, after login
2233 This message is populated when a connect() (login) is done
2234 If no login has been attempted, will return null
2236 Use isLoggedIn() to determine whether client logged in
<br><DD><DL>
2240 <DT><B>See Also:
</B><DD><A HREF=
"../../pc2/ex/BaseClient.html#isLoggedIn()"><CODE>isLoggedIn()
</CODE></A></DL>
2245 <A NAME=
"getNumACMRegions()"><!-- --></A><H3>
2246 getNumACMRegions
</H3>
2248 public final int
<B>getNumACMRegions
</B>()
2249 throws java.lang.Exception
</PRE>
2251 <DD>returns the number of ACM Regions
<DD><DL>
2255 <DT><B>See Also:
</B><DD><A HREF=
"../../pc2/ex/BaseClient.html#getLanguageTitle(java.lang.Long)"><CODE>getLanguageTitle(java.lang.Long)
</CODE></A></DL>
2260 <A NAME=
"getNumJudgementNames()"><!-- --></A><H3>
2261 getNumJudgementNames
</H3>
2263 public final int
<B>getNumJudgementNames
</B>()
2264 throws java.lang.Exception
</PRE>
2266 <DD>returns the number of defined problems
<DD><DL>
2272 <A NAME=
"getNumSites()"><!-- --></A><H3>
2275 public int
<B>getNumSites
</B>()
2276 throws java.lang.Exception
</PRE>
2278 <DD>return number of sites in contest
<DD><DL>
2284 <A NAME=
"getProblemAnswerFileName()"><!-- --></A><H3>
2285 getProblemAnswerFileName
</H3>
2287 public final java.lang.String
<B>getProblemAnswerFileName
</B>()
2288 throws java.lang.Exception
</PRE>
2290 <DD>returns the answer filename for a given problem (or null if not defined)
<DD><DL>
2296 <A NAME=
"getProblemAnswerFileName(java.lang.Long)"><!-- --></A><H3>
2297 getProblemAnswerFileName
</H3>
2299 public final java.lang.String
<B>getProblemAnswerFileName
</B>(java.lang.Long
problemId)
2300 throws java.lang.Exception
</PRE>
2302 <DD>returns the answer filename for a given problem (or null if not defined)
<DD><DL>
2308 <A NAME=
"getProblemDataFileName()"><!-- --></A><H3>
2309 getProblemDataFileName
</H3>
2311 public final java.lang.String
<B>getProblemDataFileName
</B>()
2312 throws java.lang.Exception
</PRE>
2314 <DD>returns the data filename for a given problem (or null if not defined)
<DD><DL>
2320 <A NAME=
"getProblemDataFileName(java.lang.Long)"><!-- --></A><H3>
2321 getProblemDataFileName
</H3>
2323 public final java.lang.String
<B>getProblemDataFileName
</B>(java.lang.Long
problemId)
2324 throws java.lang.Exception
</PRE>
2326 <DD>returns the data filename for a given problem (or null if not defined)
<DD><DL>
2332 <A NAME=
"getProperty(java.lang.String)"><!-- --></A><H3>
2335 public java.lang.String
<B>getProperty
</B>(java.lang.String
key)
</PRE>
2343 <A NAME=
"getProperty(java.lang.String, java.lang.String)"><!-- --></A><H3>
2346 public java.lang.String
<B>getProperty
</B>(java.lang.String
key,
2347 java.lang.String
defaultValue)
</PRE>
2355 <A NAME=
"getPropertyBoolean(java.lang.String)"><!-- --></A><H3>
2356 getPropertyBoolean
</H3>
2358 public java.lang.Boolean
<B>getPropertyBoolean
</B>(java.lang.String
key)
</PRE>
2366 <A NAME=
"getPropertyBooleanArray(java.lang.String)"><!-- --></A><H3>
2367 getPropertyBooleanArray
</H3>
2369 public java.lang.Boolean[]
<B>getPropertyBooleanArray
</B>(java.lang.String
keyPrefix)
</PRE>
2377 <A NAME=
"getPropertyLong(java.lang.String)"><!-- --></A><H3>
2378 getPropertyLong
</H3>
2380 public java.lang.Long
<B>getPropertyLong
</B>(java.lang.String
key)
</PRE>
2388 <A NAME=
"getPropertyStringArray(java.lang.String)"><!-- --></A><H3>
2389 getPropertyStringArray
</H3>
2391 public java.lang.String[]
<B>getPropertyStringArray
</B>(java.lang.String
keyPrefix)
</PRE>
2399 <A NAME=
"getSiteTitle(long)"><!-- --></A><H3>
2402 public java.lang.String
<B>getSiteTitle
</B>(long
siteNumber)
2403 throws java.lang.Exception
</PRE>
2411 <A NAME=
"getStandings()"><!-- --></A><H3>
2414 public final
<A HREF=
"../../pc2/ex/ClientScoreData.html">ClientScoreData
</A>[]
<B>getStandings
</B>()
2415 throws java.lang.Exception
</PRE>
2417 <DD>Return array containing score and basic attempt statistics
<DD><DL>
2421 <DT><B>Returns:
</B><DD>pc2.ex.ClientScoreData[]
</DL>
2426 <A NAME=
"getSubmissionPenaltyPoints()"><!-- --></A><H3>
2427 getSubmissionPenaltyPoints
</H3>
2429 public final int
<B>getSubmissionPenaltyPoints
</B>()
</PRE>
2431 <DD>Return the number of penalty points for an incorrect solution.
<DD><DL>
2435 <DT><B>Returns:
</B><DD>int
</DL>
2440 <A NAME=
"getTeamAccountKeys()"><!-- --></A><H3>
2441 getTeamAccountKeys
</H3>
2443 public java.lang.String[]
<B>getTeamAccountKeys
</B>()
2444 throws java.lang.Exception
</PRE>
2446 <DD>returns list of team account keys (format =
"siteId:teamId") sorted by siteId, then teamId
<DD><DL>
2450 <DT><B>Returns:
</B><DD>java.lang.String[]
</DL>
2455 <A NAME=
"getTeamACMId(java.lang.Long, java.lang.Long)"><!-- --></A><H3>
2458 public int
<B>getTeamACMId
</B>(java.lang.Long
siteId,
2459 java.lang.Long
id)
2460 throws java.lang.Exception
</PRE>
2462 <DD>returns the ACM id for the input user id
2467 <DT><B>See Also:
</B><DD><A HREF=
"../../pc2/ex/BaseClient.html#getNumACMRegions()"><CODE>getNumACMRegions()
</CODE></A></DL>
2472 <A NAME=
"getTeamACMRegionId(java.lang.Long, java.lang.Long)"><!-- --></A><H3>
2473 getTeamACMRegionId
</H3>
2475 public int
<B>getTeamACMRegionId
</B>(java.lang.Long
siteId,
2476 java.lang.Long
id)
2477 throws java.lang.Exception
</PRE>
2479 <DD>returns the ACM region id for the input user id
2484 <DT><B>See Also:
</B><DD><A HREF=
"../../pc2/ex/BaseClient.html#getNumACMRegions()"><CODE>getNumACMRegions()
</CODE></A></DL>
2489 <A NAME=
"handleCheckedOutRun(pc2.ex.RunInfoAndFiles)"><!-- --></A><H3>
2490 handleCheckedOutRun
</H3>
2492 public void
<B>handleCheckedOutRun
</B>(
<A HREF=
"../../pc2/ex/RunInfoAndFiles.html">RunInfoAndFiles
</A> run)
</PRE>
2494 <DD>When a judge checks out a run this method is invoked
<P><DD><DL>
2498 <DT><B>See Also:
</B><DD><A HREF=
"../../pc2/ex/RunInfoAndFiles.html"><CODE>RunInfoAndFiles
</CODE></A></DL>
2503 <A NAME=
"handleClarAnswered(pc2.ex.ClarInfoAndFiles)"><!-- --></A><H3>
2504 handleClarAnswered
</H3>
2506 public void
<B>handleClarAnswered
</B>(
<A HREF=
"../../pc2/ex/ClarInfoAndFiles.html">ClarInfoAndFiles
</A> clar)
</PRE>
2508 <DD>Each answered clar for a team causes this to be invoked
<br>
2510 Each answered clar causes this method to be invoked
<br>
2511 Team should override this method
<P><DD><DL>
2515 <DT><B>See Also:
</B><DD><A HREF=
"../../pc2/ex/ClarInfoAndFiles.html"><CODE>ClarInfoAndFiles
</CODE></A></DL>
2520 <A NAME=
"handleClarSelected(pc2.ex.ClarInfoAndFiles)"><!-- --></A><H3>
2521 handleClarSelected
</H3>
2523 public void
<B>handleClarSelected
</B>(
<A HREF=
"../../pc2/ex/ClarInfoAndFiles.html">ClarInfoAndFiles
</A> clar)
</PRE>
2525 <DD>Invoked when a Judge checks out a clar
2527 Judge should override this method
<br><DD><DL>
2531 <DT><B>See Also:
</B><DD><A HREF=
"../../pc2/ex/ClarInfoAndFiles.html"><CODE>ClarInfoAndFiles
</CODE></A>,
2532 <A HREF=
"../../pc2/ex/GetRunsClient.html#handleNewRun(pc2.ex.RunInfoAndFiles)"><CODE>GetRunsClient.handleNewRun(pc2.ex.RunInfoAndFiles)
</CODE></A></DL>
2537 <A NAME=
"handleClientRefresh()"><!-- --></A><H3>
2538 handleClientRefresh
</H3>
2540 public void
<B>handleClientRefresh
</B>()
</PRE>
2542 <DD>When a site is reset (all runs and clars cleared)
2544 This is invoked when this client needs to refresh all its
2545 internal run and clar lists/grids.
2547 Should be overridden by every Client.
2554 <A NAME=
"handleContestStartStop(boolean)"><!-- --></A><H3>
2555 handleContestStartStop
</H3>
2557 public void
<B>handleContestStartStop
</B>(boolean
started)
</PRE>
2559 <DD>When contest is started and stopped this event is called
2564 <DT><B>See Also:
</B><DD><A HREF=
"../../pc2/ex/BaseClient.html#isContestRunning()"><CODE>isContestRunning()
</CODE></A></DL>
2569 <A NAME=
"handleNewClar(pc2.ex.ClarInfoAndFiles)"><!-- --></A><H3>
2572 public void
<B>handleNewClar
</B>(
<A HREF=
"../../pc2/ex/ClarInfoAndFiles.html">ClarInfoAndFiles
</A> clar)
</PRE>
2574 <DD>Invoked when a team submits a clar or if a Judge
2575 un-checks out a clar.
2577 Judge should override this method
<P><DD><DL>
2581 <DT><B>See Also:
</B><DD><A HREF=
"../../pc2/ex/ClarInfoAndFiles.html"><CODE>ClarInfoAndFiles
</CODE></A></DL>
2586 <A NAME=
"handleRunJudged(pc2.ex.RunInfoAndFiles, boolean, java.lang.String)"><!-- --></A><H3>
2587 handleRunJudged
</H3>
2589 public void
<B>handleRunJudged
</B>(
<A HREF=
"../../pc2/ex/RunInfoAndFiles.html">RunInfoAndFiles
</A> run,
2590 boolean
isSolved,
2591 java.lang.String
judgement)
</PRE>
2593 <DD>Each judgement for a team causes this to be invoked
<br>
2594 Team should override this method
<P><DD><DL>
2598 <DT><B>See Also:
</B><DD><A HREF=
"../../pc2/ex/RunInfoAndFiles.html"><CODE>RunInfoAndFiles
</CODE></A></DL>
2603 <A NAME=
"handleRunStatusUpdated(pc2.ex.RunInfoAndFiles)"><!-- --></A><H3>
2604 handleRunStatusUpdated
</H3>
2606 public void
<B>handleRunStatusUpdated
</B>(
<A HREF=
"../../pc2/ex/RunInfoAndFiles.html">RunInfoAndFiles
</A> run)
</PRE>
2608 <DD>Invoked when run is judged
2610 Judge might override this method
<br>
2611 Board should override this method
<DD><DL>
2615 <DT><B>See Also:
</B><DD><A HREF=
"../../pc2/ex/RunInfoAndFiles.html"><CODE>RunInfoAndFiles
</CODE></A></DL>
2620 <A NAME=
"handleRunUpdated(pc2.ex.RunInfoAndFiles)"><!-- --></A><H3>
2621 handleRunUpdated
</H3>
2623 public void
<B>handleRunUpdated
</B>(
<A HREF=
"../../pc2/ex/RunInfoAndFiles.html">RunInfoAndFiles
</A> run)
</PRE>
2625 <DD>Invoked when run is updated (deleted)
2627 Judge might override this method
<br>
2628 Board should override this method
<DD><DL>
2632 <DT><B>See Also:
</B><DD><A HREF=
"../../pc2/ex/RunInfoAndFiles.html"><CODE>RunInfoAndFiles
</CODE></A></DL>
2637 <A NAME=
"handleUNCheckedOutRun(pc2.ex.RunInfoAndFiles)"><!-- --></A><H3>
2638 handleUNCheckedOutRun
</H3>
2640 public void
<B>handleUNCheckedOutRun
</B>(
<A HREF=
"../../pc2/ex/RunInfoAndFiles.html">RunInfoAndFiles
</A> run)
</PRE>
2642 <DD>When a judge un checks out (returns a run without judging) this is invoked
<DD><DL>
2646 <DT><B>See Also:
</B><DD><A HREF=
"../../pc2/ex/RunInfoAndFiles.html"><CODE>RunInfoAndFiles
</CODE></A></DL>
2651 <A NAME=
"isContestRunning()"><!-- --></A><H3>
2652 isContestRunning
</H3>
2654 public final boolean
<B>isContestRunning
</B>()
2655 throws java.lang.Exception,
2656 <A HREF=
"../../pc2/ex/ServerAccessException.html">ServerAccessException
</A>,
2657 java.rmi.RemoteException
</PRE>
2659 <DD>returns true if contest is running.
2666 <A NAME=
"isLoggedIn()"><!-- --></A><H3>
2669 public final boolean
<B>isLoggedIn
</B>()
</PRE>
2671 <DD>returns true if logged in
2678 <A NAME=
"isTeamActive(java.lang.Long, java.lang.Long)"><!-- --></A><H3>
2681 public final boolean
<B>isTeamActive
</B>(java.lang.Long
siteId,
2682 java.lang.Long
accountId)
</PRE>
2684 <DD>returns true if team is active
<DD><DL>
2688 <DT><B>Parameters:
</B><DD><CODE>siteId
</CODE> - java.lang.Long
<DD><CODE>accountId
</CODE> - java.lang.Long
<DT><B>Returns:
</B><DD>boolean
</DL>
2693 <A NAME=
"notifyRunEvaluated(pc2.RunData)"><!-- --></A><H3>
2694 notifyRunEvaluated
</H3>
2696 public void
<B>notifyRunEvaluated
</B>(pc2.RunData
run)
2697 throws java.rmi.RemoteException
</PRE>
2699 <DD>(will be deprecated) invoked by server to send run judgement into to team/client
2701 Invoked by the Server
<DD><DL>
2702 <DT><B>Specified by:
</B><DD><CODE>notifyRunEvaluated
</CODE> in interface
<CODE>pc2.IClient
</CODE></DL>
2705 <DT><B>Parameters:
</B><DD><CODE>run
</CODE> - testpc2.RunDisplayData
<DT><B>Throws:
</B><DD><CODE>java.rmi.RemoteException
</CODE> - The exception description.
</DL>
2710 <A NAME=
"setCountdownClockLabel(javax.swing.JLabel)"><!-- --></A><H3>
2711 setCountdownClockLabel
</H3>
2713 public void
<B>setCountdownClockLabel
</B>(javax.swing.JLabel
newCountdownClockLabel)
</PRE>
2715 <DD>Insert the method's description here.
2716 Creation date: (
4/
30/
2003 8:
15:
36 PM)
<DD><DL>
2720 <DT><B>Parameters:
</B><DD><CODE>newCountdownClockLabel
</CODE> - javax.swing.JLabel
</DL>
2725 <A NAME=
"submitAnswer(pc2.ex.ClarInfoAndFiles)"><!-- --></A><H3>
2728 public final boolean
<B>submitAnswer
</B>(
<A HREF=
"../../pc2/ex/ClarInfoAndFiles.html">ClarInfoAndFiles
</A> clar)
2729 throws java.lang.Exception,
2730 <A HREF=
"../../pc2/ex/ServerAccessException.html">ServerAccessException
</A>,
2731 java.rmi.RemoteException
</PRE>
2733 <DD>submit an Answer to a clarification
2738 <DT><B>Parameters:
</B><DD><CODE>clar
</CODE> - ClarInfoAndFiles
<DT><B>See Also:
</B><DD><A HREF=
"../../pc2/ex/BaseClient.html#checkOutClar(java.lang.Long, java.lang.Long)"><CODE>checkOutClar(java.lang.Long, java.lang.Long)
</CODE></A></DL>
2743 <A NAME=
"submitClarification(java.lang.Long, java.lang.String)"><!-- --></A><H3>
2744 submitClarification
</H3>
2746 public final
<A HREF=
"../../pc2/ex/ClarInfoAndFiles.html">ClarInfoAndFiles
</A> <B>submitClarification
</B>(java.lang.Long
problemId,
2747 java.lang.String
question)
2748 throws java.lang.Exception,
2749 <A HREF=
"../../pc2/ex/ServerAccessException.html">ServerAccessException
</A>,
2750 java.rmi.RemoteException
</PRE>
2754 Team (or Judge) submit a clar
<DD><DL>
2758 <DT><B>Parameters:
</B><DD><CODE>problemId
</CODE> - java.lang.Long
<DD><CODE>question
</CODE> - java.lang.String
<DT><B>See Also:
</B><DD><A HREF=
"../../pc2/ex/BaseClient.html#checkOutClar(java.lang.Long, java.lang.Long)"><CODE>checkOutClar(java.lang.Long, java.lang.Long)
</CODE></A></DL>
2763 <A NAME=
"submitJudgement(pc2.ex.RunInfoAndFiles, int, boolean)"><!-- --></A><H3>
2764 submitJudgement
</H3>
2766 public final boolean
<B>submitJudgement
</B>(
<A HREF=
"../../pc2/ex/RunInfoAndFiles.html">RunInfoAndFiles
</A> run,
2767 int
judgementIdx,
2768 boolean
isACorrect)
2769 throws java.lang.Exception,
2770 <A HREF=
"../../pc2/ex/ServerAccessException.html">ServerAccessException
</A>,
2771 java.rmi.RemoteException
</PRE>
2773 <DD>submit a Judgement for a run
2775 Team invokes this to submit a run.
<DD><DL>
2779 <DT><B>Parameters:
</B><DD><CODE>run
</CODE> - RunInfoAndFiles run to be submitted to server/contest
<DD><CODE>judgementIdx
</CODE> - int the judgement for the run
<DD><CODE>isACorrect
</CODE> - boolean set to true if this run is judged as a Yes/Correct
<DT><B>See Also:
</B><DD><A HREF=
"../../pc2/ex/BaseClient.html#checkOutRun(java.lang.Long, java.lang.Long)"><CODE>checkOutRun(java.lang.Long, java.lang.Long)
</CODE></A></DL>
2784 <A NAME=
"submitRun(java.lang.Long, java.lang.Long, java.lang.String, java.lang.String[])"><!-- --></A><H3>
2787 public final
<A HREF=
"../../pc2/ex/RunInfoAndFiles.html">RunInfoAndFiles
</A> <B>submitRun
</B>(java.lang.Long
problemId,
2788 java.lang.Long
languageId,
2789 java.lang.String
mainFile,
2790 java.lang.String[]
auxFiles)
2791 throws java.lang.Exception,
2792 <A HREF=
"../../pc2/ex/ServerAccessException.html">ServerAccessException
</A>,
2793 java.rmi.RemoteException
</PRE>
2795 <DD>submitRun submit a run to the Judges.
2800 <DT><B>Parameters:
</B><DD><CODE>problemId
</CODE> - java.lang.Long
<DD><CODE>languageId
</CODE> - java.lang.Long
<DD><CODE>mainFile
</CODE> - java.lang.String
<DD><CODE>auxFiles
</CODE> - java.lang.String[]
</DL>
2805 <A NAME=
"unCheckOutClar(pc2.ex.ClarInfoAndFiles)"><!-- --></A><H3>
2808 public final boolean
<B>unCheckOutClar
</B>(
<A HREF=
"../../pc2/ex/ClarInfoAndFiles.html">ClarInfoAndFiles
</A> clar)
2809 throws java.lang.Exception,
2810 <A HREF=
"../../pc2/ex/ServerAccessException.html">ServerAccessException
</A>,
2811 java.rmi.RemoteException
</PRE>
2813 <DD>For Judge, un-checkout clar (return to Server)
<BR>
2818 <DT><B>See Also:
</B><DD><A HREF=
"../../pc2/ex/BaseClient.html#checkOutClar(java.lang.Long, java.lang.Long)"><CODE>checkOutClar(java.lang.Long, java.lang.Long)
</CODE></A></DL>
2823 <A NAME=
"unCheckOutRun(pc2.ex.RunInfoAndFiles)"><!-- --></A><H3>
2826 public final boolean
<B>unCheckOutRun
</B>(
<A HREF=
"../../pc2/ex/RunInfoAndFiles.html">RunInfoAndFiles
</A> rif)
2827 throws java.lang.Exception,
2828 <A HREF=
"../../pc2/ex/ServerAccessException.html">ServerAccessException
</A>,
2829 java.rmi.RemoteException
</PRE>
2831 <DD>For Judge, un-checkout run (return to Server)
<BR>
2836 <DT><B>See Also:
</B><DD><A HREF=
"../../pc2/ex/BaseClient.html#checkOutRun(java.lang.Long, java.lang.Long)"><CODE>checkOutRun(java.lang.Long, java.lang.Long)
</CODE></A></DL>
2841 <A NAME=
"writeProblemAnswerFile(int, java.lang.String)"><!-- --></A><H3>
2842 writeProblemAnswerFile
</H3>
2844 public final boolean
<B>writeProblemAnswerFile
</B>(int
dataSetNumber,
2845 java.lang.String
fileName)
2846 throws java.lang.Exception
</PRE>
2848 <DD>writes the answer file to the specified filename
<DD><DL>
2852 <DT><B>See Also:
</B><DD><A HREF=
"../../pc2/ex/BaseClient.html#checkOutRun(java.lang.Long, java.lang.Long)"><CODE>checkOutRun(java.lang.Long, java.lang.Long)
</CODE></A></DL>
2857 <A NAME=
"writeProblemDataFile(int, java.lang.String)"><!-- --></A><H3>
2858 writeProblemDataFile
</H3>
2860 public final boolean
<B>writeProblemDataFile
</B>(int
dataSetNumber,
2861 java.lang.String
fileName)
2862 throws java.lang.Exception
</PRE>
2864 <DD>writes the data file to the specified filename
<DD><DL>
2868 <DT><B>See Also:
</B><DD><A HREF=
"../../pc2/ex/BaseClient.html#checkOutRun(java.lang.Long, java.lang.Long)"><CODE>checkOutRun(java.lang.Long, java.lang.Long)
</CODE></A></DL>
2871 <!-- ========= END OF CLASS DATA ========= -->
2874 <!-- ========== START OF NAVBAR ========== -->
2875 <A NAME=
"navbar_bottom"><!-- --></A>
2876 <TABLE BORDER=
"0" WIDTH=
"100%" CELLPADDING=
"1" CELLSPACING=
"0">
2878 <TD COLSPAN=
2 BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1">
2879 <A NAME=
"navbar_bottom_firstrow"><!-- --></A>
2880 <TABLE BORDER=
"0" CELLPADDING=
"0" CELLSPACING=
"3">
2881 <TR ALIGN=
"center" VALIGN=
"top">
2882 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"package-summary.html"><FONT CLASS=
"NavBarFont1"><B>Package
</B></FONT></A> </TD>
2883 <TD BGCOLOR=
"#FFFFFF" CLASS=
"NavBarCell1Rev"> <FONT CLASS=
"NavBarFont1Rev"><B>Class
</B></FONT> </TD>
2884 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"package-tree.html"><FONT CLASS=
"NavBarFont1"><B>Tree
</B></FONT></A> </TD>
2885 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../deprecated-list.html"><FONT CLASS=
"NavBarFont1"><B>Deprecated
</B></FONT></A> </TD>
2886 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../index-all.html"><FONT CLASS=
"NavBarFont1"><B>Index
</B></FONT></A> </TD>
2887 <TD BGCOLOR=
"#EEEEFF" CLASS=
"NavBarCell1"> <A HREF=
"../../help-doc.html"><FONT CLASS=
"NavBarFont1"><B>Help
</B></FONT></A> </TD>
2891 <TD ALIGN=
"right" VALIGN=
"top" ROWSPAN=
3><EM>
2892 Questions?
<A HREf=mailto:pc2@ecs.csus.edu
>Send mail to PC
<sup>2</sup></a></EM>
2897 <TD BGCOLOR=
"white" CLASS=
"NavBarCell2"><FONT SIZE=
"-2">
2898 PREV CLASS
2899 <A HREF=
"../../pc2/ex/BaseClient_Stub.html"><B>NEXT CLASS
</B></A></FONT></TD>
2900 <TD BGCOLOR=
"white" CLASS=
"NavBarCell2"><FONT SIZE=
"-2">
2901 <A HREF=
"../../index.html" TARGET=
"_top"><B>FRAMES
</B></A>
2902 <A HREF=
"BaseClient.html" TARGET=
"_top"><B>NO FRAMES
</B></A></FONT></TD>
2905 <TD VALIGN=
"top" CLASS=
"NavBarCell3"><FONT SIZE=
"-2">
2906 SUMMARY:
<A HREF=
"#inner_classes_inherited_from_class_javax.swing.JFrame">INNER
</A> |
<A HREF=
"#field_summary">FIELD
</A> |
<A HREF=
"#constructor_summary">CONSTR
</A> |
<A HREF=
"#method_summary">METHOD
</A></FONT></TD>
2907 <TD VALIGN=
"top" CLASS=
"NavBarCell3"><FONT SIZE=
"-2">
2908 DETAIL:
<A HREF=
"#field_detail">FIELD
</A> |
<A HREF=
"#constructor_detail">CONSTR
</A> |
<A HREF=
"#method_detail">METHOD
</A></FONT></TD>
2911 <!-- =========== END OF NAVBAR =========== -->