|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ninja.activeproxy.path.PathImplementer
Field Summary | |
private static long |
TIMEOUT
|
Constructor Summary | |
PathImplementer()
|
Method Summary | |
static PathDescription |
implementPath(PathDescription path)
Given an instantiated path, start the operators and connectors on it running so client can begin writing to it. |
static PathDescription |
killPath(PathDescription path)
|
static PathDescription |
killPath(PathDescription path,
int from,
int to)
Kills the operators running on a particular path in the specified range of operators Remote all operators in the range path.operators[from] .. |
Methods inherited from class java.lang.Object |
|
Field Detail |
private static final long TIMEOUT
Constructor Detail |
public PathImplementer()
Method Detail |
public static PathDescription implementPath(PathDescription path) throws java.rmi.RemoteException
Requires: Path has been instantiated. pathID has been set in path.
To Do:
Error Handling! Currently if an operator doesn't respond, we don't do anything except spit out a text message. Many exceptions we dont respond to
path
- The path to implement.public static PathDescription killPath(PathDescription path, int from, int to)
path
- The path on which operators/connectors should be torn downfrom
- The first operatorpublic static PathDescription killPath(PathDescription path)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |