Class SetClearMemAction

  extended by com.biocomfort.SDK.actions.SetClearMemAction
All Implemented Interfaces:

public class SetClearMemAction
extends java.lang.Object
implements SDKAction

Defines a clear memory action that can be used to customize the devices binding or unbinding process. Use the SDK methods setBindingAction(SDKAction), setBindingAction(SDKAction,int), setUnbindingAction(SDKAction), setUnbindingAction(SDKAction,int) to do this. To execute multiple actions use the SequenceAction.

See Also:
SDK.setBindingAction(SDKAction), SDK.setBindingAction(SDKAction, int), SDK.setUnbindingAction(SDKAction), SDK.setUnbindingAction(SDKAction, int), SequenceAction, SDK.setDeviceClearMem(MedicalDeviceTO)

Constructor Summary
SetClearMemAction(SDK sdk)
          Creates a new SetClearMemAction instance and initialize it with the given SDK instance.
Method Summary
 boolean runForDeviceAndWait(MedicalDeviceTO medicalDevice)
          Executes the SDK method setDeviceClearMemAndWait(MedicalDeviceTO).
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public SetClearMemAction(SDK sdk)
Creates a new SetClearMemAction instance and initialize it with the given SDK instance.

sdk - a started instance of the SDK
Method Detail


public boolean runForDeviceAndWait(MedicalDeviceTO medicalDevice)
Executes the SDK method setDeviceClearMemAndWait(MedicalDeviceTO).

Note: This is a synchronous method that will block the executing thread until it is succdessfully executed or an error occures.

Specified by:
runForDeviceAndWait in interface SDKAction
medicalDevice - the medical device with which this actions will be executed
returns true if the action was executed successfully.
See Also: