| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectobix.Obj
obix.Ref
obixserver.core.InvocationObj
obixserver.core.alarm.AlarmImpl
public class AlarmImpl
Alarm implementation for a generic alarm service.
| Field Summary | |
|---|---|
| private static long | alarmIdCounterUsed to generate pseudo unique ids. | 
| private  obix.Abstime | normalTimestamp | 
| private  obix.Ref | ref | 
| private  obix.Abstime | timestamp | 
| private  obix.Obj | value | 
| Fields inherited from class obixserver.core.InvocationObj | 
|---|
| objBroker | 
| Fields inherited from interface obix.contracts.StatefulAlarm | 
|---|
| normalTimestampContract | 
| Constructor Summary | |
|---|---|
| AlarmImpl(obix.Obj obj) | |
| Method Summary | |
|---|---|
|  obix.Obj | alarmValue() | 
| private static String | generateId()Generates an id. | 
|  obix.Abstime | normalTimestamp() | 
|  obix.Ref | source() | 
|  obix.Abstime | timestamp() | 
| Methods inherited from class obixserver.core.InvocationObj | 
|---|
| getOp, invoke, setObjBroker | 
| Methods inherited from class obix.Ref | 
|---|
| getElement, getResolved, isResolved, toString | 
| Methods inherited from class obix.Obj | 
|---|
| add, add, addAll, dump, get, getBool, getChildHref, getDisplay, getDisplayName, getHref, getIcon, getInt, getIs, getName, getNormalizedHref, getParent, getReal, getRoot, getStatus, getStr, has, is, is, isAbstime, isBool, isEnum, isErr, isFeed, isInt, isList, isNull, isOp, isReal, isRef, isReltime, isStr, isUri, isVal, isWritable, list, list, remove, removeThis, replace, setBool, setDisplay, setDisplayName, setHref, setIcon, setInt, setIs, setName, setNull, setReal, setStatus, setStr, setWritable, setWritable, size, toClass, toDisplayName, toDisplayString, toObj | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
private obix.Ref ref
private obix.Abstime timestamp
private obix.Abstime normalTimestamp
private obix.Obj value
private static long alarmIdCounter
| Constructor Detail | 
|---|
public AlarmImpl(obix.Obj obj)
| Method Detail | 
|---|
public obix.Ref source()
source in interface obix.contracts.Alarmpublic obix.Abstime timestamp()
timestamp in interface obix.contracts.Alarmpublic obix.Obj alarmValue()
alarmValue in interface obix.contracts.PointAlarmpublic obix.Abstime normalTimestamp()
normalTimestamp in interface obix.contracts.StatefulAlarmprivate static String generateId()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||