public class UserCodeProcess extends StandardClient implements ProxyObserver<Job>, Runnable
| Modifier and Type | Field and Description |
|---|---|
protected AgentProxy |
agent |
isServer, MAIN_ARG_CONFIG, MAIN_ARG_CONNECT, MAIN_ARG_LOGFILE, MAIN_ARG_LOGLEVEL, MAIN_ARG_NONEWLOGSTREAM| Constructor and Description |
|---|
UserCodeProcess(String agentName,
String agentPass,
String resource) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Job contents)
Receives job from the AgentProxy.
|
boolean |
assessStartConditions(Job job) |
void |
control(String control,
String msg) |
String |
getDesc() |
static UserCodeProcess |
getInstance() |
static void |
main(String[] args) |
void |
remove(String id)
Removes job removal notification from the AgentProxy.
|
void |
run() |
void |
runUCLogic(Job job) |
static void |
shutdown() |
readC2KArgs, setShutdownHandler, shutdownprotected AgentProxy agent
public boolean assessStartConditions(Job job)
public void add(Job contents)
add in interface ProxyObserver<Job>public void control(String control, String msg)
control in interface ProxyObserver<Job>public void remove(String id)
remove in interface ProxyObserver<Job>public static UserCodeProcess getInstance() throws UnknownHostException
UnknownHostExceptionpublic static void main(String[] args)
public String getDesc()
public static void shutdown()
Copyright © 1997–2016 CRISTAL-iSE. All rights reserved.