org.apache.catalina.cluster
クラス MulticastReceiver

java.lang.Object
  |
  +--org.apache.catalina.cluster.ClusterSessionBase
        |
        +--org.apache.catalina.cluster.MulticastReceiver
すべての実装インタフェース:
ClusterReceiver, java.lang.Runnable

public final class MulticastReceiver
extends ClusterSessionBase
implements ClusterReceiver

This class is responsible for checking for incoming multicast data and determine if the data belongs to us and if so push it onto an internal stack and let it be picked up when needed.

バージョン:
$Revision: 1.3.2.2 $, $Date: 2002/01/03 10:44:32 $
作成者:
Bip Thelin

フィールドの概要
protected  boolean threadDone
          The background thread completion semaphore.
 
クラス org.apache.catalina.cluster.ClusterSessionBase から継承したフィールド
sm
 
メソッドの概要
 int getCheckInterval()
          Get the time in seconds this Cluster sleeps
 java.lang.String getName()
          Return a String containing the name of this implementation, used for logging
 java.lang.Object[] getObjects()
          Receive the objects currently in our stack and clear if afterwards.
 void run()
          The background thread.
 void setCheckInterval(int checkInterval)
          Set the time in seconds for this component to Sleep before it checks for new received data in the Cluster
 void start()
          Start our component
 void stop()
          Stop our component
 
クラス org.apache.catalina.cluster.ClusterSessionBase から継承したメソッド
getDebug, getLogger, getSenderId, log, setDebug, setLogger, setSenderId
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース org.apache.catalina.cluster.ClusterReceiver から継承したメソッド
getDebug, getLogger, getSenderId, log, setDebug, setLogger, setSenderId
 

フィールドの詳細

threadDone

protected boolean threadDone
The background thread completion semaphore.
メソッドの詳細

getName

public java.lang.String getName()
Return a String containing the name of this implementation, used for logging
オーバーライド:
クラス ClusterSessionBase 内の getName
戻り値:
The name of the implementation

setCheckInterval

public void setCheckInterval(int checkInterval)
Set the time in seconds for this component to Sleep before it checks for new received data in the Cluster
定義:
インタフェース ClusterReceiver 内の setCheckInterval
パラメータ:
checkInterval - The time to sleep

getCheckInterval

public int getCheckInterval()
Get the time in seconds this Cluster sleeps
定義:
インタフェース ClusterReceiver 内の getCheckInterval
戻り値:
The time in seconds this Cluster sleeps

getObjects

public java.lang.Object[] getObjects()
Receive the objects currently in our stack and clear if afterwards.
定義:
インタフェース ClusterReceiver 内の getObjects
戻り値:
An array with objects

start

public void start()
Start our component
定義:
インタフェース ClusterReceiver 内の start

stop

public void stop()
Stop our component
定義:
インタフェース ClusterReceiver 内の stop

run

public void run()
The background thread.
定義:
インタフェース ClusterReceiver 内の run


Copyright ? 2000-2001 Apache Software Foundation. All Rights Reserved.