Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Lightweight Bartering Grid
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## lbg.user
Class UserAgent

    java.lang.Object
      lbg.user.UserAgent

Direct Known Subclasses:
  LiveUserAgent, SimulatedUserAgent

    public abstract class UserAgent

extends java.lang.Object

Author:
  Cyril Briquet

Method Summary
`abstract long` | `completedJobs()`
`abstract boolean` | `hasRunningJobs()`
`java.lang.String` | `id()`
`abstract void` | `notifyCompletedJob(Task t)`
`abstract void` | `notifyCompletedTask(Task t)`
`abstract UserService` | `service()`
`abstract int` | `submitJob(JobDescriptor jd)`
`abstract long` | `submittedJobs()`
`java.lang.String` | `toString()`
`UserPeerHandle` | `usedPeer()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Method Detail

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `java.lang.Object`

### id

    public java.lang.String id()

### usedPeer

    public UserPeerHandle usedPeer()

### service

    public abstract UserService service()

### notifyCompletedTask

    public abstract void notifyCompletedTask(Task t)
                                      throws GridException

  Throws:
    `GridException`

### notifyCompletedJob

    public abstract void notifyCompletedJob(Task t)
                                     throws GridException

  Throws:
    `GridException`

### submitJob

    public abstract int submitJob(JobDescriptor jd)
                           throws GridException

  Throws:
    `GridException`

### submittedJobs

    public abstract long submittedJobs()

### completedJobs

    public abstract long completedJobs()

### hasRunningJobs

    public abstract boolean hasRunningJobs()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| 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.