public interface WMBusConnection
extends java.lang.AutoCloseable
addKey(SecondaryAddress, byte[])| Modifier and Type | Interface and Description |
|---|---|
static class |
WMBusConnection.Builder |
static class |
WMBusConnection.WMBusManufacturer |
static class |
WMBusConnection.WMBusSerialBuilder |
static class |
WMBusConnection.WMBusTcpBuilder |
| Modifier and Type | Method and Description |
|---|---|
void |
addKey(SecondaryAddress address,
byte[] key)
Stores a pair of secondary address and cryptographic key.
|
void |
close()
Closes the service access point.
|
void |
removeKey(SecondaryAddress address)
Removes the stored key for the given secondary address.
|
void close()
throws java.io.IOException
close in interface java.lang.AutoCloseablejava.io.IOExceptionvoid addKey(SecondaryAddress address, byte[] key)
address - the secondary address.key - the cryptographic key.removeKey(SecondaryAddress)void removeKey(SecondaryAddress address)
address - the secondary address for which to remove the stored key.addKey(SecondaryAddress, byte[])