stella.error
Class ResendCommandFinalizer
java.lang.Object
util.PropertyContainer
util.PropertyResources
util.PropertyBundles
stella.AbstractErrorFinalizer
stella.error.ResendCommandFinalizer
- All Implemented Interfaces:
- Cloneable, ErrorFinalizing, Initializable, LocalizedSupplying, PropertySupplying, ResourceSupplying
public class ResendCommandFinalizer
- extends AbstractErrorFinalizer
Handles the ErrorEvent.RESEND_COMMAND follow-up.
| Methods inherited from class util.PropertyResources |
createFrom, createFrom, createFrom, getApplet, getAsResources, getLocalClassLoader, getPropertiesToKey, getPropertiesToKey, getResource, getResourceAsStream, getResourceFromKey, getResources, init, 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 |
ResendCommandFinalizer
public ResendCommandFinalizer(Map prop)
- Constructs a new resend-command finalizer with certain properties.
getFollowUp
public String getFollowUp()
- Returns the follow-up this finalizer deals with.
finalizeError
public boolean finalizeError(TargetDefinition ignore,
ErrorEvent occur,
CommandLaunching[] servers,
Sequencing dummy,
ParameterClustering set)
- Handles a protocol error. The
CommandLaunching instance that
generated the error is simply asked to resend the entire command.
isFinalizing
public boolean isFinalizing()
- This error finalizer is threadless, so it's
finalizeError(stella.TargetDefinition, stella.ErrorEvent, stella.CommandLaunching[], stella.Sequencing, stella.ParameterClustering)
method
is blocking. This method always returns false.