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
Class LivePeer

    java.lang.Object
      lbg.peer.Peer
          lbg.peer.LivePeer

    public class LivePeer

extends Peer

Peer (LIVE mode).

Author:
  Cyril Briquet

Constructor Summary
`LivePeer(PeerBasicConfiguration peer_basic_config, PeerNetworkConfiguration peer_network_config, PeerDataConfiguration peer_data_config, PeerStrategyConfiguration peer_strategy_config, PeerServiceFactory peer_service_factory, ControllerFactory ctrlr_factory, SearchEngineHandle se_handle)` Creates a new Peer (LIVE mode).

Method Summary
`void` | `checkLiveness()`
`GridDataManager` | `gdm()`
`boolean` | `isAlive()`
`java.util.logging.Logger` | `logger()`
`void` | `startService()`
`java.lang.String` | `toString()`

Methods inherited from class lbg.peer.Peer
`basicConfig, dataConfig, id, negotiatorController, netConfig, processSelfEvents, qms, register, rms, scheduler, schedulerController, searchEngine, service, strategyConfig, toStringSummary, xms`

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

Constructor Detail

### LivePeer

    public LivePeer(PeerBasicConfiguration peer_basic_config,
                    PeerNetworkConfiguration peer_network_config,
                    PeerDataConfiguration peer_data_config,
                    PeerStrategyConfiguration peer_strategy_config,
                    PeerServiceFactory peer_service_factory,
                    ControllerFactory ctrlr_factory,
                    SearchEngineHandle se_handle)
             throws GridException

  Creates a new Peer (LIVE mode).

  Parameters:
    `peer_basic_config` - Peer basic configuration
    `peer_network_config` - Peer network configuration
    `peer_data_config` - Peer data configuration
    `peer_strategy_config` - Peer strategy configuration
    `se_handle` - search engine handle
    `peer_service_factory` - Peer service factory
    `ctrlr_factory` - controller factory
  Throws:
    `GridException`

Method Detail

### toString

    public java.lang.String toString()

  Overrides:
    `toString` in class `Peer`

### startService

    public void startService()
                      throws GridException

  Throws:
    `GridException`

### isAlive

    public boolean isAlive()

### checkLiveness

    public void checkLiveness()

### gdm

    public GridDataManager gdm()

  Specified by:
    `gdm` in class `Peer`

### logger

    public java.util.logging.Logger logger()

  Specified by:
    `logger` in class `Peer`

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.