public class GenericServer extends Object implements org.eclipse.equinox.app.IApplication
| Constructor and Description |
|---|
GenericServer() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
configureServerContainer(TCPServerSOContainer container)
This method may be overridden by subclasses in order to customize the configuration of the
newly created server containers (before they are put on the air).
|
protected void |
setupServerFromConfig(List connectors) |
protected void |
setupServerFromParameters(String hostname,
int port,
String name,
int keepAlive) |
Object |
start(org.eclipse.equinox.app.IApplicationContext context) |
void |
stop() |
public Object start(org.eclipse.equinox.app.IApplicationContext context) throws Exception
start in interface org.eclipse.equinox.app.IApplicationExceptionprotected void setupServerFromParameters(String hostname, int port, String name, int keepAlive) throws IOException, IDCreateException
hostname - port - name - keepAlive - IOExceptionIDCreateExceptionprotected void configureServerContainer(TCPServerSOContainer container)
container - the container to configureprotected void setupServerFromConfig(List connectors) throws IOException, IDCreateException
IOExceptionIDCreateExceptionpublic void stop()
stop in interface org.eclipse.equinox.app.IApplicationCopyright © 2019 Eclipse Foundation. All rights reserved.