summaryrefslogtreecommitdiffstats
path: root/embedding/csharp/uSCXMLEmbedding/Extensions/SampleIOProc.cs
blob: 5abbf37979fbafbdc4cb92a42ffb60edb6cebd65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using org.uscxml;

namespace embedding
{
    class SampleIOProc : IOProcessor
    {
        public override IOProcessor create(Interpreter interpreter)
        {
            return new SampleIOProc();
        }

        public override DataNative getDataModelVariables()
        {
            DataNative data = new DataNative();
            return data;
        }

        public override StringList getNames()
        {
            StringList names = new StringList();
            names.add("simple");
            return names;
        }

        public override void send(SendRequest req)
        {
        }
    }
}