Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Support router/dealer sockets

  • Loading branch information...
commit 456c75d550bda660c6e3253a64f941b202b3a8ce 1 parent d2f0001
@tsee authored
Showing with 3 additions and 3 deletions.
  1. +2 −2 lib/ZMQ/Declare/Types.pm
  2. +1 −1  lib/ZMQ/Declare/ZDCF/Validator.pm
View
4 lib/ZMQ/Declare/Types.pm
@@ -17,8 +17,8 @@ my %zdcf_socket_types = (
pair => ZMQ_PAIR,
xreq => ZMQ_XREQ,
xrep => ZMQ_XREP,
- xpub => ZMQ_XPUB,
- xsub => ZMQ_XSUB,
+ router => ZMQ_XREP, # TODO rename constants?
+ dealer => ZMQ_XREQ, # TODO rename constants?
# not official, just aliases
upstream => ZMQ_UPSTREAM,
View
2  lib/ZMQ/Declare/ZDCF/Validator.pm
@@ -43,7 +43,7 @@ SCOPE: {
map {
{ type => '//str', value => $_ },
{ type => '//str', value => uc($_) }
- } qw(sub pub req rep xreq xrep push pull pair)
+ } qw(sub pub req rep xreq xrep push pull pair router dealer)
]
};
my $socket_schema = {
Please sign in to comment.
Something went wrong with that request. Please try again.