|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface NodeInstance
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 |
| 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, getContainedMessageFields, getDisplayFields, getDisplayFieldsPrint, getDisplayID, getDisplayValues, getPrintnameForField |
| Methods inherited from interface org.sandev.basics.structs.SandMessage |
|---|
getCollectionMessage, getQueryMessage, getShortName, getStructMessage, getUpdateMessage, isEquivalent |
| Field Detail |
|---|
static final int MSGMODE_DIRECT
static final int MSGMODE_SECURE
static final int MSGOPTIMIZE_IF_POSSIBLE
static final int MSGOPTIMIZE_NEVER
| Method Detail |
|---|
java.lang.String getNodeInstanceName()
java.lang.String getServername()
void setServername(java.lang.String name)
int getLogLevel()
void setLogLevel(int logLevel)
NodeInstance[] getHelperNodes()
void setHelperNodes(NodeInstance[] nodes)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||