| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectf00f.net.irc.martyr.commands.NamesCommand
public class NamesCommand
Defines the NAMES command, which is used to get the members of certain channels, or all of them.
| Constructor Summary | |
|---|---|
NamesCommand()
No parameter passed to the NAMES command represents a request for all channels.  | 
|
NamesCommand(java.util.List<java.lang.String> channels)
Request the membership of multiple channels.  | 
|
NamesCommand(java.lang.String channel)
Request the membership of 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 NamesCommand()
public NamesCommand(java.lang.String channel)
channel - Channel you want to request membership of.public NamesCommand(java.util.List<java.lang.String> channels)
channels - List of channels you want to retrieve the membership list of.| Method Detail | 
|---|
public java.lang.String render()
OutCommand
render in interface OutCommandOutCommand.render()public java.lang.String getIrcIdentifier()
Command
getIrcIdentifier in interface CommandCommand.getIrcIdentifier()
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||