public class SnClientConnection extends ClientConnection
Modifier and Type | Method and Description |
---|---|
java.util.List<MethodResult> |
action(boolean highPriority,
MethodParameter... params)
Requests the remote smart meter to call one or several methods with or without committed parameters
|
protected int |
buildContextId() |
java.util.List<GetResult> |
get(boolean highPriority,
AttributeAddress... params)
Requests the remote smart meter to send the values of one or several attributes
|
protected byte[] |
hlsAuthentication(byte[] processedChallenge) |
protected void |
processPdu(org.openmuc.jdlms.internal.asn1.cosem.COSEMpdu pdu) |
protected org.openmuc.jdlms.internal.asn1.cosem.Conformance |
proposedConformance() |
java.util.List<AccessResultCode> |
set(boolean highPriority,
SetParameter... params)
Requests the remote smart meter to set one or several attributes to the committed values
|
protected void |
validateReferencingMethod() |
action, changeClientGlobalAuthenticationKey, changeClientGlobalEncryptionKey, close, confirmedModeEnabled, connectionInterrupted, connectionSettings, dataReceived, disconnect, disconnect, get, invokeIdAndPriorityFor, maxSendPduSize, negotiatedFeatures, send, set
public java.util.List<GetResult> get(boolean highPriority, AttributeAddress... params) throws java.io.IOException
ClientConnection
get
in class ClientConnection
highPriority
- if true: sends this request with high priority, if supportedparams
- Varargs of specifiers which attributes to send (See AttributeAddress
)java.io.IOException
- if the connection breakspublic java.util.List<AccessResultCode> set(boolean highPriority, SetParameter... params) throws java.io.IOException
ClientConnection
set
in class ClientConnection
highPriority
- Sends this request with high priority, if supportedparams
- Varargs of specifier which attributes to set to which values (See SetParameter
)java.io.IOException
- throws IOExceptionpublic java.util.List<MethodResult> action(boolean highPriority, MethodParameter... params) throws java.io.IOException
ClientConnection
action
in class ClientConnection
highPriority
- Sends this request with high priority, if supportedparams
- List of specifier which methods to be called and, if needed, what parameters to call (See
MethodParameter
java.io.IOException
- if the connection breaks, while requestingprotected void processPdu(org.openmuc.jdlms.internal.asn1.cosem.COSEMpdu pdu)
processPdu
in class ClientConnection
protected org.openmuc.jdlms.internal.asn1.cosem.Conformance proposedConformance()
proposedConformance
in class ClientConnection
protected byte[] hlsAuthentication(byte[] processedChallenge) throws java.io.IOException
hlsAuthentication
in class ClientConnection
java.io.IOException
protected void validateReferencingMethod() throws java.io.IOException
validateReferencingMethod
in class ClientConnection
java.io.IOException
protected int buildContextId()
buildContextId
in class ClientConnection