diff options
Diffstat (limited to 'embedding/java/src/org/uscxml/tests/ioprocessor/TestCustomIOProc.java')
-rw-r--r-- | embedding/java/src/org/uscxml/tests/ioprocessor/TestCustomIOProc.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/embedding/java/src/org/uscxml/tests/ioprocessor/TestCustomIOProc.java b/embedding/java/src/org/uscxml/tests/ioprocessor/TestCustomIOProc.java index 37b31a3..cc4d332 100644 --- a/embedding/java/src/org/uscxml/tests/ioprocessor/TestCustomIOProc.java +++ b/embedding/java/src/org/uscxml/tests/ioprocessor/TestCustomIOProc.java @@ -3,13 +3,13 @@ package org.uscxml.tests.ioprocessor; import org.uscxml.Data; import org.uscxml.DataNative; import org.uscxml.Factory; +import org.uscxml.IOProcessor; import org.uscxml.Interpreter; import org.uscxml.InterpreterException; import org.uscxml.SendRequest; import org.uscxml.StringList; -import org.uscxml.WrappedIOProcessor; -public class TestCustomIOProc extends WrappedIOProcessor { +public class TestCustomIOProc extends IOProcessor { @Override public StringList getNames() { @@ -31,7 +31,7 @@ public class TestCustomIOProc extends WrappedIOProcessor { } @Override - public WrappedIOProcessor create(Interpreter interpreter) { + public IOProcessor create(Interpreter interpreter) { return new TestCustomIOProc(); } @@ -47,6 +47,7 @@ public class TestCustomIOProc extends WrappedIOProcessor { Interpreter interpreter = Interpreter .fromURI("/Users/sradomski/Documents/TK/Code/uscxml/test/samples/uscxml/test-java-invoker.scxml"); + while (true) interpreter.interpret(); } |