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

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

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

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

/**
 * 
 * @author
 * 
 */
public class ChanPartMessage implements IChannelMessage, IUserMessage
{
	private String chanName;
	private IRCUser user;
	private String partMsg;

	public ChanPartMessage(String aChanName, IRCUser aUser)
	{
		this(aChanName, aUser, "");
	}
	
	public ChanPartMessage(String aChanName, IRCUser aUser, String aPartMsg)
	{
		chanName = aChanName;
		user = aUser;
		partMsg = aPartMsg;
	}
	
	public String getPartMsg()
	{
		return partMsg;
	}

	public String getChannelName()
	{
		return chanName;
	}

	public IRCUser getSource()
	{
		return user;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy