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() }
- Alphabetic
- By Inheritance
- NullServer
- CloseAwaitably
- CloseAwaitably0
- ListeningServer
- Group
- Awaitable
- Closable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: Group[SocketAddress]): Group[SocketAddress]
- Definition Classes
- Group
-
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
apply(): Set[SocketAddress]
- Definition Classes
- Group
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
boundAddress: InetSocketAddress
- Definition Classes
- NullServer → ListeningServer
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
close(deadline: Time): Future[Unit]
- Definition Classes
- ListeningServer → Closable
-
def
close(after: Duration): Future[Unit]
- Definition Classes
- Closable
-
final
def
close(): Future[Unit]
- Definition Classes
- Closable
-
def
closeAwaitably(f: ⇒ Future[Unit]): Future[Unit]
- Attributes
- protected
- Definition Classes
- CloseAwaitably0
-
def
closeServer(deadline: Time): Future[Unit]
- Definition Classes
- NullServer → ListeningServer
-
def
collect[U](f: PartialFunction[SocketAddress, U]): Group[U]
Create a new group by collecting each element of this group with
f
.Create a new group by collecting each element of this group with
f
.f
is guaranteed to be invoked exactly once for each element of the group, even for dynamic groups.- Definition Classes
- Group
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isReady(implicit permit: CanAwait): Boolean
- Definition Classes
- CloseAwaitably0 → Awaitable
-
def
map[U](f: (SocketAddress) ⇒ U): Group[U]
Create a new group by mapping each element of this group with
f
.Create a new group by mapping each element of this group with
f
.f
is guaranteed to be invoked exactly once for each element of the groups, even for dynamic groups.- Definition Classes
- Group
-
final
def
members: Set[SocketAddress]
The current members of this group.
The current members of this group. If the group has not changed, the same object is returned. This allows a simple object identity check to be performed to see if the Group has been updated.
- Definition Classes
- Group
-
def
named(n: String): Group[SocketAddress]
Name the group
n
. -
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
ready(timeout: Duration)(implicit permit: CanAwait): NullServer.this.type
- Definition Classes
- CloseAwaitably0 → Awaitable
-
final
lazy val
ref: AtomicReference[Set[SocketAddress]]
- Attributes
- protected[com.twitter.finagle]
- Definition Classes
- Group
-
def
result(timeout: Duration)(implicit permit: CanAwait): Unit
- Definition Classes
- CloseAwaitably0 → Awaitable
-
lazy val
set: Var[Set[SocketAddress]]
- Attributes
- protected[com.twitter.finagle]
- Definition Classes
- ListeningServer → Group
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- Group → AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )