public class PilarLauncher extends AbstractCommandLauncher
| Modifier and Type | Class and Description |
|---|---|
static class |
PilarLauncher.Test
Test
|
PropertyResources.Load, PropertyResources.URLResource| Modifier and Type | Field and Description |
|---|---|
private Pilar3Socket |
pilar |
ALTERNATEHOST, ALTERNATEPORT, KEY_BINDNAME, KEY_EXPORTPORT, KEY_REGISTRYHOST, KEY_REGISTRYPORTKEY_NOINITONCREATE, POSTFIX_ALPHABET, POSTFIX_BYTES, POSTFIX_DIR, POSTFIX_EXT, POSTFIX_FILE, POSTFIX_LIST, POSTFIX_MODTIME, POSTFIX_URLKEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATORCONFIG, KEY_CLASSKEY_URLRESOURCES, KEY_URLUSECONFIG, KEY_URLUSECURRENT, KEY_URLUSEHOME| Constructor and Description |
|---|
PilarLauncher(Map prop) |
| Modifier and Type | Method and Description |
|---|---|
void |
announceInterest(ReplyEvent rpl)
The method a reply subscriber calls to announce that it is interested
to be forwarded reply events matching re.
|
void |
castCommand(CommandEvent ce)
The interface to the command casting routine.
|
String |
getClientName()
Returns the name of this command launcher.
|
CommandEvent |
getExitCommand()
Returns the command that should be sent on a server exit.
|
CommandEvent |
getShutdownCommand()
Returns the command that initiates a shutdown on the device or prepares
it for a shutdown.
|
boolean |
handles(CommandEvent ce)
Returns true if the caster can handles this command event.
|
void |
init() |
boolean |
isReady()
Returns true if the device is ready to receive commands.
|
void |
recastCommand()
Resends the last command, stops acknowledge/done waits.
|
void |
registerReplySubscriber(ReplySubscriber sub)
Registers the reply subscriber.
|
createCommandLauncheraddErrorListener, addRmiErrorListener, exit, isValid, notifyErrorListener, removeErrorListener, removeRmiErrorListener, sendError, sendError, sendError, sendStatus, sendStatus, sendStatusbindToRegistry, bindToRegistry, bindToRegistry, bindToRegistry, bindToRegistry, bindToRegistry, casterExit, casterExit, getBindName, getBindName, unbindFromRegistry, unbindFromRegistrycontainsRemoteProperty, getRemoteProperties, getRemoteProperty, setRemotePropertyclone, createFrom, createFrom, createFrom, createInstance, getApplet, getAsResources, getLocate, getPropertiesToKey, getPropertiesToKey, getResource, getResourceAsStream, getResourceFromKey, getResources, hasLocalURLs, initProperties, keyCreate, keyCreate, reload, setAppletaugment, augment, augment, augment, augment, defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsEnums, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, isNew, parseObject, parseObject, reload, removeProperty, requires, rescanned, setObject, setProperties, setProperty, stringProperties, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdefaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, parseObject, removeProperty, setObject, setProperty, stringPropertiesprivate Pilar3Socket pilar
public PilarLauncher(Map prop)
public void init()
init in interface Initializableinit in class CastingContainerpublic void castCommand(CommandEvent ce)
CommandLaunchingpublic void recastCommand()
CommandLaunchingpublic void announceInterest(ReplyEvent rpl)
ReplyDelivererpublic void registerReplySubscriber(ReplySubscriber sub)
ReplyDelivererpublic CommandEvent getExitCommand()
CommandLaunchingpublic CommandEvent getShutdownCommand()
CommandLaunchingpublic boolean handles(CommandEvent ce)
CommandLaunchingpublic String getClientName()
CommandLaunchingpublic boolean isReady()
CommandLaunching