| Modifier and Type | Class and Description |
|---|---|
static class |
LoadClientAppsJob.DelayedRunClient
Public for router console only, not for use by others, subject to change
|
| Constructor and Description |
|---|
LoadClientAppsJob(RouterContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Descriptive name of the task
|
static String[] |
parseArgs(String args)
Parse arg string into an array of args.
|
static void |
runClient(String className,
String clientName,
String[] args,
RouterContext ctx,
net.i2p.util.Log log)
Run client in a new thread.
|
static void |
runClient(String className,
String clientName,
String[] args,
RouterContext ctx,
net.i2p.util.Log log,
ThreadGroup threadGroup,
ClassLoader cl)
Run client in a new thread.
|
static void |
runClientInline(String className,
String clientName,
String[] args,
net.i2p.util.Log log)
Run client in this thread.
|
static void |
runClientInline(String className,
String clientName,
String[] args,
net.i2p.util.Log log,
ClassLoader cl)
Run client in this thread.
|
void |
runJob()
Actually perform the task.
|
static void |
testClient(String className,
ClassLoader cl)
Use to test if the class is present,
to propagate an error back to the user,
since runClient() runs in a separate thread.
|
dropped, getAddedBy, getContext, getJobId, getMadeReadyOn, getTiming, madeReady, requeue, toStringpublic LoadClientAppsJob(RouterContext ctx)
public void runJob()
Jobpublic static String[] parseArgs(String args)
args - may be nullpublic static void testClient(String className, ClassLoader cl) throws ClassNotFoundException
cl - can be nullClassNotFoundExceptionpublic static void runClientInline(String className, String clientName, String[] args, net.i2p.util.Log log) throws Exception
clientName - can be nullargs - can be nullException - just about anything, caller would be wise to catch Throwablepublic static void runClientInline(String className, String clientName, String[] args, net.i2p.util.Log log, ClassLoader cl) throws Exception
clientName - can be nullargs - can be nullcl - can be nullException - just about anything, caller would be wise to catch Throwablepublic static void runClient(String className, String clientName, String[] args, RouterContext ctx, net.i2p.util.Log log)
clientName - can be nullargs - can be nullpublic static void runClient(String className, String clientName, String[] args, RouterContext ctx, net.i2p.util.Log log, ThreadGroup threadGroup, ClassLoader cl)
clientName - can be nullargs - can be nullthreadGroup - can be nullcl - can be null