Packages

object NullServer extends ListeningServer

An empty ListeningServer that can be used as a placeholder. For example:

@volatile var server = NullServer
def main() { server = Http.serve(...) }
def exit() { server.close() }
Linear Supertypes
ListeningServer, Awaitable[Unit], Closable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NullServer
  2. ListeningServer
  3. Awaitable
  4. Closable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def announce(addr: String): Future[Announcement]

    Announce the given address and return a future to the announcement

    Announce the given address and return a future to the announcement

    Definition Classes
    ListeningServer
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val boundAddress: InetSocketAddress

    The address to which this server is bound.

    The address to which this server is bound.

    Definition Classes
    NullServerListeningServer
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. final def close(deadline: Time): Future[Unit]
    Definition Classes
    ListeningServer → Closable
  9. def close(after: Duration): Future[Unit]
    Definition Classes
    Closable
  10. final def close(): Future[Unit]
    Definition Classes
    Closable
  11. def closeServer(deadline: Time): Future[Unit]
    Definition Classes
    NullServerListeningServer
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def isReady(implicit permit: CanAwait): Boolean
    Definition Classes
    NullServer → Awaitable
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def ready(timeout: Duration)(implicit permit: CanAwait): NullServer.this.type
    Definition Classes
    NullServer → Awaitable
  23. def result(timeout: Duration)(implicit permit: CanAwait): Unit
    Definition Classes
    NullServer → Awaitable
  24. lazy val set: Var[Set[SocketAddress]] with Extractable[Set[SocketAddress]]
    Attributes
    protected[com.twitter.finagle]
    Definition Classes
    ListeningServer
  25. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from ListeningServer

Inherited from Awaitable[Unit]

Inherited from Closable

Inherited from AnyRef

Inherited from Any

Ungrouped