Class CapabilityTMIProcessor
java.lang.Object
com.gmt2001.twitch.tmi.processors.AbstractTMIProcessor
com.gmt2001.twitch.tmi.processors.CapabilityTMIProcessor
- All Implemented Interfaces:
Flow.Subscriber<TMIMessage>
Gets the authentication process started by requesting capabilities and sending NICK/PASS
- 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
onMessage
(TMIMessage item) Called when a TMIMessage of type TMIMessageType.MESSAGE is receivedprotected void
onOpen()
Starts the authentication process by requesting capabilities and sending NICK/PASSMethods inherited from class com.gmt2001.twitch.tmi.processors.AbstractTMIProcessor
channel, onClose, onComplete, onError, onFlowComplete, onFlowError, onFlowNext, onFlowSubscribe, onNext, onSubscribe, properties, property, session, subscribe, tmi, user
-
Constructor Details
-
CapabilityTMIProcessor
public CapabilityTMIProcessor()
-
-
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
-
onOpen
protected void onOpen()Starts the authentication process by requesting capabilities and sending NICK/PASS- Overrides:
onOpen
in classAbstractTMIProcessor
-