public class SubCreator
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SubCreator.ServerTemplate |
static class |
SubCreator.ServerType |
Constructor and Description |
---|
SubCreator(ExHost host)
Creates a SubCreator Instance
|
Modifier and Type | Method and Description |
---|---|
boolean |
create(java.lang.String name,
SubCreator.ServerTemplate template,
Version version,
int port,
java.util.UUID address,
java.lang.String id) |
java.util.List<SubLogger> |
getLogger() |
SubLogger |
getLogger(java.lang.String name) |
void |
terminate() |
void |
terminate(java.lang.String name) |
void |
waitFor() |
void |
waitFor(java.lang.String name) |
public SubCreator(ExHost host)
host
- SubServers.Hostpublic boolean create(java.lang.String name, SubCreator.ServerTemplate template, Version version, int port, java.util.UUID address, java.lang.String id)
public void terminate()
public void terminate(java.lang.String name)
public void waitFor() throws java.lang.InterruptedException
java.lang.InterruptedException
public void waitFor(java.lang.String name) throws java.lang.InterruptedException
java.lang.InterruptedException
public java.util.List<SubLogger> getLogger()
public SubLogger getLogger(java.lang.String name)