janus.web.service
Class EchoService

java.lang.Object
  extended by janus.web.config.PropertyConfig
      extended by janus.web.service.Service
          extended by janus.web.service.ServerLoopService
              extended by janus.web.service.EchoService
All Implemented Interfaces:
ExceptionListener

public class EchoService
extends ServerLoopService

Server-Dienst, der einen Echo-Server implementiert

See Also:
TestServer

Field Summary
protected  String[] args
          Argumente
static String DEFAULT_ARGS
           
static int DEFAULT_PORT
           
 
Fields inherited from class janus.web.service.ServerLoopService
address, DEFAULT_ADDRESS, loop, port, serverClass
 
Fields inherited from class janus.web.service.Service
active, debug, debugStream, DEFAULT_ACTIVE, DEFAULT_DEBUG, DEFAULT_PACKAGE, errorlog, log, status, toStringParameters, TRACE
 
Fields inherited from class janus.web.config.PropertyConfig
prefix, props
 
Constructor Summary
EchoService()
          Konstruktor - setzt die Serverklasse
 
Method Summary
protected  void setToStringParameters(String param)
          Setze die Paramter für Service.toString()
 void start()
          Starte den Service
 
Methods inherited from class janus.web.service.ServerLoopService
getAddress, getPort, getServerLoop, init, start, stop
 
Methods inherited from class janus.web.service.Service
create, getDebugStream, getName, getStatus, getTraceName, handleException, isActive, isDebug, setField, setTraceName, toString
 
Methods inherited from class janus.web.config.PropertyConfig
convertProperties, getBooleanProperty, getBooleanProperty, getBooleanPropertyArray, getBooleanPropertyArray, getIntProperty, getIntProperty, getIntPropertyArray, getIntPropertyArray, getLogger, getPrefix, getProperties, getProperty, getProperty, getPropertyArray, getPropertyArray, init, readFile, setPrefix
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

args

protected String[] args
Argumente


DEFAULT_ARGS

public static final String DEFAULT_ARGS
See Also:
Constant Field Values

DEFAULT_PORT

public static final int DEFAULT_PORT
See Also:
Constant Field Values
Constructor Detail

EchoService

public EchoService()
Konstruktor - setzt die Serverklasse

Method Detail

setToStringParameters

protected void setToStringParameters(String param)
Setze die Paramter für Service.toString()

Overrides:
setToStringParameters in class ServerLoopService

start

public void start()
           throws Throwable
Starte den Service

Specified by:
start in class Service
Throws:
Throwable


Copyright © 2008 MvC Systemsoftware.