rero.ircfw
Class Channel

java.lang.Object
  extended byrero.ircfw.Channel
All Implemented Interfaces:
Comparator, FrameworkConstants

public class Channel
extends Object
implements FrameworkConstants, Comparator


Field Summary
protected  SortedSet allusers
           
protected  String key
           
protected  int limit
           
protected  GenericMode mode
           
protected  String name
           
protected  String topic
           
 
Fields inherited from interface rero.ircfw.interfaces.FrameworkConstants
$ADDRESS$, $DATA$, $EVENT$, $HOST$, $NICK$, $NUMERIC$, $PARMS$, $RAW$, $SERVER$, $SOURCE$, $TARGET$, $TYPE$, $USER$
 
Constructor Summary
Channel(String name)
           
 
Method Summary
 int compare(Object aa, Object bb)
           
 Set getAllUsers()
           
 String getKey()
           
 int getLimit()
           
 GenericMode getMode()
           
 String getName()
           
 String getTopic()
           
 void setKey(String k)
           
 void setLimit(int l)
           
 void setMode(String m)
           
 void setTopic(String t)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Field Detail

topic

protected String topic

limit

protected int limit

key

protected String key

mode

protected GenericMode mode

name

protected String name

allusers

protected SortedSet allusers
Constructor Detail

Channel

public Channel(String name)
Method Detail

setTopic

public void setTopic(String t)

getTopic

public String getTopic()

setLimit

public void setLimit(int l)

getLimit

public int getLimit()

setKey

public void setKey(String k)

getKey

public String getKey()

setMode

public void setMode(String m)

getMode

public GenericMode getMode()

getName

public String getName()

compare

public int compare(Object aa,
                   Object bb)
Specified by:
compare in interface Comparator

getAllUsers

public Set getAllUsers()

toString

public String toString()