public class jlanMessage extends jlanApp
Send a message to a remote host, that is running the Messenger service or equivalent.
CmdLineArg, CmdLineArg1, CmdLineArg2, CmdLineArg3, CmdLineArg4, CmdLineArg5, CmdLineArg6, PropertiesFileName, PropertyBroadcast, PropertyConnectOrder, PropertyDebug, PropertyDomain, PropertyJCEProvider, PropertyNameScope, PropertyPassword, PropertyResolveOrder, PropertyUserName, PropertyWildcardName, PropertyWINS, RightAlign, SwitchDomain, SwitchPassword, SwitchUserName| Constructor and Description |
|---|
jlanMessage()
Class constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doCommand(java.io.PrintStream out)
Perform the main command processing
|
protected java.lang.String |
getHost()
Get the destination host name/address
|
protected java.lang.String |
getMessage()
Get the message
|
static void |
main(java.lang.String[] args)
Run the jlanMessage command
|
protected void |
outputCommandHelp(java.io.PrintStream out)
Display the command usage
|
protected void |
setHost(java.lang.String host)
Set the destination host
|
protected void |
setMessage(java.lang.String msg)
Set the message to be sent
|
protected boolean |
validateCommandLine(NameValueList cmdLine,
java.io.PrintStream out)
Validate the command line parameters
|
formatOutput, formatOutput, formatOutput, formatOutput, formatOutput, getCommandDescription, getCommandName, getDomain, getPassword, getSession, getShare, getUserName, hasCommandSwitches, hasSession, parseCommandLine, promptForPassword, runCommand, setSession, setShareprotected void outputCommandHelp(java.io.PrintStream out)
outputCommandHelp in class jlanAppout - PrintStreamprotected void doCommand(java.io.PrintStream out)
throws java.lang.Exception
protected boolean validateCommandLine(NameValueList cmdLine, java.io.PrintStream out)
validateCommandLine in class jlanAppcmdLine - NameValueListout - PrintStreamprotected final java.lang.String getHost()
protected final java.lang.String getMessage()
protected final void setHost(java.lang.String host)
host - Stringprotected final void setMessage(java.lang.String msg)
msg - Stringpublic static void main(java.lang.String[] args)
args - String[]Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.