All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ircclouds.irc.api.domain.messages.ChannelModeMessage Maven / Gradle / Ivy

There is a newer version: 1.0-0014
Show newest version
package com.ircclouds.irc.api.domain.messages;

import java.util.*;

import com.ircclouds.irc.api.domain.*;
import com.ircclouds.irc.api.domain.messages.interfaces.*;

/**
 * 
 * @author
 * 
 */
public class ChannelModeMessage implements IMessage
{
	private ISource user;
	private String channel;
	private String modeStr;
	private List addedModes;
	private List removedModes;

	public ChannelModeMessage(ISource aUser, String aChanName, String aModeStr, List aAddedModes, List aRemModes)
	{
		user = aUser;
		channel = aChanName;
		modeStr = aModeStr;
		addedModes = aAddedModes;
		removedModes = aRemModes;
	}
	
	public String getChannelName()
	{
		return channel;
	}

	public ISource getSource()
	{
		return user;
	}

	public List getAddedModes()
	{
		return addedModes;
	}

	public List getRemovedModes()
	{
		return removedModes;
	}

	public String getModeStr()
	{
		return modeStr;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy