AnyMQ-ZeroMQ
view release on metacpan or search on metacpan
lib/AnyMQ/Trait/ZeroMQ.pm view on Meta::CPAN
117118119120121122123124125126127128129130131132133134135136137
$self
->update_topic_subscriptions;
# for now just use $cb as ref, should generate some unique
# id in the future
my
$ref
=
$cb
;
return
$ref
;
}
# this controls what events we are subscribed to in ZMQ
sub
update_topic_subscriptions {
my
(
$self
) =
@_
;
my
@topics
=
$self
->subscription_topics;
# update list of topics we are subscribed to
# FIXME: use trait::topics
# $self->_zmq_sub->topics(\@topics);
}
sub
unsubscribe {
( run in 0.735 second using v1.01-cache-2.11-cpan-4e96b696675 )