WebFlow.SerialHash
Class SerialHashImpl
WebFlow.SerialHash.SerialHashImpl
- public class SerialHashImpl
Constructor Summary |
SerialHashImpl(org.omg.CORBA.Object peer,
java.lang.String msg)
|
Method Summary |
void |
appendHash(java.lang.String problemName,
java.lang.String submitParams)
Write the name/value pair. |
void |
closeHash()
Close the hash table and serialize it. |
void |
deleteEntry(java.lang.String jn)
Remove the entry from the hashtable. |
java.lang.String[] |
getHashNames()
Return all of the names in the hash table. |
java.lang.String[] |
getHashValues()
Returns the values associated with a particular hash name. |
void |
openHash(java.lang.String hashname)
Look in the user's descriptor directory, open the
jobHash file there, and deserialize it. |
void |
test()
|
SerialHashImpl
public SerialHashImpl(org.omg.CORBA.Object peer,
java.lang.String msg)
throws WebFlow.NullPointerException
test
public void test()
openHash
public void openHash(java.lang.String hashname)
- Look in the user's descriptor directory, open the
jobHash file there, and deserialize it. If the file does not
exist, create it and serialize it.
The variable hashname should be the full path to the serialized
hashtable.
appendHash
public void appendHash(java.lang.String problemName,
java.lang.String submitParams)
- Write the name/value pair. Note we separate multiple values by
a '+'.
deleteEntry
public void deleteEntry(java.lang.String jn)
- Remove the entry from the hashtable.
getHashNames
public java.lang.String[] getHashNames()
- Return all of the names in the hash table.
getHashValues
public java.lang.String[] getHashValues()
- Returns the values associated with a particular hash name. This can
be multivalued, and so we adopt a "+" sign as the separator. The client
must separate out these multiple values with a StringTokenizer.
closeHash
public void closeHash()
- Close the hash table and serialize it. Note hashname is set by the
openHash() command.