net.tomp2p.p2p.builder
Class TrackerBuilder<K extends TrackerBuilder<K>>

java.lang.Object
  extended by net.tomp2p.p2p.builder.TrackerBuilder<K>
Direct Known Subclasses:
AddTrackerBuilder, GetTrackerBuilder

public abstract class TrackerBuilder<K extends TrackerBuilder<K>>
extends Object


Field Summary
static Number160 DEFAULT_DOMAIN
           
protected  Number160 domainKey
           
protected static FutureTracker FUTURE_TRACKER_SHUTDOWN
           
protected  FutureChannelCreator futureChannelCreator
           
protected  Number160 locationKey
           
protected  Peer peer
           
protected  RoutingConfiguration routingConfiguration
           
protected  TrackerConfiguration trackerConfiguration
           
 
Constructor Summary
TrackerBuilder(Peer peer, Number160 locationKey)
           
 
Method Summary
 Number160 getDomainKey()
           
 FutureChannelCreator getFutureChannelCreator()
           
 RoutingConfiguration getRoutingConfiguration()
           
 TrackerConfiguration getTrackerConfiguration()
           
 void preBuild(String name)
           
 void self(K self)
           
 K setDomainKey(Number160 domainKey)
           
 K setFutureChannelCreator(FutureChannelCreator futureChannelCreator)
           
 K setRoutingConfiguration(RoutingConfiguration routingConfiguration)
           
 K setTrackerConfiguration(TrackerConfiguration trackerConfiguration)
           
abstract  FutureTracker start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_DOMAIN

public static final Number160 DEFAULT_DOMAIN

FUTURE_TRACKER_SHUTDOWN

protected static final FutureTracker FUTURE_TRACKER_SHUTDOWN

peer

protected final Peer peer

locationKey

protected final Number160 locationKey

domainKey

protected Number160 domainKey

routingConfiguration

protected RoutingConfiguration routingConfiguration

trackerConfiguration

protected TrackerConfiguration trackerConfiguration

futureChannelCreator

protected FutureChannelCreator futureChannelCreator
Constructor Detail

TrackerBuilder

public TrackerBuilder(Peer peer,
                      Number160 locationKey)
Method Detail

self

public void self(K self)

getDomainKey

public Number160 getDomainKey()

setDomainKey

public K setDomainKey(Number160 domainKey)

getRoutingConfiguration

public RoutingConfiguration getRoutingConfiguration()

setRoutingConfiguration

public K setRoutingConfiguration(RoutingConfiguration routingConfiguration)

getTrackerConfiguration

public TrackerConfiguration getTrackerConfiguration()

setTrackerConfiguration

public K setTrackerConfiguration(TrackerConfiguration trackerConfiguration)

getFutureChannelCreator

public FutureChannelCreator getFutureChannelCreator()

setFutureChannelCreator

public K setFutureChannelCreator(FutureChannelCreator futureChannelCreator)

preBuild

public void preBuild(String name)

start

public abstract FutureTracker start()


Copyright © 2013. All Rights Reserved.