jpower.irc.Message Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of JPower Show documentation
Show all versions of JPower Show documentation
Powerful Library for the JVM
package jpower.irc;
import java.util.Map;
import java.util.List;
import java.util.ArrayList;
import java.util.HashMap;
public class Message
{
private String line;
private String command;
private String message;
private String hostmask;
private Map tags;
private List parameters;
public Message(String line, String command, String message, String hostmask, Map tags, List parameters)
{
this.line = line;
this.command = command;
this.message = message;
this.hostmask = hostmask;
this.parameters = parameters;
this.tags = tags;
}
public String getLine()
{
return line;
}
public String getCommand()
{
return command;
}
public String getMessage()
{
return message;
}
public String getPlainHostmask()
{
return hostmask;
}
public Map getTags()
{
return tags;
}
public List getParameters()
{
return parameters;
}
}