jerklib.events.modes
Interface ModeEvent

All Superinterfaces:
IRCEvent
All Known Implementing Classes:
ModeEventImpl

public interface ModeEvent
extends IRCEvent

Event fired when mode changes for us(UserMode) or Channel(ChannelMode)

Author:
mohadib

Nested Class Summary
static class ModeEvent.ModeType
           
 
Nested classes/interfaces inherited from interface jerklib.events.IRCEvent
IRCEvent.Type
 
Method Summary
 Channel getChannel()
          If mode event adjusted a Channel mode then the Channel effected will be returned
 List<ModeAdjustment> getModeAdjustments()
          Gets the list of mode adjustments generated
 ModeEvent.ModeType getModeType()
          Indicates if this is a user mode or channel mode event
 String setBy()
          Gets who set the mode
 
Methods inherited from interface jerklib.events.IRCEvent
getRawEventData, getSession, getType
 

Method Detail

getModeType

ModeEvent.ModeType getModeType()
Indicates if this is a user mode or channel mode event

Returns:
the ModeType

getModeAdjustments

List<ModeAdjustment> getModeAdjustments()
Gets the list of mode adjustments generated

Returns:
List of mode adjustments

setBy

String setBy()
Gets who set the mode

Returns:
who set the mode

getChannel

Channel getChannel()
If mode event adjusted a Channel mode then the Channel effected will be returned

Returns:
Channel
See Also:
Channel