Framework Professional Edition Package


org.mbs.services.device.abstractdriver
Class AbstractDeviceController

java.lang.Object
  extended by org.mbs.services.device.abstractdriver.AbstractDeviceController

public abstract class AbstractDeviceController
extends java.lang.Object

This class is used for super class for all Device controller implementation classes.

Since:
$Date: 2004/11/03 12:21:49 $
Author:
Stoyan Zoubev

Field Summary
static java.lang.String ACTION_SET_ADDITIONAL_NAME
          Constant for "setAdditionalName" action id.
static java.lang.String COMP_NAME
          Constant used for logging
protected  java.lang.Object device
          Reference to the underlying device service
 java.lang.String DRIVER
          Constant used for logging
protected  ControlUnitModel model
          Reference to the corresponding ControlUnitModel instance
 
Constructor Summary
AbstractDeviceController(java.lang.Object device)
          Constructor for the controller.
 
Method Summary
 void _cu_setAdditionalName(java.lang.String name)
           
 void release()
          Release the controller.
protected  void setModel(ControlUnitModel model)
          Sets the model reference.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION_SET_ADDITIONAL_NAME

public static final java.lang.String ACTION_SET_ADDITIONAL_NAME
Constant for "setAdditionalName" action id.

See Also:
Constant Field Values

COMP_NAME

public static final java.lang.String COMP_NAME
Constant used for logging

See Also:
Constant Field Values

DRIVER

public java.lang.String DRIVER
Constant used for logging


model

protected ControlUnitModel model
Reference to the corresponding ControlUnitModel instance


device

protected java.lang.Object device
Reference to the underlying device service

Constructor Detail

AbstractDeviceController

public AbstractDeviceController(java.lang.Object device)
Constructor for the controller.

Parameters:
device - the underlying device service
Method Detail

release

public void release()
Release the controller. All used resources are freed.


setModel

protected void setModel(ControlUnitModel model)
Sets the model reference.

Parameters:
model - reference to the AbstractCommonModel instance

_cu_setAdditionalName

public void _cu_setAdditionalName(java.lang.String name)
                           throws java.lang.Exception
Throws:
java.lang.Exception

Framework Professional Edition Package


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