|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object f00f.net.irc.martyr.commands.ListCommand
public class ListCommand
Defines the LIST command, which is used to get the topic and member count of certain channels, or all of them.
Constructor Summary | |
---|---|
ListCommand()
No parameter passed to the LIST command represents a request for all channels. |
|
ListCommand(java.util.List<java.lang.String> channels)
Request information of multiple channels. |
|
ListCommand(java.lang.String channel)
Request information about a single channel. |
Method Summary | |
---|---|
java.lang.String |
getIrcIdentifier()
Returns the string IRC uses to identify this command. |
java.lang.String |
render()
Forms a string appropriate to send to the server, if required. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ListCommand()
public ListCommand(java.lang.String channel)
channel
- Channel you want to request the topic and member count of.public ListCommand(java.util.List<java.lang.String> channels)
channels
- List of channels you want to retrieve the topic and member count of.Method Detail |
---|
public java.lang.String render()
OutCommand
render
in interface OutCommand
OutCommand.render()
public java.lang.String getIrcIdentifier()
Command
getIrcIdentifier
in interface Command
Command.getIrcIdentifier()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |