2 using System
.Collections
.Generic
;
11 public string get1234()
15 public void printString(string s
)
19 public void wait1Sec(Action
<Object
> done
)
21 var tim
=new System
.Timers
.Timer(1000);
22 tim
.AutoReset
= false;
23 tim
.Elapsed
+= (object sender
, System
.Timers
.ElapsedEventArgs e
) =>
29 public string raiseError1()
31 throw new Exception("dummy io error");
38 public static void Main(string[] args
)
40 TcpBackend tcp
= new TcpBackend();
41 tcp
.funcMap
["test1"] = new TestFuncMap();
42 tcp
.bindAddr
= "0.0.0.0:2050";