summaryrefslogtreecommitdiff
path: root/sources/protocols/VSProtocol.java
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2008-05-20 21:45:17 +0000
committerPaul Buetow <paul@buetow.org>2008-05-20 21:45:17 +0000
commitef5e2356312e8354e1fe0addef6e24636f95ad78 (patch)
treed22dd1de31452e8aca8b6c6a74408092eae2b3ba /sources/protocols/VSProtocol.java
parent3958e0e3f754a0e4a7760bf86ed5a79999f29ccc (diff)
A new package events.internal has been introduced. It only contains events which are for internal usage. the events which are in the events.implementations menu are the events which are editable in the task manager.
Diffstat (limited to 'sources/protocols/VSProtocol.java')
-rw-r--r--sources/protocols/VSProtocol.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/protocols/VSProtocol.java b/sources/protocols/VSProtocol.java
index df22e51..291b778 100644
--- a/sources/protocols/VSProtocol.java
+++ b/sources/protocols/VSProtocol.java
@@ -72,7 +72,7 @@ abstract public class VSProtocol extends VSEvent {
abstract protected void onServerRecv(VSMessage message);
protected int getNumProcesses() {
- return process.getSimulationPanel().getNumProcesses();
+ return process.getSimulationCanvas().getNumProcesses();
}
public String toString() {