Class UserStateTMIProcessor
java.lang.Object
com.gmt2001.twitch.tmi.processors.AbstractTMIProcessor
com.gmt2001.twitch.tmi.processors.UserStateTMIProcessor
- All Implemented Interfaces:
Flow.Subscriber<TMIMessage>
Handles the USERSTATE TMI command
- Author:
- gmt2001
-
Field Summary
Fields inherited from class com.gmt2001.twitch.tmi.processors.AbstractTMIProcessor
commands, subscription
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
onClose()
Default handler for TMIMessageType.CLOSE, no-opprotected void
onMessage
(TMIMessage item) Called when a TMIMessage of type TMIMessageType.MESSAGE is receivedMethods inherited from class com.gmt2001.twitch.tmi.processors.AbstractTMIProcessor
channel, onComplete, onError, onFlowComplete, onFlowError, onFlowNext, onFlowSubscribe, onNext, onOpen, onSubscribe, properties, property, session, subscribe, tmi, user
-
Constructor Details
-
UserStateTMIProcessor
public UserStateTMIProcessor()
-
-
Method Details
-
onMessage
Description copied from class:AbstractTMIProcessor
Called when a TMIMessage of type TMIMessageType.MESSAGE is received- Specified by:
onMessage
in classAbstractTMIProcessor
- Parameters:
item
- TheTMIMessage
that was received
-
onClose
protected void onClose()Description copied from class:AbstractTMIProcessor
Default handler for TMIMessageType.CLOSE, no-op- Overrides:
onClose
in classAbstractTMIProcessor
-