Class AdaptiveEagerPushGossipBroadcast

java.lang.Object
pt.unl.fct.di.novasys.babel.core.GenericProtocol
pt.unl.fct.di.novasys.babel.core.DiscoverableProtocol
pt.unl.fct.di.novasys.babel.core.SelfConfigurableProtocol
pt.unl.fct.di.novasys.babel.core.adaptive.AdaptiveProtocol
pt.unl.fct.di.novasys.babel.protocols.eagerpush.AdaptiveEagerPushGossipBroadcast

public class AdaptiveEagerPushGossipBroadcast extends pt.unl.fct.di.novasys.babel.core.adaptive.AdaptiveProtocol
  • Nested Class Summary

    Nested classes/interfaces inherited from class pt.unl.fct.di.novasys.babel.core.GenericProtocol

    pt.unl.fct.di.novasys.babel.core.GenericProtocol.ProtocolMetricsBabelMetrics
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected int
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    int
     
    final int
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final short
     
    static final String
     
    long
     
     

    Fields inherited from class pt.unl.fct.di.novasys.babel.core.adaptive.AdaptiveProtocol

    adaptiveSetters

    Fields inherited from class pt.unl.fct.di.novasys.babel.core.GenericProtocol

    babel, babelSecurity
  • Constructor Summary

    Constructors
    Constructor
    Description
    AdaptiveEagerPushGossipBroadcast(String channelName, Properties properties, pt.unl.fct.di.novasys.network.data.Host myself)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addContact(pt.unl.fct.di.novasys.network.data.Host host)
     
    pt.unl.fct.di.novasys.network.data.Host
     
     
     
     
     
    void
    init(Properties properties)
     
    boolean
     
    boolean
     
    void
     
    void
     
    void
    setFirstRemoveTimeWindow(String removeTimeWindow)
     
    void
    setFirstSupportAntiEntrophy(String supportAntiEntrophy)
     
    void
     

    Methods inherited from class pt.unl.fct.di.novasys.babel.core.adaptive.AdaptiveProtocol

    getPopulatedAdaptiveFieldBuilder, registerRequestsHandlers, setReconfigurationChannel, setReconfigurationChannel, typeOrWrapper

    Methods inherited from class pt.unl.fct.di.novasys.babel.core.DiscoverableProtocol

    getMyself, setMyself

    Methods inherited from class pt.unl.fct.di.novasys.babel.core.GenericProtocol

    addSecret, addSecret, addSecret, addSecret, cancelTimer, closeConnection, closeConnection, closeConnection, closeConnection, closeConnection, closeConnection, createChannel, createSecureChannel, createSecureChannel, createSecureChannel, createSecureChannelWithAliases, createSecureChannelWithAliases, createSecureChannelWithIdentities, createSecureChannelWithIdentities, createSecureChannelWithProtoIdentities, enableGenericMetrics, generateIdentity, generateIdentity, generateIdentity, generateIdentity, generateIdentity, generateIdentity, generateIdentity, generateSecret, generateSecret, generateSecret, generateSecret, generateSecretFromPassword, generateSecretFromPassword, generateSecretFromPassword, generateSecretFromPassword, getChannelOrThrow, getDefaultChannel, getDefaultProtoIdentity, getDefaultProtoIdentityCrypt, getDefaultProtoSecret, getMillisSinceBabelStart, getOrGenerateDefaultProtoIdentity, getProtoId, getProtoName, hasProtocolThreadStarted, openConnection, openConnection, openConnection, openConnection, registerChannelEventHandler, registerMessageHandler, registerMessageHandler, registerMessageHandler, registerMessageHandler, registerMessageHandler, registerMessageHandler, registerMessageHandler, registerMessageHandler, registerMessageHandler, registerMessageHandler, registerMessageHandler, registerMessageHandler, registerMessageHandler, registerMessageHandler, registerMessageHandler, registerMessageHandler, registerMessageHandler, registerMessageHandler, registerMessageSerializer, registerMetric, registerReplyHandler, registerRequestHandler, registerSharedChannel, registerTimerHandler, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendReply, sendRequest, setDefaultChannel, setDefaultProtoIdentity, setDefaultProtoIdentity, setDefaultProtoSecret, setupPeriodicTimer, setupTimer, startEventThread, subscribeNotification, triggerNotification, unsubscribeNotification

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • AdaptiveEagerPushGossipBroadcast

      public AdaptiveEagerPushGossipBroadcast(String channelName, Properties properties, pt.unl.fct.di.novasys.network.data.Host myself) throws IOException, pt.unl.fct.di.novasys.babel.exceptions.HandlerRegistrationException
      Throws:
      IOException
      pt.unl.fct.di.novasys.babel.exceptions.HandlerRegistrationException
  • Method Details

    • init

      public void init(Properties properties) throws pt.unl.fct.di.novasys.babel.exceptions.HandlerRegistrationException, IOException
      Specified by:
      init in class pt.unl.fct.di.novasys.babel.core.GenericProtocol
      Throws:
      pt.unl.fct.di.novasys.babel.exceptions.HandlerRegistrationException
      IOException
    • setFanout

      public void setFanout(Integer fanout)
    • start

      public void start()
      Specified by:
      start in class pt.unl.fct.di.novasys.babel.core.DiscoverableProtocol
    • readyToStart

      public boolean readyToStart()
      Specified by:
      readyToStart in class pt.unl.fct.di.novasys.babel.core.DiscoverableProtocol
    • needsDiscovery

      public boolean needsDiscovery()
      Specified by:
      needsDiscovery in class pt.unl.fct.di.novasys.babel.core.DiscoverableProtocol
    • addContact

      public void addContact(pt.unl.fct.di.novasys.network.data.Host host)
      Specified by:
      addContact in class pt.unl.fct.di.novasys.babel.core.DiscoverableProtocol
    • getContact

      public pt.unl.fct.di.novasys.network.data.Host getContact()
      Specified by:
      getContact in class pt.unl.fct.di.novasys.babel.core.DiscoverableProtocol
    • getFirstFanout

      public String getFirstFanout()
    • getFirstRemoveTimeWindow

      public String getFirstRemoveTimeWindow()
    • getFirstSupportAntiEntrophy

      public String getFirstSupportAntiEntrophy()
    • setFirstFanout

      public void setFirstFanout(String fanout)
    • setFirstRemoveTimeWindow

      public void setFirstRemoveTimeWindow(String removeTimeWindow)
    • setFirstSupportAntiEntrophy

      public void setFirstSupportAntiEntrophy(String supportAntiEntrophy)
    • getHost

      public String getHost()
      Specified by:
      getHost in class pt.unl.fct.di.novasys.babel.core.SelfConfigurableProtocol