Class EagerPushGossipBroadcast

java.lang.Object
pt.unl.fct.di.novasys.babel.core.GenericProtocol
pt.unl.fct.di.novasys.babel.protocols.eagerpush.EagerPushGossipBroadcast

public class EagerPushGossipBroadcast extends pt.unl.fct.di.novasys.babel.core.GenericProtocol
  • 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 boolean
     
    static final boolean
     
    final int
     
    final boolean
     
    protected final pt.unl.fct.di.novasys.network.data.Host
     
    final int
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final String
     
    static final short
     
    static final String
     
    final long
     
    final boolean
     

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

    babel, babelSecurity
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    pt.unl.fct.di.novasys.network.data.Host
     
    void
     

    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

    • PROTOCOL_ID

      public static final short PROTOCOL_ID
      See Also:
    • PROTOCOL_NAME

      public static final String PROTOCOL_NAME
      See Also:
    • PAR_CHANNEL_ADDRESS

      public static final String PAR_CHANNEL_ADDRESS
      See Also:
    • PAR_CHANNEL_PORT

      public static final String PAR_CHANNEL_PORT
      See Also:
    • PAR_FANOUT

      public static final String PAR_FANOUT
      See Also:
    • DEFAULT_FANOUT

      public static final String DEFAULT_FANOUT
      See Also:
    • PAR_DELIVERY_TIMEOUT

      public static final String PAR_DELIVERY_TIMEOUT
      See Also:
    • DEFAULT_DELIVERY_TIEMEOUT

      public static final String DEFAULT_DELIVERY_TIEMEOUT
      See Also:
    • PAR_SUPPORT_ANTIENTROPHY

      public static final String PAR_SUPPORT_ANTIENTROPHY
      See Also:
    • DEFAULT_SUPPORT_ANTIENTROPHY

      public static final boolean DEFAULT_SUPPORT_ANTIENTROPHY
      See Also:
    • PAR_LOCAL_SUPPORT

      public static final String PAR_LOCAL_SUPPORT
      See Also:
    • DEFAULT_LOCAL_SUPPORT

      public static final boolean DEFAULT_LOCAL_SUPPORT
      See Also:
    • fanout

      public final int fanout
    • removeTimeWindow

      public final long removeTimeWindow
    • networkPort

      public final int networkPort
    • supportAntiEntrophy

      public final boolean supportAntiEntrophy
    • localSupport

      public final boolean localSupport
    • channelId

      protected int channelId
    • myself

      protected final pt.unl.fct.di.novasys.network.data.Host myself
  • Constructor Details

    • EagerPushGossipBroadcast

      public EagerPushGossipBroadcast(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 props) 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
    • getHost

      public pt.unl.fct.di.novasys.network.data.Host getHost()