pcap.spi.option.DefaultOfflineOptions Maven / Gradle / Ivy
/*
* Copyright (c) 2020-2021 Pcap Project
* SPDX-License-Identifier: MIT OR Apache-2.0
*/
package pcap.spi.option;
import pcap.spi.Service;
import pcap.spi.Timestamp;
import pcap.spi.annotation.Version;
/**
* {@inheritDoc}
*
* @since 1.0.0
*/
public class DefaultOfflineOptions implements Service.OfflineOptions {
private Timestamp.Precision timestampPrecision;
/** {@inheritDoc} */
@Version(major = 1, minor = 5, patch = 0)
@Override
public Timestamp.Precision timestampPrecision() {
return timestampPrecision;
}
/** {@inheritDoc} */
@Version(major = 1, minor = 5, patch = 0)
@Override
public Service.OfflineOptions timestampPrecision(Timestamp.Precision timestampPrecision) {
this.timestampPrecision = timestampPrecision;
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy