case class MiniBot[P, Q, W, V, ID](responses: (V) => (P) => Future[Vector[Q]], predicate: (V) => Boolean = (_: V) => true, name: Option[String] = None)(implicit pw: 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 MiniBot(responses: (V) => (P) => Future[Vector[Q]], predicate: (V) => Boolean = (_: V) => true, name: Option[String] = None)(implicit pw: 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): (MiniBot[P, Q, W, V, ID], B)
- 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
- def ensuring(cond: (MiniBot[P, Q, W, V, ID]) => Boolean, msg: => Any): MiniBot[P, Q, W, V, ID]
- def ensuring(cond: (MiniBot[P, Q, W, V, ID]) => Boolean): MiniBot[P, Q, W, V, ID]
- def ensuring(cond: Boolean, msg: => Any): MiniBot[P, Q, W, V, ID]
- def ensuring(cond: Boolean): MiniBot[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
- val message: String
- 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]]]
- val predicate: (V) => Boolean
- def productElementNames: Iterator[String]
- 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]
- def respond(web: W)(pds: Vector[PostData[PostType, W, ID]]): Future[Vector[PostData[_, W, ID]]]
- val responses: (V) => (P) => Future[Vector[Q]]
- final def synchronized[T0](arg0: => T0): T0
- def triggerMap[R](transform: (R) => P)(implicit rw: Postable[R, W, ID]): MiniBot[R, Q, W, ::[V, HNil], ID]
- def triggerWith[R](implicit rw: Postable[R, W, ID], pq: LocalQueryable[P, W, ID]): MiniBot[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): (MiniBot[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 fromMiniBot[P, Q, W, V, ID] to any2stringadd[MiniBot[P, Q, W, V, ID]]
Value Members
- def +(other: String): String
Inherited by implicit conversion StringFormat fromMiniBot[P, Q, W, V, ID] to StringFormat[MiniBot[P, Q, W, V, ID]]
Value Members
- def formatted(fmtstr: String): String
Inherited by implicit conversion Ensuring fromMiniBot[P, Q, W, V, ID] to Ensuring[MiniBot[P, Q, W, V, ID]]
Value Members
- def ensuring(cond: (MiniBot[P, Q, W, V, ID]) => Boolean, msg: => Any): MiniBot[P, Q, W, V, ID]
- def ensuring(cond: (MiniBot[P, Q, W, V, ID]) => Boolean): MiniBot[P, Q, W, V, ID]
- def ensuring(cond: Boolean, msg: => Any): MiniBot[P, Q, W, V, ID]
- def ensuring(cond: Boolean): MiniBot[P, Q, W, V, ID]
Inherited by implicit conversion ArrowAssoc fromMiniBot[P, Q, W, V, ID] to ArrowAssoc[MiniBot[P, Q, W, V, ID]]
Value Members
- def ->[B](y: B): (MiniBot[P, Q, W, V, ID], B)
- def →[B](y: B): (MiniBot[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): (MiniBot[P, Q, W, V, ID], B)
- 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
- def ensuring(cond: (MiniBot[P, Q, W, V, ID]) => Boolean, msg: => Any): MiniBot[P, Q, W, V, ID]
- def ensuring(cond: (MiniBot[P, Q, W, V, ID]) => Boolean): MiniBot[P, Q, W, V, ID]
- def ensuring(cond: Boolean, msg: => Any): MiniBot[P, Q, W, V, ID]
- def ensuring(cond: Boolean): MiniBot[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
- val message: String
- 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]]]
- val predicate: (V) => Boolean
- def productElementNames: Iterator[String]
- 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]
- def respond(web: W)(pds: Vector[PostData[PostType, W, ID]]): Future[Vector[PostData[_, W, ID]]]
- val responses: (V) => (P) => Future[Vector[Q]]
- final def synchronized[T0](arg0: => T0): T0
- def triggerMap[R](transform: (R) => P)(implicit rw: Postable[R, W, ID]): MiniBot[R, Q, W, ::[V, HNil], ID]
- def triggerWith[R](implicit rw: Postable[R, W, ID], pq: LocalQueryable[P, W, ID]): MiniBot[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): (MiniBot[P, Q, W, V, ID], B)