|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.sandev.basics.structs.PingStruct
public class PingStruct
The Ping structure is fixed so it stays simple. This allows all the
processing that handles pinging to be completely automated, and it
pretty much avoids breakage due to bad data being stuffed in there
by a buggy node.
Ping is a runtime thing so it is not persistent. There are no
derivative forms of Ping.
| Field Summary | |
|---|---|
protected java.lang.String |
className
The fully qualified name of the class representing the node which is generating the ping information. |
protected java.lang.String |
instanceName
The unique instance name of the SAND node generating the ping information. |
protected int |
nodeStatus
The status of the SAND node generating the ping information. |
| Constructor Summary | |
|---|---|
PingStruct()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String className
The fully qualified name of the class representing the node which
is generating the ping information. For example:
org.sandev.basics.DataManager
protected java.lang.String instanceName
The unique instance name of the SAND node generating the ping
information. For example:
DataManager1
protected int nodeStatus
The status of the SAND node generating the ping information. Note
that this is similar to the information used by sandman to control
nodes, but the purpose is slightly different. A SAND node might ping
another SAND node to see if it is ready, whereas the sandman control
interface will typically use the control protocol directly. The struct
can be thought of as a wrapper of the control protocol which makes the
information available for general use.
Refer to the
node state specification for details on valid status values.
enumerated constant values:
UNDEFINED("unknown") = 0STOPPED("stopped") = 1STARTING("starting") = 2RUNNING("running") = 3SUSPENDING("suspending") = 4SUSPENDED("suspended") = 5RESUMING("resuming") = 6STOPPING("stopping") = 7FAILING("failing") = 8FAILED("failed") = 9| Constructor Detail |
|---|
public PingStruct()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||