gov.sns.jca
Class DbrStatusAdaptor

java.lang.Object
  |
  +--gov.sns.jca.DbrValueAdaptor
        |
        +--gov.sns.jca.DbrStatusAdaptor
All Implemented Interfaces:
StatusAdaptor, ValueAdaptor
Direct Known Subclasses:
DbrTimeAdaptor

public class DbrStatusAdaptor
extends DbrValueAdaptor
implements StatusAdaptor

Wrap a jca.dbr.DBR_STS record for high level access


Field Summary
 
Fields inherited from class gov.sns.jca.DbrValueAdaptor
_dbr, valueSelector
 
Constructor Summary
DbrStatusAdaptor(gov.aps.jca.dbr.DBR dbr)
          Creates a new instance of StatusAdaptor
 
Method Summary
 int severity()
          Get the channel severity
 int status()
          Get the channel status
 
Methods inherited from class gov.sns.jca.DbrValueAdaptor
getStore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface gov.sns.ca.ValueAdaptor
getStore
 

Constructor Detail

DbrStatusAdaptor

public DbrStatusAdaptor(gov.aps.jca.dbr.DBR dbr)
Creates a new instance of StatusAdaptor

Method Detail

status

public int status()
Get the channel status

Specified by:
status in interface StatusAdaptor
Returns:
channel status

severity

public int severity()
Get the channel severity

Specified by:
severity in interface StatusAdaptor
Returns:
channel severity