Update of /cvsroot/javanetsim/javaNetSim/core
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv6934/core
Modified Files:
NetworkLayerDevice.java
Added Files:
CommandInterface.java CommandProcessor.java CommandsTree.java
DeviceConfig.java Pair.java
Log Message:
new cisco like console have been written
--- NEW FILE: DeviceConfig.java ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: CommandsTree.java ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: CommandInterface.java ---
(This appears to be a binary file; contents omitted.)
Index: NetworkLayerDevice.java
===================================================================
RCS file: /cvsroot/javanetsim/javaNetSim/core/NetworkLayerDevice.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** NetworkLayerDevice.java 22 Feb 2006 20:04:27 -0000 1.7
--- NetworkLayerDevice.java 12 Oct 2007 21:06:39 -0000 1.8
***************
*** 48,51 ****
--- 48,53 ----
public abstract class NetworkLayerDevice extends Node {
+ private DeviceConfig config = new DeviceConfig(this);
+
/**
* calls the super class (Node) and passes it inName and inProtocolStack
***************
*** 306,308 ****
--- 308,314 ----
}
+ public DeviceConfig getConfig(){
+ return config;
+ }
+
}//EOF
--- NEW FILE: CommandProcessor.java ---
(This appears to be a binary file; contents omitted.)
--- NEW FILE: Pair.java ---
(This appears to be a binary file; contents omitted.)
|