|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectf00f.net.irc.martyr.commands.AwayCommand
public class AwayCommand
Defines the AWAY message which is used to indicate that you are or are not away from the keyboard.
| Constructor Summary | |
|---|---|
AwayCommand()
A blank AWAY command indicates that you are no longer away. |
|
AwayCommand(java.lang.String awayMessage)
An AWAY command with a message indicates that you are in fact away. |
|
| 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 AwayCommand()
public AwayCommand(java.lang.String awayMessage)
awayMessage - Message indicating why you are away.| 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 | |||||||||