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.peer.service
Interface PeerService

All Superinterfaces:
  AbstractExternalPeerHandle, AbstractInternalPeerHandle, AbstractUserPeerHandle

All Known Implementing Classes:
  LivePeerService, SimulatedPeerService, SimulatedWithCloningPeerService

    public interface PeerService

extends AbstractExternalPeerHandle, AbstractInternalPeerHandle, AbstractUserPeerHandle

A PeerService

- is a front-end to a Peer
- is a server stub that is contacted by client stubs of the Peer
- may have several implementations (Live, Simulated, ...)

Author:
  Cyril Briquet

Method Summary
`PeerHandle` | `createHandle()`

Methods inherited from interface lbg.peer.service.AbstractExternalPeerHandle
`cancelLocalTaskOnSupplyingResource, cancelSupplyingTaskOnLocalResource, computeSupplyingTask, grantConsumption, isAlive, peerPort, requestSupplying, uploadBySupplyingCompletedTask`

Methods inherited from interface lbg.peer.service.AbstractInternalPeerHandle
`addResource, preemptLocalTaskOnLocalResource, preemptSupplyingTaskOnLocalResource, removeResource, resourcePort, uploadLocallyCompletedTask`

Methods inherited from interface lbg.peer.service.AbstractUserPeerHandle
`cancelJob, queryJobStatus, submitJob, userPort`

Method Detail

### createHandle

    PeerHandle createHandle()
                            throws GridException

  Throws:
    `GridException`

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.