Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Simonstrator
PeerfactSim.KOM
Commits
62b25401
Commit
62b25401
authored
Dec 08, 2016
by
Björn Richerzhagen
Browse files
Made 5GDatabases available via Binder
parent
50d69bb1
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/de/tud/kom/p2psim/impl/topology/views/fiveg/AbstractGridBasedTopologyDatabase.java
View file @
62b25401
...
...
@@ -25,6 +25,7 @@ import java.util.Map;
import
de.tud.kom.p2psim.impl.topology.views.VisualizationTopologyView.VisualizationInjector
;
import
de.tud.kom.p2psim.impl.topology.views.visualization.world.FiveGVisualization
;
import
de.tudarmstadt.maki.simonstrator.api.Binder
;
import
de.tudarmstadt.maki.simonstrator.api.Event
;
import
de.tudarmstadt.maki.simonstrator.api.EventHandler
;
import
de.tudarmstadt.maki.simonstrator.api.Time
;
...
...
@@ -58,6 +59,7 @@ public abstract class AbstractGridBasedTopologyDatabase
*/
public
AbstractGridBasedTopologyDatabase
(
int
gridSize
,
boolean
supportCloudlets
)
{
Binder
.
registerComponent
(
this
);
this
.
gridSize
=
gridSize
;
this
.
cloudEntries
=
new
LinkedHashMap
<>();
this
.
cloudletEntries
=
new
LinkedHashMap
<>();
...
...
src/de/tud/kom/p2psim/impl/topology/views/fiveg/FiveGTopologyDatabase.java
View file @
62b25401
...
...
@@ -23,6 +23,7 @@ package de.tud.kom.p2psim.impl.topology.views.fiveg;
import
de.tud.kom.p2psim.api.linklayer.mac.MacAddress
;
import
de.tud.kom.p2psim.impl.topology.views.FiveGTopologyView
;
import
de.tud.kom.p2psim.impl.topology.views.FiveGTopologyView.CellLink
;
import
de.tudarmstadt.maki.simonstrator.api.component.GlobalComponent
;
/**
* Database for the {@link FiveGTopologyView} - containing a mapping of position
...
...
@@ -35,7 +36,7 @@ import de.tud.kom.p2psim.impl.topology.views.FiveGTopologyView.CellLink;
* @author Bjoern Richerzhagen
* @version 1.0, Nov 5, 2015
*/
public
interface
FiveGTopologyDatabase
{
public
interface
FiveGTopologyDatabase
extends
GlobalComponent
{
/**
* Calculation of a segment ID based on a position (usually given in
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment