summaryrefslogtreecommitdiff
path: root/sources/events/internal/VSProtocolEvent.java
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2008-08-07 07:32:29 +0000
committerPaul Buetow <paul@buetow.org>2008-08-07 07:32:29 +0000
commitf33c1714f67627848983bc2f9d179bde63da3d80 (patch)
tree0fda416822e20c9895f7430eab68ba54220ba6bd /sources/events/internal/VSProtocolEvent.java
parent5f388cca7c19d44a3928f4cfe7244faabeb2faff (diff)
written a lot
Diffstat (limited to 'sources/events/internal/VSProtocolEvent.java')
-rw-r--r--sources/events/internal/VSProtocolEvent.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/sources/events/internal/VSProtocolEvent.java b/sources/events/internal/VSProtocolEvent.java
index 1ccb700..76caff0 100644
--- a/sources/events/internal/VSProtocolEvent.java
+++ b/sources/events/internal/VSProtocolEvent.java
@@ -25,9 +25,11 @@ package events.internal;
import java.io.*;
+import core.VSInternalProcess;
import events.*;
import protocols.VSAbstractProtocol;
import serialize.VSSerialize;
+import simulator.VSSimulatorCanvas;
/**
* The class VSProtocolEvent, this event is used if a protocol (server or
@@ -122,8 +124,9 @@ public class VSProtocolEvent extends VSAbstractInternalEvent
* @see events.VSAbstractEvent#onStart()
*/
public void onStart() {
+ VSInternalProcess internalProcess = (VSInternalProcess) process;
VSAbstractProtocol protocol =
- process.getProtocolObject(protocolClassname);
+ internalProcess.getProtocolObject(protocolClassname);
if (isClientProtocol)
protocol.isClient(isProtocolActivation);