org.tango.server.device
Class InitImpl

java.lang.Object
  extended by org.tango.server.DeviceBehaviorObject
      extended by org.tango.server.device.InitImpl

public final class InitImpl
extends DeviceBehaviorObject

Managed the initialization of a device.

Author:
ABEILLE
See Also:
Init

Constructor Summary
InitImpl(java.lang.String deviceName, java.lang.reflect.Method initMethod, boolean isLazy, java.lang.Object businessObject, PollingManager pollingManager)
          Ctr
 
Method Summary
 void execute(StateImpl stateImpl, StatusImpl statusImpl)
          Execute the init
 boolean isInitDoneCorrectly()
          Get the init result
 boolean isInitInProgress()
          Get the init progress
 void setPollingManager(PollingManager pollingManager)
           
 java.lang.String toString()
           
 
Methods inherited from class org.tango.server.DeviceBehaviorObject
getDeniedStates, getEndState, isAllowed, setDeniedStates, setEndState, setStateMachine
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InitImpl

public InitImpl(java.lang.String deviceName,
                java.lang.reflect.Method initMethod,
                boolean isLazy,
                java.lang.Object businessObject,
                PollingManager pollingManager)
Ctr

Parameters:
initMethod -
isLazy -
businessObject -
Method Detail

setPollingManager

public void setPollingManager(PollingManager pollingManager)

execute

public void execute(StateImpl stateImpl,
                    StatusImpl statusImpl)
Execute the init

Parameters:
stateImpl -
statusImpl -
Throws:
fr.esrf.Tango.DevFailed

isInitInProgress

public boolean isInitInProgress()
Get the init progress

Returns:
true if init is in progress

isInitDoneCorrectly

public boolean isInitDoneCorrectly()
Get the init result

Returns:
true if init was done without errors

toString

public java.lang.String toString()
Overrides:
toString in class DeviceBehaviorObject
Returns:
a string


Copyright © 2012-2015. All Rights Reserved.