Lightweight Bartering Grid

lbg.peer.register.learning.db
Class PeerInteractionsDataBaseFactory

java.lang.Object
  extended by lbg.peer.register.learning.db.PeerInteractionsDataBaseFactory

public class PeerInteractionsDataBaseFactory
extends java.lang.Object

Author:
Cyril Briquet

Constructor Summary
PeerInteractionsDataBaseFactory()
          Creates a new PeerInteractionsDataBaseFactory.
 
Method Summary
 PeerInteractionsDataBase createPeerInteractionsDataBase(Peer managed_peer, ExternalPeerHandle profiled_peer)
          Creates a new PeerInteractionsDataBase.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PeerInteractionsDataBaseFactory

public PeerInteractionsDataBaseFactory()
Creates a new PeerInteractionsDataBaseFactory.

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

createPeerInteractionsDataBase

public PeerInteractionsDataBase createPeerInteractionsDataBase(Peer managed_peer,
                                                               ExternalPeerHandle profiled_peer)
                                                        throws GridException
Creates a new PeerInteractionsDataBase.

Can be called at most once.

Parameters:
managed_peer - managed Peer
profiled_peer - profiled Peer
Throws:
GridException - if a parameter is illegal

Lightweight Bartering Grid

Copyright (c) 2005-2008, Cyril Briquet, parts Xavier Dalem.