Package org.openmuc.jdlms
Class CosemInterfaceObject
- java.lang.Object
-
- org.openmuc.jdlms.CosemInterfaceObject
-
- Direct Known Subclasses:
CosemSnInterfaceObject
public abstract class CosemInterfaceObject extends java.lang.Object
Any COSEM object must inherit this abstract class.- See Also:
CosemClass
,CosemSnInterfaceObject
-
-
Constructor Summary
Constructors Constructor Description CosemInterfaceObject(java.lang.String instanceId)
Creates a COSEM object with the corresponding instance ID.CosemInterfaceObject(java.lang.String instanceId, DlmsInterceptor interceptor)
Creates a COSEM object with the corresponding instance ID.CosemInterfaceObject(ObisCode instanceId)
Creates a COSEM object with the corresponding instance ID.CosemInterfaceObject(ObisCode instanceId, DlmsInterceptor interceptor)
Creates a COSEM object with the corresponding instance ID.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObisCode
getInstanceId()
Get the instance ID of the COSEM class.DlmsInterceptor
getInterceptor()
Get the list of DLMS interceptor of the current CosemInterfaceObject
-
-
-
Constructor Detail
-
CosemInterfaceObject
public CosemInterfaceObject(java.lang.String instanceId, DlmsInterceptor interceptor)
Creates a COSEM object with the corresponding instance ID.- Parameters:
instanceId
- the string instance ID.interceptor
- the interceptor intercepting xDLMS GET/SET/ACTION services.
-
CosemInterfaceObject
public CosemInterfaceObject(java.lang.String instanceId)
Creates a COSEM object with the corresponding instance ID.- Parameters:
instanceId
- the string instance ID.
-
CosemInterfaceObject
public CosemInterfaceObject(ObisCode instanceId, DlmsInterceptor interceptor)
Creates a COSEM object with the corresponding instance ID.- Parameters:
instanceId
- the OBIS code instance ID.interceptor
- the interceptor intercepting xDLMS GET/SET/ACTION services.
-
CosemInterfaceObject
public CosemInterfaceObject(ObisCode instanceId)
Creates a COSEM object with the corresponding instance ID.- Parameters:
instanceId
- the OBIS code instance ID.
-
-
Method Detail
-
getInterceptor
public final DlmsInterceptor getInterceptor()
Get the list of DLMS interceptor of the current CosemInterfaceObject- Returns:
- the interceptor intercepting xDLMS GET/SET/ACTION services.
-
getInstanceId
public final ObisCode getInstanceId()
Get the instance ID of the COSEM class.- Returns:
- the instance ID as OBIS code.
-
-