Browse Source

Removes dead SmartDevice code

Andreas T. Meyer-Berg 5 years ago
parent
commit
7981409009

+ 1 - 33
src/main/java/de/tu_darmstadt/tk/SmartHomeNetworkSim/core/SmartDevice.java

@@ -15,16 +15,12 @@ public class SmartDevice {
 	 * Name of the Device
 	 */
 	private String name;
+	
 	/**
 	 * Physical connections to other SmartDevices
 	 */
 	private List<Link> links;
 
-	/* *
-	 * Virtual Connections to other SmartDevices
-	 */
-	//private List<Connection> connections;
-
 	/**
 	 * Ports of this device
 	 */
@@ -165,34 +161,6 @@ public class SmartDevice {
 		this.z = z;
 	}
 
-	/* *
-	 * Returns all connections of this device
-	 * 
-	 * @return the connections of this device
-	 * /
-	public List<Connection> getConnections() {
-		return connections;
-	}*/
-
-	/* *
-	 * Adds a connection to this device
-	 * 
-	 * @param connections
-	 *            the connection add
-	 * /
-	public void addConnection(Connection connections) {
-		this.connections.add(connections);
-	}*/
-	
-	/* *
-	 * Removes connection
-	 * 
-	 * @param connection connection to remove
-	 * /
-	public void removeConnection(Connection c) {
-		this.connections.remove(c);
-	}*/
-
 	/**
 	 * Simulates the next Timestep
 	 *