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], 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

    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
    ListeningServer → Closable
  9. def close(after: Duration): Future[Unit]

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

    Permalink
    Definition Classes
    Closable
  11. def closeServer(deadline: Time): Future[Unit]

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

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

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

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

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

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

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

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

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

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

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

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

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

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

Inherited from ListeningServer

Inherited from Awaitable[Unit]

Inherited from Closable

Inherited from AnyRef

Inherited from Any

Ungrouped