Skip to content

Commit

Permalink
commiting WIP before using Net::ZMQ.
Browse files Browse the repository at this point in the history
  • Loading branch information
timo committed Feb 13, 2013
1 parent d905bf1 commit 1b8aeab
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
5 changes: 4 additions & 1 deletion lib/IPerl6/ZMQ.pm6
Expand Up @@ -12,7 +12,7 @@ our class Stdin {
}
}

multi send-zmq($data, :$SNDMORE?) {
multi send-zmq($data, :$SNDMORE?, :$PUBLISH?) {
state @send-buf;
push @send-buf, $data;
unless $SNDMORE {
Expand Down Expand Up @@ -95,6 +95,9 @@ our class Protocol {

method get_command {
my $msg = Message.recv;
if $msg.header<msg_type> eq "execute_request" {

}
}
}

Expand Down
9 changes: 4 additions & 5 deletions wrapper.py
@@ -1,9 +1,9 @@
import zmq
import uuid
import hmac
#import uuid
#import hmac

from datetime import datetime
from subprocess import Popen, PIPE
#from datetime import datetime
#from subprocess import Popen, PIPE

import json

Expand Down Expand Up @@ -39,7 +39,6 @@
#'started' : datetime.now(),
#}


#rakudo = Popen("perl6", stdin=PIPE, stdout=PIPE)
#if rakudo.stdout.read(2) != "> ":
#print "ERROR!"
Expand Down

0 comments on commit 1b8aeab

Please sign in to comment.