case class APIMessageCacheUpdate[Data](data: Data, sendEvent: (CacheState) ⇒ List[APIMessage], handler: CacheHandler[Data], registry: CacheTypeRegistry, dispatch: Dispatch[_]) extends CacheEvent with Product with Serializable
An event that should publish an APIMessage.
- Data
The data it contains.
- data
The data.
- sendEvent
A function to gather the needed variables to send the event.
- handler
The handler to process the data of this event with.
- registry
The handler registry that the event will use to update the snapshot.
- dispatch
The low level message that created this update.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- APIMessageCacheUpdate
- Serializable
- Serializable
- Product
- Equals
- CacheEvent
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
APIMessageCacheUpdate(data: Data, sendEvent: (CacheState) ⇒ List[APIMessage], handler: CacheHandler[Data], registry: CacheTypeRegistry, dispatch: Dispatch[_])
- data
The data.
- sendEvent
A function to gather the needed variables to send the event.
- handler
The handler to process the data of this event with.
- registry
The handler registry that the event will use to update the snapshot.
- dispatch
The low level message that created this update.
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val data: Data
- val dispatch: Dispatch[_]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val handler: CacheHandler[Data]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
process(builder: CacheSnapshotBuilder): Unit
Updates a ackcord.cachehandlers.CacheSnapshotBuilder according to this event.
Updates a ackcord.cachehandlers.CacheSnapshotBuilder according to this event.
- Definition Classes
- APIMessageCacheUpdate → CacheEvent
- val registry: CacheTypeRegistry
- val sendEvent: (CacheState) ⇒ List[APIMessage]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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( ... ) @native()