Packages

o

com.twitter.finagle

NullServer

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() }
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NullServer
  2. ListeningServer
  3. Awaitable
  4. ClosableOnce
  5. CloseOnce
  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

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

Inherited from ListeningServer

Inherited from Awaitable[Unit]

Inherited from ClosableOnce

Inherited from CloseOnce

Inherited from Closable

Inherited from AnyRef

Inherited from Any

Ungrouped