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() }
- Alphabetic
- By Inheritance
- NullServer
- ListeningServer
- Awaitable
- ClosableOnce
- CloseOnce
- Closable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val boundAddress: InetSocketAddress
The address to which this server is bound.
The address to which this server is bound.
- Definition Classes
- NullServer → ListeningServer
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def close(deadline: Time): Future[Unit]
- Definition Classes
- CloseOnce → Closable
- def close(after: Duration): Future[Unit]
- Definition Classes
- Closable
- final def close(): Future[Unit]
- Definition Classes
- Closable
- final def closeFuture: Future[Unit]
- Attributes
- protected
- Definition Classes
- CloseOnce
- final def closeOnce(deadline: Time): Future[Unit]
- Attributes
- protected
- Definition Classes
- ListeningServer → CloseOnce
- def closeServer(deadline: Time): Future[Unit]
- Definition Classes
- NullServer → ListeningServer
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isClosed: Boolean
- Definition Classes
- CloseOnce
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isReady(implicit permit: CanAwait): Boolean
- Definition Classes
- NullServer → Awaitable
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def ready(timeout: Duration)(implicit permit: CanAwait): NullServer.this.type
- Definition Classes
- NullServer → Awaitable
- def result(timeout: Duration)(implicit permit: CanAwait): Unit
- Definition Classes
- NullServer → Awaitable
- lazy val set: Var[Set[SocketAddress]] with Extractable[Set[SocketAddress]]
- Attributes
- protected[finagle]
- Definition Classes
- ListeningServer
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()