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.

Source
cacheUpdates.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. APIMessageCacheUpdate
  2. Serializable
  3. Product
  4. Equals
  5. CacheEvent
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. 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

  1. val data: Data
  2. val dispatch: Dispatch[_]
  3. val handler: CacheHandler[Data]
  4. 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
    APIMessageCacheUpdateCacheEvent
  5. def productElementNames: Iterator[String]
    Definition Classes
    Product
  6. val registry: CacheTypeRegistry
  7. val sendEvent: (CacheState) => List[APIMessage]