public class HyParView
extends pt.unl.fct.di.novasys.babel.core.GenericProtocol
| Modifier and Type | Field and Description |
|---|---|
protected IView |
active |
protected int |
channelId |
protected pt.unl.fct.di.novasys.network.data.Host |
myself |
static String |
PAR_ACTIVE_VIEW_SIZE |
static String |
PAR_ARWL |
static String |
PAR_CHANNEL_ADDRESS |
static String |
PAR_CHANNEL_PORT |
static String |
PAR_CHECK_CONNECTIVITY_PERIOD |
static String |
PAR_CONTACT |
static String |
PAR_K_A |
static String |
PAR_K_P |
static String |
PAR_PASSIVE_VIEW_SIZE |
static String |
PAR_PRWL |
static String |
PAR_SHUFFLE_PERIOD |
protected IView |
passive |
protected Set<pt.unl.fct.di.novasys.network.data.Host> |
pending |
static short |
PROTOCOL_ID |
static String |
PROTOCOL_NAME |
protected Random |
rnd |
| Constructor and Description |
|---|
HyParView(String channelName,
Properties properties,
pt.unl.fct.di.novasys.network.data.Host myself) |
| Modifier and Type | Method and Description |
|---|---|
int |
getChannel() |
protected void |
handleDropFromActive(pt.unl.fct.di.novasys.network.data.Host dropped) |
void |
init(Properties props) |
cancelTimer, closeConnection, closeConnection, closeConnection, createChannel, deliverMessageIn, enableGenericMetrics, 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, unsubscribeNotificationpublic static final short PROTOCOL_ID
public static final String PROTOCOL_NAME
protected int channelId
protected final pt.unl.fct.di.novasys.network.data.Host myself
protected IView active
protected IView passive
protected Set<pt.unl.fct.di.novasys.network.data.Host> pending
protected final Random rnd
public static final String PAR_ACTIVE_VIEW_SIZE
public static final String PAR_PASSIVE_VIEW_SIZE
public static final String PAR_ARWL
public static final String PAR_PRWL
public static final String PAR_SHUFFLE_PERIOD
public static final String PAR_CHECK_CONNECTIVITY_PERIOD
public static final String PAR_K_A
public static final String PAR_K_P
public static final String PAR_CONTACT
public static final String PAR_CHANNEL_ADDRESS
public static final String PAR_CHANNEL_PORT
public HyParView(String channelName, Properties properties, pt.unl.fct.di.novasys.network.data.Host myself) throws IOException, pt.unl.fct.di.novasys.babel.exceptions.HandlerRegistrationException
IOExceptionpt.unl.fct.di.novasys.babel.exceptions.HandlerRegistrationExceptionpublic void init(Properties props) throws pt.unl.fct.di.novasys.babel.exceptions.HandlerRegistrationException, IOException
init in class pt.unl.fct.di.novasys.babel.core.GenericProtocolpt.unl.fct.di.novasys.babel.exceptions.HandlerRegistrationExceptionIOExceptionpublic int getChannel()
protected void handleDropFromActive(pt.unl.fct.di.novasys.network.data.Host dropped)
Copyright © 2024. All rights reserved.