Example usage for java.util Observable.OnSubscribe interface-usage

List of usage examples for java.util Observable.OnSubscribe interface-usage

Introduction

In this page you can find the example usage for java.util Observable.OnSubscribe interface-usage.

Usage

From source file ubicrypt.core.provider.lock.LockChecker.java

public class LockChecker implements Observable.OnSubscribe<LockStatus> {
    private static final Logger log = getLogger(LockChecker.class);
    private final int deviceId;
    private final Observable.OnSubscribe<ProviderLock> lockGetter;
    private final Function<ProviderLock, Observable<Boolean>> lockSetter;
    private final long durationLockMs;