case class MicroBot[P, Q, W, V, ID](response: (V) => (P) => Future[Q], predicate: (P) => (V) => Boolean = (_: P) => (_ : V) => true, name: Option[String] = None)(implicit ppw: Postable[P, W, ID], qw: Postable[Q, W, ID], lv: LocalQueryable[V, W, ID], dg: DataGetter[Q, W, ID]) extends TypedPostResponse[P, W, ID] with Product with Serializable
Instance Constructors
- new MicroBot(response: (V) => (P) => Future[Q], predicate: (P) => (V) => Boolean = (_: P) => (_ : V) => true, name: Option[String] = None)(implicit ppw: Postable[P, W, ID], qw: Postable[Q, W, ID], lv: LocalQueryable[V, W, ID], dg: DataGetter[Q, W, ID])
Type Members
- type PostType = P
Value Members
- final def !=(arg0: Any): Boolean
- final def ##: Int
- def &&(that: TypedPostResponse[P, W, ID]): ConcurrentResponse[P, W, ID]
- def +(other: String): String
- def ->[B](y: B): (MicroBot[P, Q, W, V, ID], B)
- def :+[QQ, VV](that: MicroBot[P, QQ, W, VV, ID])(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[QQ], arg1: scala.reflect.api.JavaUniverse.TypeTag[VV], qqw: Postable[QQ, W, ID], dgqq: DataGetter[QQ, W, ID], nilGetter: Postable[HNil, W, ID]): MicroBot[P, ::[Q, ::[QQ, HNil]], W, ::[V, ::[VV, HNil]], ID]
- final def ==(arg0: Any): Boolean
- def >>[Q](that: TypedPostResponse[Q, W, ID])(implicit qw: Postable[Q, W, ID], dg: DataGetter[Q, W, ID]): ComposedResponse[P, Q, W, ID]
- def andThen[Q, V](second: Callback[Q, W, V, ID])(implicit pw: Postable[P, W, ID], qw: Postable[Q, W, ID]): AndThen[P, Q, V, W, ID]
- final def asInstanceOf[T0]: T0
- def clone(): AnyRef
- implicit val dg: DataGetter[Q, W, ID]
- def ensuring(cond: (MicroBot[P, Q, W, V, ID]) => Boolean, msg: => Any): MicroBot[P, Q, W, V, ID]
- def ensuring(cond: (MicroBot[P, Q, W, V, ID]) => Boolean): MicroBot[P, Q, W, V, ID]
- def ensuring(cond: Boolean, msg: => Any): MicroBot[P, Q, W, V, ID]
- def ensuring(cond: Boolean): MicroBot[P, Q, W, V, ID]
- final def eq(arg0: AnyRef): Boolean
- def formatted(fmtstr: String): String
- final def getClass(): Class[_ <: AnyRef]
- final def isInstanceOf[T0]: Boolean
- implicit val lv: LocalQueryable[V, W, ID]
- val name: Option[String]
- final def ne(arg0: AnyRef): Boolean
- final def notify(): Unit
- final def notifyAll(): Unit
- def post(web: W, content: P, id: ID): Future[Vector[PostData[_, W, ID]]]
- implicit val ppw: Postable[P, W, ID]
- val predicate: (P) => (V) => Boolean
- def productElementNames: Iterator[String]
- implicit val pw: Postable[P, W, ID]
- implicit val qw: Postable[Q, W, ID]
- def reduce[Q, R](reduction: (Vector[Q]) => R)(implicit qw: Postable[Q, W, ID], rw: Postable[R, W, ID], dgr: DataGetter[R, W, ID]): ReducedResponse[P, Q, R, W, ID]
- def respond(web: W)(pds: Vector[PostData[PostType, W, ID]]): Future[Vector[PostData[_, W, ID]]]
- val response: (V) => (P) => Future[Q]
- final def synchronized[T0](arg0: => T0): T0
- def triggerMap[R](transform: (R) => P)(implicit rw: Postable[R, W, ID]): MicroBot[R, Q, W, ::[V, HNil], ID]
- def triggerWith[R](implicit rw: Postable[R, W, ID], pq: LocalQueryable[P, W, ID]): MicroBot[R, Q, W, ::[P, ::[V, HNil]], ID]
- final def wait(arg0: Long, arg1: Int): Unit
- final def wait(arg0: Long): Unit
- final def wait(): Unit
Deprecated Value Members
- def finalize(): Unit
- def →[B](y: B): (MicroBot[P, Q, W, V, ID], B)
Inherited from Product
Value Members
- def productElementNames: Iterator[String]
Value Members
- def &&(that: TypedPostResponse[P, W, ID]): ConcurrentResponse[P, W, ID]
- def >>[Q](that: TypedPostResponse[Q, W, ID])(implicit qw: Postable[Q, W, ID], dg: DataGetter[Q, W, ID]): ComposedResponse[P, Q, W, ID]
- def andThen[Q, V](second: Callback[Q, W, V, ID])(implicit pw: Postable[P, W, ID], qw: Postable[Q, W, ID]): AndThen[P, Q, V, W, ID]
- implicit val pw: Postable[P, W, ID]
- def reduce[Q, R](reduction: (Vector[Q]) => R)(implicit qw: Postable[Q, W, ID], rw: Postable[R, W, ID], dgr: DataGetter[R, W, ID]): ReducedResponse[P, Q, R, W, ID]
Inherited from AnyRef
Value Members
- final def !=(arg0: Any): Boolean
- final def ##: Int
- final def ==(arg0: Any): Boolean
- def clone(): AnyRef
- final def eq(arg0: AnyRef): Boolean
- final def getClass(): Class[_ <: AnyRef]
- final def ne(arg0: AnyRef): Boolean
- final def notify(): Unit
- final def notifyAll(): Unit
- final def synchronized[T0](arg0: => T0): T0
- final def wait(arg0: Long, arg1: Int): Unit
- final def wait(arg0: Long): Unit
- final def wait(): Unit
- def finalize(): Unit
Inherited from Any
Value Members
- final def asInstanceOf[T0]: T0
- final def isInstanceOf[T0]: Boolean
Inherited by implicit conversion any2stringadd fromMicroBot[P, Q, W, V, ID] to any2stringadd[MicroBot[P, Q, W, V, ID]]
Value Members
- def +(other: String): String
Inherited by implicit conversion StringFormat fromMicroBot[P, Q, W, V, ID] to StringFormat[MicroBot[P, Q, W, V, ID]]
Value Members
- def formatted(fmtstr: String): String
Inherited by implicit conversion Ensuring fromMicroBot[P, Q, W, V, ID] to Ensuring[MicroBot[P, Q, W, V, ID]]
Value Members
- def ensuring(cond: (MicroBot[P, Q, W, V, ID]) => Boolean, msg: => Any): MicroBot[P, Q, W, V, ID]
- def ensuring(cond: (MicroBot[P, Q, W, V, ID]) => Boolean): MicroBot[P, Q, W, V, ID]
- def ensuring(cond: Boolean, msg: => Any): MicroBot[P, Q, W, V, ID]
- def ensuring(cond: Boolean): MicroBot[P, Q, W, V, ID]
Inherited by implicit conversion ArrowAssoc fromMicroBot[P, Q, W, V, ID] to ArrowAssoc[MicroBot[P, Q, W, V, ID]]
Value Members
- def ->[B](y: B): (MicroBot[P, Q, W, V, ID], B)
- def →[B](y: B): (MicroBot[P, Q, W, V, ID], B)
Ungrouped
- final def !=(arg0: Any): Boolean
- final def ##: Int
- def &&(that: TypedPostResponse[P, W, ID]): ConcurrentResponse[P, W, ID]
- def +(other: String): String
- def ->[B](y: B): (MicroBot[P, Q, W, V, ID], B)
- def :+[QQ, VV](that: MicroBot[P, QQ, W, VV, ID])(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[QQ], arg1: scala.reflect.api.JavaUniverse.TypeTag[VV], qqw: Postable[QQ, W, ID], dgqq: DataGetter[QQ, W, ID], nilGetter: Postable[HNil, W, ID]): MicroBot[P, ::[Q, ::[QQ, HNil]], W, ::[V, ::[VV, HNil]], ID]
- final def ==(arg0: Any): Boolean
- def >>[Q](that: TypedPostResponse[Q, W, ID])(implicit qw: Postable[Q, W, ID], dg: DataGetter[Q, W, ID]): ComposedResponse[P, Q, W, ID]
- def andThen[Q, V](second: Callback[Q, W, V, ID])(implicit pw: Postable[P, W, ID], qw: Postable[Q, W, ID]): AndThen[P, Q, V, W, ID]
- final def asInstanceOf[T0]: T0
- def clone(): AnyRef
- implicit val dg: DataGetter[Q, W, ID]
- def ensuring(cond: (MicroBot[P, Q, W, V, ID]) => Boolean, msg: => Any): MicroBot[P, Q, W, V, ID]
- def ensuring(cond: (MicroBot[P, Q, W, V, ID]) => Boolean): MicroBot[P, Q, W, V, ID]
- def ensuring(cond: Boolean, msg: => Any): MicroBot[P, Q, W, V, ID]
- def ensuring(cond: Boolean): MicroBot[P, Q, W, V, ID]
- final def eq(arg0: AnyRef): Boolean
- def formatted(fmtstr: String): String
- final def getClass(): Class[_ <: AnyRef]
- final def isInstanceOf[T0]: Boolean
- implicit val lv: LocalQueryable[V, W, ID]
- val name: Option[String]
- final def ne(arg0: AnyRef): Boolean
- final def notify(): Unit
- final def notifyAll(): Unit
- def post(web: W, content: P, id: ID): Future[Vector[PostData[_, W, ID]]]
- implicit val ppw: Postable[P, W, ID]
- val predicate: (P) => (V) => Boolean
- def productElementNames: Iterator[String]
- implicit val pw: Postable[P, W, ID]
- implicit val qw: Postable[Q, W, ID]
- def reduce[Q, R](reduction: (Vector[Q]) => R)(implicit qw: Postable[Q, W, ID], rw: Postable[R, W, ID], dgr: DataGetter[R, W, ID]): ReducedResponse[P, Q, R, W, ID]
- def respond(web: W)(pds: Vector[PostData[PostType, W, ID]]): Future[Vector[PostData[_, W, ID]]]
- val response: (V) => (P) => Future[Q]
- final def synchronized[T0](arg0: => T0): T0
- def triggerMap[R](transform: (R) => P)(implicit rw: Postable[R, W, ID]): MicroBot[R, Q, W, ::[V, HNil], ID]
- def triggerWith[R](implicit rw: Postable[R, W, ID], pq: LocalQueryable[P, W, ID]): MicroBot[R, Q, W, ::[P, ::[V, HNil]], ID]
- final def wait(arg0: Long, arg1: Int): Unit
- final def wait(arg0: Long): Unit
- final def wait(): Unit
- def finalize(): Unit
- def →[B](y: B): (MicroBot[P, Q, W, V, ID], B)