|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A declaration of a node instance.
If you are declaring a new node Foo, then you create the
FooNodeDecl.java (declaration) and FooNode.java (implementation) files.
The generators create FooNodeBase.java (the SAND implementation), and
FooNodeInstance.java (the instance declaration). FooNodeInstance
implements NodeInstance. A deployment Configuration contains
a collection of NodeInstances, which comprise the deployed system.
| Field Summary | |
static int |
MSGMODE_DIRECT
message goes directly from source to destination |
static int |
MSGMODE_SECURE
message goes via authorizers |
static int |
MSGOPTIMIZE_IF_POSSIBLE
message is delivered via direct java call if possible |
static int |
MSGOPTIMIZE_NEVER
message is always delivered via supporting technology |
| Fields inherited from interface org.sandev.basics.structs.SandInstanceMessage |
FIELDCHECK_INVALIDVAL, FIELDCHECK_NOTAREF, FIELDCHECK_NOTINRANGE, FIELDCHECK_NULLARRAY, FIELDCHECK_STRINGOVER, FIELDCHECK_UNKNOWNVAL, FIELDFLAG_BINARY, FIELDFLAG_ENCRYPT, FIELDFLAG_INTERNAL, FIELDFLAG_NOECHO, FIELDFLAG_OBFUSCATE, FIELDFLAG_STRINGPERSIST, FIELDFLAG_UNIQUE, GENMOD_ACTION_APPEND, GENMOD_ACTION_INSERT, GENMOD_ACTION_REMOVE, GENMOD_ACTION_SET |
| Method Summary | |
NodeInstance[] |
getHelperNodes()
Return the helper node instances configured to work with this node instance. |
int |
getLogLevel()
Return the log level of this node, as one of the Logger.LOGLEVEL_* values. |
java.lang.String |
getNodeInstanceName()
Return the unique name of this node instance. |
java.lang.String |
getServername()
Return the unique name of the server this node is running on. |
void |
setHelperNodes(NodeInstance[] nodes)
Set the helper node instances configured to work with this node instance. |
void |
setLogLevel(int logLevel)
Set the log level of this node. |
void |
setServername(java.lang.String name)
Set the unique name of the server this node should run on. |
| Methods inherited from interface org.sandev.basics.structs.SandInstanceMessage |
cloneMessage, convertToSuperstructClass, copyFieldValue, debugDump, defaultField, fieldHasFlag, fieldsValid, fieldValidate, generalAccessor, generalDereference, generalModifier, getAllFields, getDisplayFields, getDisplayValues |
| Methods inherited from interface org.sandev.basics.structs.SandMessage |
getCollectionMessage, getQueryMessage, getShortName, getStructMessage, getUpdateMessage, isEquivalent |
| Field Detail |
public static final int MSGMODE_DIRECT
public static final int MSGMODE_SECURE
public static final int MSGOPTIMIZE_IF_POSSIBLE
public static final int MSGOPTIMIZE_NEVER
| Method Detail |
public java.lang.String getNodeInstanceName()
public java.lang.String getServername()
public void setServername(java.lang.String name)
public int getLogLevel()
public void setLogLevel(int logLevel)
public NodeInstance[] getHelperNodes()
public void setHelperNodes(NodeInstance[] nodes)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||