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

jpower.irc.Message Maven / Gradle / Ivy

There is a newer version: 0.0.5
Show newest version
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;
   }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy