|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--sashenka.irc.Channel
| Field Summary | |
java.lang.String |
name
|
| Method Summary | |
boolean |
equals(java.lang.Object o)
|
static Channel |
getChannelByName(java.lang.String name)
|
static java.util.List |
getChannels()
Returns a new List containing all the channels that are known of. |
java.util.Set |
getUsers()
Returns a set of all the users that are in the current channel. |
int |
hashCode()
|
boolean |
hasUser(IRCUser u)
Returns whether or not the given user is in the channel. |
boolean |
in()
|
boolean |
isLurking()
Returns whether or not the bot should be lurking in the given channel. |
boolean |
isOperator()
|
boolean |
join()
|
boolean |
lurking()
|
boolean |
sendOK()
Returns whether or not it is okay to send messages and traffic to this destination. |
void |
setIn(boolean in)
|
void |
setJoin(boolean join)
|
void |
setLurking(boolean lurking)
|
void |
setOperator(boolean op)
|
void |
setUsers(java.util.List users)
|
java.lang.String |
toString()
|
boolean |
wantOp()
Returns whether or not the bot wants to be an operator in the channel. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public java.lang.String name
| Method Detail |
public static Channel getChannelByName(java.lang.String name)
public static java.util.List getChannels()
public void setUsers(java.util.List users)
public java.util.Set getUsers()
public boolean hasUser(IRCUser u)
public boolean wantOp()
public boolean isOperator()
public void setOperator(boolean op)
public boolean isLurking()
public boolean lurking()
public void setLurking(boolean lurking)
public boolean join()
public void setJoin(boolean join)
public boolean in()
public void setIn(boolean in)
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic boolean sendOK()
Destination
sendOK in interface Destinationpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||