public enum AgentClosureExecutionPolicy extends java.lang.Enum<AgentClosureExecutionPolicy>
Modifier and Type | Method and Description |
---|---|
<T> SerialMsg |
prepareGetValMessage(RemoteAgent<T> agent,
DataflowVariable<T> resultVariable) |
abstract SerialMsg |
prepareMessage(RemoteAgent<?> agent,
java.lang.Object message) |
static AgentClosureExecutionPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AgentClosureExecutionPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AgentClosureExecutionPolicy LOCAL
public static final AgentClosureExecutionPolicy REMOTE
public static AgentClosureExecutionPolicy[] values()
for (AgentClosureExecutionPolicy c : AgentClosureExecutionPolicy.values()) System.out.println(c);
public static AgentClosureExecutionPolicy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic abstract SerialMsg prepareMessage(RemoteAgent<?> agent, java.lang.Object message)
public <T> SerialMsg prepareGetValMessage(RemoteAgent<T> agent, DataflowVariable<T> resultVariable)