Object

com.twitter.finagle

NullServer

Related Doc: package finagle

Permalink

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], ClosableOnce, CloseOnce, Closable, AnyRef, Any
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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def announce(addr: String): Future[Announcement]

    Permalink

    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

    Permalink
    Definition Classes
    Any
  6. val boundAddress: InetSocketAddress

    Permalink

    The address to which this server is bound.

    The address to which this server is bound.

    Definition Classes
    NullServerListeningServer
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def close(deadline: Time): Future[Unit]

    Permalink
    Definition Classes
    CloseOnce
  9. def close(after: Duration): Future[Unit]

    Permalink
    Definition Classes
    Closable
  10. final def close(): Future[Unit]

    Permalink
    Definition Classes
    Closable
  11. final def closeFuture: Future[Unit]

    Permalink
    Attributes
    protected
    Definition Classes
    CloseOnce
  12. final def closeOnce(deadline: Time): Future[Unit]

    Permalink
    Attributes
    protected
    Definition Classes
    ListeningServer → CloseOnce
  13. def closeServer(deadline: Time): Future[Unit]

    Permalink
    Definition Classes
    NullServerListeningServer
  14. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def isClosed: Boolean

    Permalink
    Definition Classes
    CloseOnce
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def isReady(implicit permit: CanAwait): Boolean

    Permalink
    Definition Classes
    NullServer → Awaitable
  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. def ready(timeout: Duration)(implicit permit: CanAwait): NullServer.this.type

    Permalink
    Definition Classes
    NullServer → Awaitable
  26. def result(timeout: Duration)(implicit permit: CanAwait): Unit

    Permalink
    Definition Classes
    NullServer → Awaitable
  27. lazy val set: Var[Set[SocketAddress]] with Extractable[Set[SocketAddress]]

    Permalink
    Attributes
    protected[com.twitter.finagle]
    Definition Classes
    ListeningServer
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ListeningServer

Inherited from Awaitable[Unit]

Inherited from ClosableOnce

Inherited from CloseOnce

Inherited from Closable

Inherited from AnyRef

Inherited from Any

Ungrouped