public class CUEvent
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected ControlUnitInfo |
cuInfo
Holds control unit data.
|
protected int |
eventType
Type of the event.
|
protected java.lang.String |
subscriptionId
Id of the event subscription in which scope the event notification is received.
|
protected java.lang.String |
typeVersion
Version of the control unit type this notification is about - this field is filled only
if the event type is
ControlUnitListener.CONTROL_UNIT_TYPE_APPEARED. |
| Constructor and Description |
|---|
CUEvent(java.lang.String subscriptionId,
int eventType,
ControlUnitInfo cuInfo,
java.lang.String version) |
| Modifier and Type | Method and Description |
|---|---|
ControlUnitInfo |
getCuInfo()
Returns a
ControlUnitInfo object holding control unit data. |
java.lang.String |
getCUType()
Returns the control unit type, this notification is about.
|
java.lang.String |
getCUTypeVersion()
Returns version of the control unit type this notification is about - this method is only applicable
if the event type is
ControlUnitListener.CONTROL_UNIT_TYPE_APPEARED. |
int |
getEventType()
Returns the event type.
|
java.lang.String |
getSubscriptionId()
Returns id of the event subscription in which scope the event notification is received.
|
protected java.lang.String subscriptionId
protected int eventType
ControlUnitListener interface.protected ControlUnitInfo cuInfo
protected java.lang.String typeVersion
ControlUnitListener.CONTROL_UNIT_TYPE_APPEARED.public CUEvent(java.lang.String subscriptionId,
int eventType,
ControlUnitInfo cuInfo,
java.lang.String version)
public java.lang.String getCUType()
public java.lang.String getCUTypeVersion()
ControlUnitListener.CONTROL_UNIT_TYPE_APPEARED.
Applications should not rely on this method to return proper indication
of the control unit type otherwise.public ControlUnitInfo getCuInfo()
ControlUnitInfo object holding control unit data.ControlUnitInfo object.public int getEventType()
ControlUnitListener interface.public java.lang.String getSubscriptionId()
Copyright © 2019 Bosch Software Innovations GmbH. All Rights Reserved.