/*
Copyright (C) 2005 David Green <green@couchpotato.net>

This file is part of I3J.

I3J 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.

I3J 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 I3J; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
*/

package com.aelfengard.i3;

import java.util.List;

public class ChanInfo {

    public static final int CHANNEL_TYPE_SELECTIVELY_BANNED = 0;
    public static final int CHANNEL_TYPE_SELECTIVELY_ADMITTED = 1;
    public static final int CHANNEL_TYPE_SELECTIVELY_ADMITTED_AND_FILTERED = 2;

    private String hostMud = "";
    private int channelType = 0; 
    
    public ChanInfo() {
        // Nothing to do
    }
    
    public ChanInfo(List<LPCMixed> args) {
        hostMud = args.get(0).asString();
        channelType = args.get(1).asInteger();
    }

    public int getChannelType() {
        return channelType;
    }
    

    public void setChannelType(int channelType) {
        this.channelType = channelType;
    }
    

    public String getHostMud() {
        return hostMud;
    }
    

    public void setHostMud(String hostMud) {
        this.hostMud = hostMud;
    }
    
    
}