|
Lightweight Bartering Grid | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectlbg.user.service.LiveUserHandle
public class LiveUserHandle
Live Implementation of the User Handle
| Constructor Summary | |
|---|---|
LiveUserHandle(java.lang.String id,
java.lang.String user_host,
int user_port)
Create a handle |
|
| Method Summary | |
|---|---|
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 User Handle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LiveUserHandle(java.lang.String id,
java.lang.String user_host,
int user_port)
throws GridException
id - User iduser_host - User hostuser_port - User port
GridException - if the parameters are erroneous| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String id()
id in interface UserHandle
public void notifyCompletedTask(Task t)
throws GridException
notifyCompletedTask in interface UserHandlet - The completed task
GridException - if call cannot be sent
public void notifyCompletedJob(Task t)
throws GridException
notifyCompletedJob in interface UserHandlet - Last task from the completed job
GridException - if call cannot be sent
|
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.