/*
* Created on 15.11.2005 by jawe
* $Id$
*/
/*
* This file is part of scriptbot.
*
* scriptbot is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* scriptbot is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with ScriptBot; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
package net.jawe.scriptbot;
/**
* An IRC server.
* @author jawe
*/
public interface Server {
/**
* The server's hostname or IP.
* @return Returns the hostname.
*/
public String getHostname();
/**
* The server's hostname or IP.
* @param hostname the hostname to set.
*/
public void setHostname(String hostname);
/**
* The server password or null if it doesn't need one.
* @return Returns the password.
*/
public String getPassword();
/**
* The server password or null if it doesn't need one.
* @param password the password to set.
*/
public void setPassword(String password);
/**
* The server port. Defaults to 6667.
* @return Returns the port.
*/
public int getPort();
/**
* The server port.
* @param port the port to set.
*/
public void setPort(int port);
}