org.eclipse.ecf.server.generic.app
Class ServerApplication
java.lang.Object
org.eclipse.ecf.server.generic.app.ServerApplication
public class ServerApplication
- extends java.lang.Object
An ECF server container implementation that runs as an application.
Usage: java org.eclipse.ecf.provider.app.ServerApplication [-c
<configfile> | <serverid>]
If -p <configfile> is used, the server configuration is loaded and used
to setup servers. If <serverid> is omitted or "-" is specified,
ecftcp://localhost:3282/server" is used. The <serverid> must correspond
to URI syntax as defined by RFC 2396:
Uniform Resource Identifiers (URI): Generic Syntax, amended by RFC 2732: Format for
Literal IPv6 Addresses in URLs
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_KEEPALIVE
public static final int DEFAULT_KEEPALIVE
ServerApplication
public ServerApplication()
main
public static void main(java.lang.String[] args)
throws java.lang.Exception
- Throws:
java.lang.Exception
createServerGroup
protected static TCPServerSOContainerGroup createServerGroup(java.lang.String name,
int port)
createServerContainer
protected static TCPServerSOContainer createServerContainer(java.lang.String id,
TCPServerSOContainerGroup group,
java.lang.String path,
int keepAlive)
throws IDCreateException
- Throws:
IDCreateException