Package org.openmuc.jdlms
Interface DlmsInterceptor
-
public interface DlmsInterceptor
A interceptor interface used to intercept xDLMS services of a COSEM object.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataObject
intercept(DlmsInvocationContext ctx)
Intercept all xDLMS GET, SET and ACTION services, except the get for attribute ID 1 (logical name/ instance ID).
-
-
-
Method Detail
-
intercept
DataObject intercept(DlmsInvocationContext ctx) throws DlmsAccessException
Intercept all xDLMS GET, SET and ACTION services, except the get for attribute ID 1 (logical name/ instance ID).- Parameters:
ctx
- the invocation context.- Returns:
- the result of the invocation. Return the result of DlmsInvocationContext.proceed()
- Throws:
DlmsAccessException
- if DlmsInvocationContext.proceed() throws an exception (meaning the actual method), this can be forwarded.
-
-