|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectist.palcom.collections.Link
ist.palcom.palcomthreads.Event
ist.palcom.hgraph.HgraphEvent
public class HgraphEvent
HgraphEvents are used for message passing in h-graphs. They consist of a sender path, a recipient path, a message command string and possibly a parameter value
| Constructor Summary | |
|---|---|
HgraphEvent(Path toPath,
java.lang.String command)
Creates a HgraphEvent from a recipient path and a command string |
|
HgraphEvent(Path toPath,
java.lang.String command,
java.lang.String returnComand)
Creates a HgraphEvent from a recipient path, a command string and a return command |
|
HgraphEvent(Path toPath,
java.lang.String command,
java.lang.String returnCommand,
Value value)
Creates a HgraphEvent from a recipient path, a command string, a return comand and a value |
|
HgraphEvent(Path toPath,
java.lang.String command,
Value value)
Creates a HgraphEvent from a recipient path, a command string and a value |
|
| Method Summary | |
|---|---|
java.lang.String |
getCommand()
|
Path |
getFromPath()
|
java.lang.String |
getReturnCommand()
|
Path |
getToPath()
|
Value |
getValue()
|
void |
setFromPath(Path fromPath)
Sets the sender path. |
void |
setToPath(Path toPath)
Sets the recipient path. |
void |
setValue(Value value)
Sets the value parameter of the event. |
| Methods inherited from class ist.palcom.collections.Link |
|---|
getNext, getPrev |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HgraphEvent(Path toPath,
java.lang.String command,
Value value)
toPath - command - value -
public HgraphEvent(Path toPath,
java.lang.String command,
java.lang.String returnCommand,
Value value)
toPath - command - value -
public HgraphEvent(Path toPath,
java.lang.String command)
toPath - command -
public HgraphEvent(Path toPath,
java.lang.String command,
java.lang.String returnComand)
toPath - command - | Method Detail |
|---|
public java.lang.String getCommand()
public java.lang.String getReturnCommand()
public Path getFromPath()
public Path getToPath()
public void setFromPath(Path fromPath)
fromPath - public void setToPath(Path toPath)
toPath - public Value getValue()
public void setValue(Value value)
value -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||