Packages

o

com.twitter.finagle

NullServer

object NullServer extends ListeningServer with CloseAwaitably

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() }
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NullServer
  2. CloseAwaitably
  3. CloseAwaitably0
  4. ListeningServer
  5. Awaitable
  6. Closable
  7. AnyRef
  8. 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
    Definition Classes
    NullServerListeningServer
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  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 closeAwaitably(f: ⇒ Future[Unit]): Future[Unit]
    Attributes
    protected
    Definition Classes
    CloseAwaitably0
  12. def closeServer(deadline: Time): Future[Unit]
    Definition Classes
    NullServerListeningServer
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  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. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def isReady(implicit permit: CanAwait): Boolean
    Definition Classes
    CloseAwaitably0 → Awaitable
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  23. def ready(timeout: Duration)(implicit permit: CanAwait): NullServer.this.type
    Definition Classes
    CloseAwaitably0 → Awaitable
  24. def result(timeout: Duration)(implicit permit: CanAwait): Unit
    Definition Classes
    CloseAwaitably0 → Awaitable
  25. lazy val set: Var[Set[SocketAddress]]
    Attributes
    protected[com.twitter.finagle]
    Definition Classes
    ListeningServer
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from CloseAwaitably

Inherited from CloseAwaitably0[Unit]

Inherited from ListeningServer

Inherited from Awaitable[Unit]

Inherited from Closable

Inherited from AnyRef

Inherited from Any

Ungrouped