tiscaf

HServer

trait HServer extends HLoggable

A server provides:

Self Type
HServer
Linear Supertypes
HLoggable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. HServer
  2. HLoggable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def apps: Seq[HApp]

    Returns the list of available applications.

    Returns the list of available applications.

    Attributes
    protected
    See also

    tiscaf.HApp

  2. abstract def ports: Set[Int]

    Returns the list of ports, the server listens to.

    Returns the list of ports, the server listens to.

    Attributes
    protected

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def bufferSize: Int

    Returns the NIO buffer size.

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def connectionTimeoutSeconds: Int

    Returns the connection timeout.

    Returns the connection timeout. It has to purposes:

    • a connection without any socket activity during this period will be closed
    • if you use (and client wants) 'keep-alive' connection, this period is declared in response header
  10. def defaultHeaders: Map[String, String]

    The list of defaults headers that are set by the server for each request.

    The list of defaults headers that are set by the server for each request. Each let may override (or remove) them later

  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def error(msg: String, e: Exception): Unit

    Called to log a tiscaf internal error.

    Called to log a tiscaf internal error. Note: This methods is not intended to be called by applications using tiscaf. Override it to log using your favorite logging library. By default, logs the message and the stack trace to stderr.

    Attributes
    protected[tiscaf]
    Definition Classes
    HServerHLoggable
  14. implicit def executionContext: ExecutionContextExecutor

    The execution context for promises and futures

    The execution context for promises and futures

    Attributes
    protected
  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  18. def info(msg: String): Unit

    Called to log a tiscaf internal information.

    Called to log a tiscaf internal information. Note: This methods is not intended to be called by applications using tiscaf. Override it to log using your favorite logging library. By default, logs the message to stdout.

    Attributes
    protected[tiscaf]
    Definition Classes
    HServerHLoggable
  19. def interruptTimeoutMillis: Int

    Returns the time a shutdown process let the HLets a chance to finish properly.

  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. def maxPostDataLength: Int

    Returns the maximum upload size allowed.

    Returns the maximum upload size allowed.

    Attributes
    protected
  22. def name: String

    Returns the server name, used in response headers.

    Returns the server name, used in response headers.

    Attributes
    protected
  23. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  26. def onStart(): Unit

    Executed at the end of the server is started

    Executed at the end of the server is started

    Attributes
    protected
  27. def onStop(): Unit

    Executed before the server is stopped

    Executed before the server is stopped

    Attributes
    protected
  28. def poolSize: Int

    Returns the executor pool size.

    Returns the executor pool size.

    Attributes
    protected
  29. def queueSize: Int

    Returns the executor queue size.

    Returns the executor queue size.

    Attributes
    protected
  30. def ssl: List[HSslContext]

    Returns the SSL settings if any.

  31. def start: Unit

    Starts the server.

  32. def startStopListener: Unit

    Starts the stop listener.

    Starts the stop listener. Override if you want more elaborated shutdown procedure (and replace tiscaf.HStop)

    Attributes
    protected
  33. def stop: Unit

    Stops the server.

  34. def stopHost: String

    Returns the host to listen to for stop message.

  35. def stopPort: Int

    Returns the port number listened to for a stop message.

  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  37. def tcpNoDelay: Boolean

    Attributes
    protected
  38. def toString(): String

    Definition Classes
    AnyRef → Any
  39. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. def warning(msg: String): Unit

    Called to log a tiscaf internal warning.

    Called to log a tiscaf internal warning. Note: This methods is not intended to be called by applications using tiscaf. Override it to log using your favorite logging library. By default, logs the message to stdout.

    Attributes
    protected[tiscaf]
    Definition Classes
    HServerHLoggable

Inherited from HLoggable

Inherited from AnyRef

Inherited from Any

Ungrouped