|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
This class is responsible for Receiving incoming packets in a Cluster. Different Implementations may use different protocol to communicate within the Cluster.
メソッドの概要 | |
int |
getCheckInterval()
Get the time in seconds this implementation sleeps |
int |
getDebug()
Get the debug level for this component |
Logger |
getLogger()
Get the Logger for this component |
java.lang.Object[] |
getObjects()
Get an array of objects that has been received by this component. |
java.lang.String |
getSenderId()
get the senderId used to identify messages being received in a Cluster. |
void |
log(java.lang.String message)
The log method to use in the implementation |
void |
run()
|
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 |
setDebug(int debug)
Set the debug detail level for this component. |
void |
setLogger(Logger logger)
Set the Logger for this component. |
void |
setSenderId(java.lang.String senderId)
The senderId is a identifier used to identify different packages being received in a Cluster. |
void |
start()
Start this component, must be called before it can be used. |
void |
stop()
The stop method for this component, should be called when closing down the Cluster. |
メソッドの詳細 |
public void setSenderId(java.lang.String senderId)
ClusterReceiver
senderId
- The senderId to usepublic java.lang.String getSenderId()
public void setDebug(int debug)
debug
- The debug levelpublic int getDebug()
public void setCheckInterval(int checkInterval)
checkInterval
- The time to sleeppublic int getCheckInterval()
public void setLogger(Logger logger)
debug
- The Logger to use with this component.public Logger getLogger()
public void log(java.lang.String message)
message
- The message to be logged.public java.lang.Object[] getObjects()
ClusterReceiver
is being returned.public void start()
public void run()
java.lang.Runnable
内の run
public void stop()
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |