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(PrintStream out)
Perform the main command processing
|
protected String |
getHost()
Get the destination host name/address
|
protected String |
getMessage()
Get the message
|
static void |
main(String[] args)
Run the jlanMessage command
|
protected void |
outputCommandHelp(PrintStream out)
Display the command usage
|
protected void |
setHost(String host)
Set the destination host
|
protected void |
setMessage(String msg)
Set the message to be sent
|
protected boolean |
validateCommandLine(NameValueList cmdLine,
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(PrintStream out)
outputCommandHelp in class jlanAppout - PrintStreamprotected void doCommand(PrintStream out) throws Exception
protected boolean validateCommandLine(NameValueList cmdLine, PrintStream out)
validateCommandLine in class jlanAppcmdLine - NameValueListout - PrintStreamprotected final String getHost()
protected final String getMessage()
protected final void setHost(String host)
host - Stringprotected final void setMessage(String msg)
msg - Stringpublic static void main(String[] args)
args - String[]Copyright © 2005–2014 Alfresco Software. All rights reserved.