[libnet-dbus-perl] 189/335: Added AddMatch and RemoveMatch methods

Intrigeri intrigeri at moszumanska.debian.org
Sat Mar 21 01:07:53 UTC 2015


This is an automated email from the git hooks/post-receive script.

intrigeri pushed a commit to branch experimental
in repository libnet-dbus-perl.

commit 4671e111caf5fe6ab947b44f17d2f8b16ad3673d
Author: Daniel P. Berrange <berrange at redhat.com>
Date:   Thu Apr 13 11:03:06 2006 -0400

    Added AddMatch and RemoveMatch methods
---
 lib/Net/DBus/Test/MockConnection.pm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/lib/Net/DBus/Test/MockConnection.pm b/lib/Net/DBus/Test/MockConnection.pm
index a2af4b4..76c5599 100644
--- a/lib/Net/DBus/Test/MockConnection.pm
+++ b/lib/Net/DBus/Test/MockConnection.pm
@@ -214,6 +214,41 @@ sub add_filter {
     push @{$self->{filters}}, $cb;
 }
 
+=item $bus->add_match($rule)
+
+Register a signal match rule with the bus controller, allowing
+matching broadcast signals to routed to this client. In reality
+this is just a no-op giving the impression that the match was
+successfully registered.
+
+=cut
+
+sub add_match {
+    my $self = shift;
+    my $rule = shift;
+    
+    # XXX do we need to implement anything ? probably not 
+    # nada
+}
+
+=item $bus->remove_match($rule)
+
+Unregister a signal match rule with the bus controller, preventing
+further broadcast signals being routed to this client. In reality
+this is just a no-op giving the impression that the match was
+successfully unregistered.
+
+=cut
+
+sub remove_match {
+    my $self = shift;
+    my $rule = shift;
+    
+    # XXX do we need to implement anything ? probably not 
+    # nada
+}
+
+
 =item $con->register_object_path($path, \&handler)
 
 Registers a handler for messages whose path matches

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libnet-dbus-perl.git



More information about the Pkg-perl-cvs-commits mailing list