diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2010-10-06 00:16:24 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2010-10-06 00:16:24 +0200 |
commit | 196cb4979e8a1e26a7e46091d0f0291812c7dcd1 (patch) | |
tree | 9d21052dde067f726a059f6e5e8e7e1e7e545bcf /test | |
parent | e65feb6fd3d035f06f7439c79b5eea37946eea5e (diff) | |
download | eva-196cb4979e8a1e26a7e46091d0f0291812c7dcd1.tar eva-196cb4979e8a1e26a7e46091d0f0291812c7dcd1.zip |
Got rid of that nasty ei.h dependency
Diffstat (limited to 'test')
-rw-r--r-- | test/Test.vala | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/test/Test.vala b/test/Test.vala index 85afc6a..2861233 100644 --- a/test/Test.vala +++ b/test/Test.vala @@ -1,13 +1,15 @@ namespace Eva { class Test { public static int main(string[] args) { - MainLoop main = new MainLoop(); + // MainLoop main = new MainLoop(); - PacketHandler handler = new PacketHandler(new UnixInputStream(3, true), new UnixOutputStream(4, true), 4); - handler.received_term.connect((term) => {stdout.printf("Received term %s\n", term.to_string()); handler.send(term); main.quit();}); - handler.start(); + // PacketHandler handler = new PacketHandler(new UnixInputStream(3, true), new UnixOutputStream(4, true), 4); + // handler.received_term.connect((term) => {stdout.printf("Received term %s\n", term.to_string()); handler.send(term); main.quit();}); + // handler.start(); - main.run(); + //main.run(); + PacketHandler handler = new PacketHandler(new UnixInputStream(1, true), new UnixOutputStream(2, true), 4); + handler.send(new Atom("foo")); return 0; } |