|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--galaxy.server.Signature
Field Summary | |
static int |
GAL_KEY_ALWAYS
Existence. |
static int |
GAL_KEY_SOMETIMES
|
static int |
GAL_OTHER_KEYS_MAYBE
Strictness GAL_OTHER_KEYS_MAYBE - other keys may be present in message GAL_OTHER_KEYS_NEVER - no undeclared keys are allowed in message |
static int |
GAL_OTHER_KEYS_NEVER
|
static int |
GAL_REPLY_NONE
|
static int |
GAL_REPLY_PROVIDED
Return type Used by the hub to check program file correctness (at run time) as well as by server libraries to check for consistent behavior. |
static int |
GAL_REPLY_UNKNOWN
|
Constructor Summary | |
Signature(java.lang.String name)
|
|
Signature(java.lang.String name,
SigEntry[] inkeys,
int instrict,
SigEntry[] outkeys,
int outstrict,
int reply)
Creates a new signature for operation name |
Method Summary | |
java.lang.String |
getName()
|
GVector |
toGVector()
Converts this Signature into a GVector. |
boolean |
validateInput(GFrame fr,
Server s)
Validates this frame according to this signature. |
boolean |
validateOutput(GFrame fr,
Server s)
Validates this frame according to this signature |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int GAL_KEY_ALWAYS
public static final int GAL_KEY_SOMETIMES
public static final int GAL_OTHER_KEYS_MAYBE
public static final int GAL_OTHER_KEYS_NEVER
public static final int GAL_REPLY_PROVIDED
public static final int GAL_REPLY_NONE
public static final int GAL_REPLY_UNKNOWN
Constructor Detail |
public Signature(java.lang.String name, SigEntry[] inkeys, int instrict, SigEntry[] outkeys, int outstrict, int reply)
SigEntry
public Signature(java.lang.String name)
name
- Name of the operation for which this is a signature
Creates a signature with the following defaults:
Method Detail |
public java.lang.String getName()
public boolean validateInput(GFrame fr, Server s)
fr
- Incoming message to be validateds
- Server object, used to pass loging information back
Keys excluded from validation:
public boolean validateOutput(GFrame fr, Server s)
Keys excluded from validation:
validateInput(galaxy.lang.GFrame, galaxy.server.Server)
public GVector toGVector()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |