org.somda.sdc.biceps.common.access.ReadTransactionProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of biceps Show documentation
Show all versions of biceps Show documentation
SDCri is a set of Java libraries that implements a network communication framework conforming
with the IEEE 11073 SDC specifications. This project implements the functionality described in
IEEE 11073-10207.
package org.somda.sdc.biceps.common.access;
/**
* Defines an interface to declare a class capable of starting read transactions.
*/
public interface ReadTransactionProvider {
/**
* Starts a read transaction.
*
* Use the read transaction in an auto-closeable {@code try...} block in order to ensure releasing the lock that
* is gained before this function returns.
*
* @return a new locked MDIB access transaction to operate on (read-only).
*/
ReadTransaction startTransaction();
}