Lightweight Bartering Grid

lbg.user.service
Class SimulatedUserHandle

java.lang.Object
  extended by lbg.user.service.SimulatedUserHandle
All Implemented Interfaces:
UserHandle

public class SimulatedUserHandle
extends java.lang.Object
implements UserHandle

Author:
Cyril Briquet

Constructor Summary
SimulatedUserHandle(java.lang.String id, SimulatedUserService user_service)
           
 
Method Summary
 java.lang.String id()
           
 void notifyCompletedJob(Task t)
           
 void notifyCompletedTask(Task t)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimulatedUserHandle

public SimulatedUserHandle(java.lang.String id,
                           SimulatedUserService user_service)
                    throws GridException
Throws:
GridException
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

id

public java.lang.String id()
Specified by:
id in interface UserHandle

notifyCompletedTask

public void notifyCompletedTask(Task t)
                         throws GridException
Specified by:
notifyCompletedTask in interface UserHandle
Throws:
GridException

notifyCompletedJob

public void notifyCompletedJob(Task t)
                        throws GridException
Specified by:
notifyCompletedJob in interface UserHandle
Throws:
GridException

Lightweight Bartering Grid

Copyright (c) 2005-2008, Cyril Briquet, parts Xavier Dalem.