pt.unl.fct.dii.novasys.babel.protocols.floodbcast

Class FloodBroadcast

  • java.lang.Object
    • pt.unl.fct.di.novasys.babel.core.GenericProtocol
      • pt.unl.fct.dii.novasys.babel.protocols.floodbcast.FloodBroadcast


  • public class FloodBroadcast
    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.ProtocolMetrics
    • Constructor Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      void init(Properties props) 
      • Methods inherited from class pt.unl.fct.di.novasys.babel.core.GenericProtocol

        cancelTimer, closeConnection, closeConnection, closeConnection, createChannel, deliverMessageIn, getMetrics, getMillisSinceBabelStart, getProtoId, getProtoName, openConnection, openConnection, registerChannelEventHandler, registerMessageHandler, registerMessageHandler, registerMessageHandler, registerMessageHandler, registerMessageSerializer, registerMetric, registerReplyHandler, registerRequestHandler, registerSharedChannel, registerTimerHandler, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendReply, sendRequest, setDefaultChannel, setupPeriodicTimer, setupTimer, start, subscribeNotification, triggerNotification, unsubscribeNotification
    • Field Detail

      • removeTimeWindow

        public final long removeTimeWindow
      • networkPort

        public final short networkPort
      • channelId

        protected int channelId
      • myself

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

      • FloodBroadcast

        public FloodBroadcast(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 Detail

      • 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

Copyright © 2024. All rights reserved.