| Modifier and Type | Field and Description |
|---|---|
protected static String |
DEFAULT_CONFIG_PATH |
protected static org.slf4j.Logger |
LOG |
protected eu.vicci.process.distribution.core.PeerProfile |
peerProfile |
protected ws.wamp.jawampa.WampClient |
serverClient |
| Constructor and Description |
|---|
SuperPeer(eu.vicci.process.engine.core.IProcessManager processManager) |
SuperPeer(eu.vicci.process.engine.core.IProcessManager processManager,
eu.vicci.process.client.core.IConfigurationReader configReader) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addBaseInfosToPeerProfile(eu.vicci.process.distribution.core.PeerProfile profile) |
protected void |
createFeedbackServiceMonitor() |
protected eu.vicci.process.distribution.core.PeerProfile |
createPeerProfile() |
protected String |
getIpSafe() |
eu.vicci.process.distribution.core.PeerProfile |
getPeerProfile() |
protected void |
publishPeerMetrics() |
protected void |
publishPeerStatus() |
protected void |
registerPeer()
register the peer on the super peer after the server client has connected
|
protected void |
registerProcedure(String rpcId,
AbstractRpcHandler handler) |
protected void |
registerRpcHandlers() |
void |
start() |
protected void |
startClient(String port,
String namespace,
String realmName) |
protected void |
startClient(String ip,
String port,
String namespace,
String realmName) |
protected void |
startRouter(String port,
String namespace,
String realmName) |
void |
stop() |
protected void |
stopRouter() |
protected static final org.slf4j.Logger LOG
protected static final String DEFAULT_CONFIG_PATH
protected final eu.vicci.process.distribution.core.PeerProfile peerProfile
protected ws.wamp.jawampa.WampClient serverClient
public SuperPeer(eu.vicci.process.engine.core.IProcessManager processManager,
eu.vicci.process.client.core.IConfigurationReader configReader)
public SuperPeer(eu.vicci.process.engine.core.IProcessManager processManager)
protected eu.vicci.process.distribution.core.PeerProfile createPeerProfile()
protected void addBaseInfosToPeerProfile(eu.vicci.process.distribution.core.PeerProfile profile)
public void stop()
protected void stopRouter()
public void start()
throws ws.wamp.jawampa.ApplicationError
ws.wamp.jawampa.ApplicationErrorpublic eu.vicci.process.distribution.core.PeerProfile getPeerProfile()
protected void registerPeer()
protected void startClient(String ip, String port, String namespace, String realmName) throws ws.wamp.jawampa.ApplicationError
ws.wamp.jawampa.ApplicationErrorprotected void startClient(String port, String namespace, String realmName) throws ws.wamp.jawampa.ApplicationError
ws.wamp.jawampa.ApplicationErrorprotected void startRouter(String port, String namespace, String realmName) throws ws.wamp.jawampa.ApplicationError
ws.wamp.jawampa.ApplicationErrorprotected void registerRpcHandlers()
protected void registerProcedure(String rpcId, AbstractRpcHandler handler)
protected void createFeedbackServiceMonitor()
protected String getIpSafe()
protected void publishPeerMetrics()
protected void publishPeerStatus()
Copyright © 2018. All rights reserved.