All Downloads are FREE. Search and download functionalities are using the official Maven repository.

info.unterrainer.commons.opcuabrowser.parts.SubscriptionConfig Maven / Gradle / Ivy

The newest version!
package info.unterrainer.commons.opcuabrowser.parts;

import java.util.List;
import java.util.function.BiConsumer;
import java.util.function.Supplier;

import org.eclipse.milo.opcua.sdk.client.api.subscriptions.UaMonitoredItem;
import org.eclipse.milo.opcua.sdk.client.api.subscriptions.UaSubscription;
import org.eclipse.milo.opcua.sdk.client.api.subscriptions.UaSubscriptionManager.SubscriptionListener;
import org.eclipse.milo.opcua.stack.core.types.builtin.DataValue;
import org.eclipse.milo.opcua.stack.core.types.builtin.StatusCode;

import lombok.Builder;
import lombok.Data;
import lombok.experimental.Accessors;

@Data
@Builder
@Accessors(fluent = true)
public class SubscriptionConfig {

	private int publishingInterval;
	final int samplingInterval;
	final int queueSize;
	private BiConsumer onSubscriptionValue;
	private SubscriptionListener subscriptionListener;
	private BiConsumer onSubscriptionTransferFailed;
	private Supplier> getNodeIds;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy