Package ai.tock.bot.engine.event
Class SubscribingEvent
-
- All Implemented Interfaces:
public final class SubscribingEvent extends OneToOneEvent
The "subscribe to application" event.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringpayloadprivate final PlayerIduserIdprivate final PlayerIdrecipientIdprivate final StringapplicationIdprivate final Id<out Event>idprivate final Instantdateprivate final EventStatestate
-
Constructor Summary
Constructors Constructor Description SubscribingEvent(PlayerId userId, PlayerId recipientId, String payload, String applicationId)
-
Method Summary
Modifier and Type Method Description final StringgetPayload()an optional payload -
Methods inherited from class ai.tock.bot.engine.event.OneToOneEvent
getRecipientId, getUserId -
Methods inherited from class ai.tock.bot.engine.event.Event
getApplicationId, getDate, getId, getState, hasEntity, hasEntityPredefinedValue -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-