cm.bound
クラス Server

java.lang.Object
  拡張java.lang.Thread
      拡張cm.bound.Server
すべての実装インタフェース:
java.lang.Runnable

public class Server
extends java.lang.Thread

$Rev: 105 $
$Date: 2005-04-22 04:07:58 +0900 (Fri, 22 Apr 2005) $
$Author: C.M $

パケット中継用待ち受けサーバスレッドを表すクラス。


フィールドの概要
 
クラス java.lang.Thread から継承したフィールド
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
コンストラクタの概要
Server(Option op)
          op で指定されたコンフィグレーションで、Run を作成する。
 
メソッドの概要
static long getAcceptCount()
          現在まで接続した総数を取得する。
static long getRejectCount()
          現在まで接続を拒否した総数を取得する。
 void run()
           
 
クラス java.lang.Thread から継承したメソッド
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

Server

public Server(Option op)
op で指定されたコンフィグレーションで、Run を作成する。

パラメータ:
op - 中継スレッドに対するオプション。
メソッドの詳細

getAcceptCount

public static long getAcceptCount()
現在まで接続した総数を取得する。

戻り値:
現在まで接続した総数。

getRejectCount

public static long getRejectCount()
現在まで接続を拒否した総数を取得する。

戻り値:
現在まで接続を拒否した総数。

run

public void run()