Class PrivMsgTMIProcessor
java.lang.Object
com.gmt2001.twitch.tmi.processors.AbstractTMIProcessor
com.gmt2001.twitch.tmi.processors.PrivMsgTMIProcessor
- All Implemented Interfaces:
- Flow.Subscriber<TMIMessage>
Handles the PRIVMSG IRC command and tracks moderators via IRCv3 item.tags()
- Author:
- gmt2001
- 
Field SummaryFields inherited from class com.gmt2001.twitch.tmi.processors.AbstractTMIProcessorcommands, subscription
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidonMessage(TMIMessage item) Called when a TMIMessage of type TMIMessageType.MESSAGE is receivedstatic voidpreventSelfTrigger(String messageid) Caches a message GUID for 10 seconds to prevent self-triggering.static StringstripAction(String message) Methods inherited from class com.gmt2001.twitch.tmi.processors.AbstractTMIProcessorchannel, onClose, onComplete, onError, onFlowComplete, onFlowError, onFlowNext, onFlowSubscribe, onNext, onOpen, onSubscribe, properties, property, session, subscribe, tmi, user
- 
Constructor Details- 
PrivMsgTMIProcessorpublic PrivMsgTMIProcessor()
 
- 
- 
Method Details- 
stripAction
- 
preventSelfTriggerCaches a message GUID for 10 seconds to prevent self-triggering.- Parameters:
- messageid- The message GUID to cache.
 
- 
onMessageDescription copied from class:AbstractTMIProcessorCalled when a TMIMessage of type TMIMessageType.MESSAGE is received- Specified by:
- onMessagein class- AbstractTMIProcessor
- Parameters:
- item- The- TMIMessagethat was received
 
 
-