public class WebGraphGuiSystem
extends de.tum.ei.lkn.eces.core.RootSystem
| Constructor and Description |
|---|
WebGraphGuiSystem(de.tum.ei.lkn.eces.core.Controller controller,
ColoringSystem colSys)
Creates a new WebGraphGui System and starts webserver + Websocket-interface on standard port 80
|
WebGraphGuiSystem(de.tum.ei.lkn.eces.core.Controller controller,
ColoringSystem colSys,
int port) |
WebGraphGuiSystem(de.tum.ei.lkn.eces.core.Controller controller,
int port)
Creates a new WebGraphGui System and starts webserver + Websocket-interface
|
| Modifier and Type | Method and Description |
|---|---|
void |
addNewEdge(de.tum.ei.lkn.eces.graph.Edge newEdge) |
void |
addNewGraph(de.tum.ei.lkn.eces.graph.Graph newGraph) |
void |
addNewNode(de.tum.ei.lkn.eces.graph.Node newNode) |
void |
edgeDestroyed(de.tum.ei.lkn.eces.graph.Edge newEdge) |
void |
nodeDestroyed(de.tum.ei.lkn.eces.graph.Node newNode) |
void |
run()
Starts the NettyServer
|
void |
shutdownServerGracefully()
Use this function if NettyServer is to be shut down
|
void |
updatedComponent(de.tum.ei.lkn.eces.core.Component updatedComponent) |
void |
updatedEdge(de.tum.ei.lkn.eces.graph.Edge newEdge) |
void |
updatedNode(de.tum.ei.lkn.eces.graph.Node newNode) |
public WebGraphGuiSystem(de.tum.ei.lkn.eces.core.Controller controller,
ColoringSystem colSys)
controller - the controller of all running systems.public WebGraphGuiSystem(de.tum.ei.lkn.eces.core.Controller controller,
int port)
controller - the controller of all running systems.port - port to access webpage frompublic WebGraphGuiSystem(de.tum.ei.lkn.eces.core.Controller controller,
ColoringSystem colSys,
int port)
public void shutdownServerGracefully()
public void addNewNode(de.tum.ei.lkn.eces.graph.Node newNode)
public void updatedNode(de.tum.ei.lkn.eces.graph.Node newNode)
public void nodeDestroyed(de.tum.ei.lkn.eces.graph.Node newNode)
public void addNewEdge(de.tum.ei.lkn.eces.graph.Edge newEdge)
public void updatedEdge(de.tum.ei.lkn.eces.graph.Edge newEdge)
public void edgeDestroyed(de.tum.ei.lkn.eces.graph.Edge newEdge)
public void addNewGraph(de.tum.ei.lkn.eces.graph.Graph newGraph)
public void updatedComponent(de.tum.ei.lkn.eces.core.Component updatedComponent)
Copyright © 2021. All rights reserved.