|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnetbattle.ChatChanel
public class ChatChanel
Constructor Summary | |
---|---|
ChatChanel(java.lang.String name,
boolean priv)
Creates a new instance of ChatChanel |
Method Summary | |
---|---|
void |
addClient(NetClient client)
Add a client to this channel. |
int |
getChannelId()
Return the ID of this channel. |
java.lang.String |
getChannelName()
Return the name of this channel. |
java.lang.String[] |
getUserList()
Get a list of users in this channel. |
boolean |
isPrivate()
Return whether this channel is private. |
void |
removeClient(NetClient client)
Remove a client from this channel. |
void |
sendMessage(NetMessage msg)
Send a message to everybody in this channel. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ChatChanel(java.lang.String name, boolean priv)
name
- the name of this channelpriv
- whether this chanel should be known to all usersMethod Detail |
---|
public boolean isPrivate()
public java.lang.String getChannelName()
public void addClient(NetClient client)
public void removeClient(NetClient client)
public void sendMessage(NetMessage msg)
public java.lang.String[] getUserList()
public int getChannelId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |