Package org.openmuc.jdlms
Class ConnectionBuilder.SettingsImpl
- java.lang.Object
-
- org.openmuc.jdlms.ConnectionBuilder.SettingsImpl
-
- All Implemented Interfaces:
Settings
- Direct Known Subclasses:
SerialConnectionBuilder.HdlcSettingsImpl
,TcpConnectionBuilder.TcpSettingsImpl
- Enclosing class:
- ConnectionBuilder<T extends ConnectionBuilder<T>>
protected abstract class ConnectionBuilder.SettingsImpl extends java.lang.Object implements Settings
This Settings can be overridden by an implementing Settings.
-
-
Constructor Summary
Constructors Constructor Description SettingsImpl(ConnectionBuilder<?> builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
alwaysSendSecurityMechanismName()
int
challengeLength()
int
clientId()
long
frameCounter()
int
hdlcMaxInformationLength()
int
logicalDeviceId()
int
physicalDeviceId()
RawMessageListener
rawMessageListener()
ReferencingMethod
referencingMethod()
int
responseTimeout()
SecuritySuite
securitySuite()
boolean
skipAARQEncryption()
byte[]
systemTitle()
void
updateAuthenticationKey(byte[] authenticationKey)
void
updateGlobalEncryptionKey(byte[] globalEncryptionKey)
int
userId()
-
-
-
Constructor Detail
-
SettingsImpl
public SettingsImpl(ConnectionBuilder<?> builder)
-
-
Method Detail
-
referencingMethod
public ReferencingMethod referencingMethod()
- Specified by:
referencingMethod
in interfaceSettings
-
securitySuite
public SecuritySuite securitySuite()
- Specified by:
securitySuite
in interfaceSettings
-
challengeLength
public int challengeLength()
- Specified by:
challengeLength
in interfaceSettings
-
frameCounter
public long frameCounter()
- Specified by:
frameCounter
in interfaceSettings
-
systemTitle
public byte[] systemTitle()
- Specified by:
systemTitle
in interfaceSettings
-
responseTimeout
public int responseTimeout()
- Specified by:
responseTimeout
in interfaceSettings
-
logicalDeviceId
public int logicalDeviceId()
- Specified by:
logicalDeviceId
in interfaceSettings
-
physicalDeviceId
public int physicalDeviceId()
- Specified by:
physicalDeviceId
in interfaceSettings
-
rawMessageListener
public RawMessageListener rawMessageListener()
- Specified by:
rawMessageListener
in interfaceSettings
-
updateAuthenticationKey
public void updateAuthenticationKey(byte[] authenticationKey)
- Specified by:
updateAuthenticationKey
in interfaceSettings
-
updateGlobalEncryptionKey
public void updateGlobalEncryptionKey(byte[] globalEncryptionKey)
- Specified by:
updateGlobalEncryptionKey
in interfaceSettings
-
hdlcMaxInformationLength
public int hdlcMaxInformationLength()
- Specified by:
hdlcMaxInformationLength
in interfaceSettings
-
alwaysSendSecurityMechanismName
public boolean alwaysSendSecurityMechanismName()
- Specified by:
alwaysSendSecurityMechanismName
in interfaceSettings
-
skipAARQEncryption
public boolean skipAARQEncryption()
- Specified by:
skipAARQEncryption
in interfaceSettings
-
-