oogp2p.seed
Class AutomateStartup

java.lang.Object
  extended byoogp2p.seed.AutomateStartup

public class AutomateStartup
extends java.lang.Object


Field Summary
private  Client client
           
 
Constructor Summary
AutomateStartup()
           
AutomateStartup(java.net.InetAddress seed)
          Bypasses the seed list and connects to the given seed.
 
Method Summary
private  boolean Connect(java.net.InetAddress seed)
           
private  void init()
           
private  void setUtils()
           
private  void useSeedList()
          Does the automated startup with a stored seed list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

client

private Client client
Constructor Detail

AutomateStartup

public AutomateStartup()

AutomateStartup

public AutomateStartup(java.net.InetAddress seed)
Bypasses the seed list and connects to the given seed. If it cannot connect, defaults to the stored seed list.

Parameters:
seed - IP address to use as first peer
Method Detail

useSeedList

private void useSeedList()
Does the automated startup with a stored seed list.


init

private void init()

Connect

private boolean Connect(java.net.InetAddress seed)

setUtils

private void setUtils()