Esempio n. 1
0
 /** Get the results. */
 public Assignment getResult(int STAMP) {
   return ((Assignment) Results.get(new Integer(STAMP)));
   //	return(Result);
 }
Esempio n. 2
0
 /** Dispatch a packet assignment. */
 public void dispatchPacket(Assignment DispatchMe, int connectionID) {
   Results.put(new Integer(DispatchMe.getID()), DispatchMe);
   //	Result=DispatchMe;
   //	RESULT=true;
 }
Esempio n. 3
0
 /** Get whether a result has been returned. */
 public boolean hasResult(int STAMP) {
   if (Results.get(new Integer(STAMP)) != null) return (true);
   return (false);
   //	return(RESULT);
 }