Class VpnOpDataSyncer


  • @Singleton
    public class VpnOpDataSyncer
    extends java.lang.Object
    Aims to provide a common synchronization point for all those classes that want to know when certain type of Operational data is ready for a given VPN, and those others that can notify that the Operational data is ready.
    • Constructor Detail

      • VpnOpDataSyncer

        public VpnOpDataSyncer()
    • Method Detail

      • waitForVpnDataReady

        public boolean waitForVpnDataReady​(VpnOpDataSyncer.VpnOpDataType vpnOpDataType,
                                           java.lang.String vpnName,
                                           long maxWaitMillis,
                                           int maxAttempts)
      • waitForVpnDataReady

        public boolean waitForVpnDataReady​(VpnOpDataSyncer.VpnOpDataType dataType,
                                           java.lang.String vpnName,
                                           long maxWaitMillis)