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 PeerHandle

All Superinterfaces:
  java.lang.Comparable<PeerHandle>, java.io.Serializable

All Known Subinterfaces:
  ExternalPeerHandle, InternalPeerHandle, UserPeerHandle

All Known Implementing Classes:
  LivePeerHandle, SimulatedPeerHandle, TestPeerHandle

    public interface PeerHandle

extends java.lang.Comparable<PeerHandle>, java.io.Serializable

A PeerHandle

- is a callback Object enabling to contact the Peer that generated it
- is a client stub that contacts a server stub of the Peer (i.e. PeerService)
- may have several implementations (Live, Simulated, ...)
- is used by other Peers, by the Resources owned by the Peer and by the Users of the Peer through, respectively, the subinterfaces ExternalPeerHandle, InternalPeerHandle and UserPeerHandle

Author:
  Cyril Briquet

Method Summary
`java.lang.String` | `hostname()`
`java.lang.String` | `id()`

Methods inherited from interface java.lang.Comparable
`compareTo`

Method Detail

### id

    java.lang.String id()

### hostname

    java.lang.String hostname()

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.