stella.net
Class PilarLauncher
java.lang.Object
util.PropertyContainer
util.PropertyResources
util.PropertyBundles
util.rmi.RmiPropertyContainer
util.rmi.AbstractRmiCaster
stella.CastingContainer
stella.AbstractCommandLauncher
stella.net.PilarLauncher
- All Implemented Interfaces:
- Cloneable, Remote, CommandLaunching, ReplyDeliverer, ExitCleaning, Initializable, LocalizedSupplying, PropertySupplying, ResourceSupplying, RmiCaster, RmiPropertyBearing
public class PilarLauncher
- extends AbstractCommandLauncher
| Methods inherited from class stella.CastingContainer |
addErrorListener, addRmiErrorListener, exit, isValid, notifyErrorListener, removeErrorListener, removeRmiErrorListener, sendError, sendError, sendError, sendStatus, sendStatus, sendStatus |
| Methods inherited from class util.PropertyResources |
createFrom, createFrom, createFrom, getApplet, getAsResources, getLocalClassLoader, getPropertiesToKey, getPropertiesToKey, getResource, getResourceAsStream, getResourceFromKey, getResources, keyCreate, keyCreate, reload, setApplet |
| Methods inherited from class util.PropertyContainer |
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, reload, removeProperty, rescanned, setObject, setProperties, setProperty, stringProperties, toString |
| Methods inherited from interface util.PropertySupplying |
defaultBoolean, 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, stringProperties |
pilar
private Pilar3Socket pilar
PilarLauncher
public PilarLauncher(Map prop)
init
public void init()
- Description copied from class:
PropertyResources
- Loads URL-resources, if there are any.
- Specified by:
init in interface Initializable- Overrides:
init in class PropertyResources
castCommand
public void castCommand(CommandEvent ce)
- Description copied from interface:
CommandLaunching
- The interface to the command casting routine.
recastCommand
public void recastCommand()
- Description copied from interface:
CommandLaunching
- Resends the last command, stops acknowledge/done waits.
announceInterest
public void announceInterest(ReplyEvent rpl)
- Description copied from interface:
ReplyDeliverer
- The method a reply subscriber calls to announce that it is interested
to be forwarded reply events matching re.
registerReplySubscriber
public void registerReplySubscriber(ReplySubscriber sub)
- Description copied from interface:
ReplyDeliverer
- Registers the reply subscriber. Only one reply subscriber may be
specified.
getExitCommand
public CommandEvent getExitCommand()
- Description copied from interface:
CommandLaunching
- Returns the command that should be sent on a server exit. If the master
mind dies (its VM exits), one of the last things it should do is send
this command to the servers, if they request these.
getShutdownCommand
public CommandEvent getShutdownCommand()
- Description copied from interface:
CommandLaunching
- Returns the command that initiates a shutdown on the device or prepares
it for a shutdown.
handles
public boolean handles(CommandEvent ce)
- Description copied from interface:
CommandLaunching
- Returns true if the caster can handles this command event.
getClientName
public String getClientName()
- Description copied from interface:
CommandLaunching
- Returns the name of this command launcher.
isReady
public boolean isReady()
- Description copied from interface:
CommandLaunching
- Returns true if the device is ready to receive commands.