Framework Professional Edition Package


org.mbs.services.cu
Interface StateVariableBatchListener

All Superinterfaces:
StateVariableListener
All Known Subinterfaces:
CUAdminCallback

public interface StateVariableBatchListener
extends StateVariableListener

This interface is an extention to the StateVariableListener which allows applications, that implement it, to receive events for multiple state variables' changes, which happened simultaneously for a given control unit, in a single batch.
A control unit may signal for such simultaneous changes through the stateVariablesChanged methods of CUAdminCallback.
Additionaly, if an application implements this interface and has registered to receive initial state variables' values (i.e. it has StateVariableListener.RECEIVE_VALUES_ON_REGISTER property in its service registration properties) it will received the initial values in a single batch per control unit.

Author:
Nickola Jetchev

Field Summary
 
Fields inherited from interface org.mbs.services.cu.StateVariableListener
RECEIVE_VALUES_ON_REGISTER
 
Method Summary
 void stateVariablesChanged(java.lang.String controlUnitType, java.lang.String controlUnitID, java.util.Dictionary newValues)
          The callback method through which the batch of state variables' values is received.
 
Methods inherited from interface org.mbs.services.cu.StateVariableListener
stateVariableChanged
 

Method Detail

stateVariablesChanged

void stateVariablesChanged(java.lang.String controlUnitType,
                           java.lang.String controlUnitID,
                           java.util.Dictionary newValues)
The callback method through which the batch of state variables' values is received.

Parameters:
controlUnitType - Control Unit type.
controlUnitID - id of the Control Unit which state variables' values are received.
newValues - a dictionary containing (state variable ID, state variable value) pairs

Framework Professional Edition Package


Copyright © 1999-2007 ProSyst Software GmbH. All Rights Reserved