jp.ac.naka.ec.dht
クラス FindPeer

java.lang.Object
  上位を拡張 jp.ac.naka.ec.dht.FindPeer
すべての実装されたインタフェース:
java.lang.Runnable

public class FindPeer
extends java.lang.Object
implements java.lang.Runnable


フィールドの概要
static int BROADCAST_PORT
           
 
メソッドの概要
 boolean addLookupListener(LookupListener listener)
           
 void findOtherPeer()
           
 java.net.InetAddress getBroadcastAddress()
           
static FindPeer getInstance()
           
 boolean removeLookupListener(LookupListener listener)
           
 void run()
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

BROADCAST_PORT

public static final int BROADCAST_PORT
関連項目:
定数フィールド値
メソッドの詳細

getInstance

public static FindPeer getInstance()

findOtherPeer

public void findOtherPeer()
                   throws java.io.IOException
例外:
java.io.IOException

run

public void run()
定義:
インタフェース java.lang.Runnable 内の run

getBroadcastAddress

public java.net.InetAddress getBroadcastAddress()
                                         throws java.net.UnknownHostException
例外:
java.net.UnknownHostException

addLookupListener

public boolean addLookupListener(LookupListener listener)

removeLookupListener

public boolean removeLookupListener(LookupListener listener)