|
Lightweight Bartering Grid | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlbg.user.service.LiveUserService
public class LiveUserService
Live implementation of the User service
Constructor Summary | |
---|---|
protected |
LiveUserService(UserAgent owner_user)
Creates a User service |
Method Summary | |
---|---|
UserHandle |
createHandle()
Creates a handle to parent user |
java.lang.String |
id()
Get user id |
void |
notifyCompletedJob(Task t)
Notify a user of a completed job |
void |
notifyCompletedTask(Task t)
Notify a user of a completed task |
java.lang.String |
toString()
String representation of the service |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected LiveUserService(UserAgent owner_user) throws GridException
owner_user
- User concerned by this service
GridException
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public UserHandle createHandle() throws GridException
createHandle
in interface UserService
GridException
public java.lang.String id()
id
in interface UserHandle
public void notifyCompletedTask(Task t) throws GridException
notifyCompletedTask
in interface UserHandle
t
- The completed task
GridException
public void notifyCompletedJob(Task t) throws GridException
notifyCompletedJob
in interface UserHandle
t
- Last task from the completed job
GridException
- if no such job was sent in this session
|
Lightweight Bartering Grid | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2005-2008, Cyril Briquet, parts Xavier Dalem.