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.ProtocolMetrics -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intfinal intprotected final pt.unl.fct.di.novasys.network.data.Hostfinal shortstatic final shortstatic final Stringfinal longFields inherited from class pt.unl.fct.di.novasys.babel.core.GenericProtocol
babel -
Constructor Summary
ConstructorsConstructorDescriptionEagerPushGossipBroadcast(String channelName, Properties properties, pt.unl.fct.di.novasys.network.data.Host myself) -
Method Summary
Methods inherited from class pt.unl.fct.di.novasys.babel.core.GenericProtocol
cancelTimer, closeConnection, closeConnection, closeConnection, createChannel, deliverMessageIn, getMetrics, getMillisSinceBabelStart, getProtoId, getProtoName, hasProtocolThreadStarted, 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, startEventThread, subscribeNotification, triggerNotification, unsubscribeNotification
-
Field Details
-
PROTOCOL_ID
public static final short PROTOCOL_ID- See Also:
-
PROTOCOL_NAME
- See Also:
-
fanout
public final int fanout -
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 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:
IOExceptionpt.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:
initin classpt.unl.fct.di.novasys.babel.core.GenericProtocol- Throws:
pt.unl.fct.di.novasys.babel.exceptions.HandlerRegistrationExceptionIOException
-