org.tango.server.device
Class DeviceLocker

java.lang.Object
  extended by org.tango.server.device.DeviceLocker

public final class DeviceLocker
extends java.lang.Object

Manage a tango device synchronization.

Author:
ABEILLE
See Also:
TransactionType

Constructor Summary
DeviceLocker(TransactionType txType, java.lang.Class<?> deviceClass)
          Ctr
 
Method Summary
 java.lang.Object getAttributeLock()
           
 java.lang.Object getCommandLock()
           
 TransactionType getTxType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeviceLocker

public DeviceLocker(TransactionType txType,
                    java.lang.Class<?> deviceClass)
Ctr

Parameters:
txType - lock type
deviceClass - the class to lock
Method Detail

getAttributeLock

public java.lang.Object getAttributeLock()

getCommandLock

public java.lang.Object getCommandLock()

getTxType

public TransactionType getTxType()


Copyright © 2012-2015. All Rights Reserved.