Net::DBus::Callback - Online Linux Manual PageSection : 3pm
Updated : 2020-11-09
Source : perl v5.32.0
Note : User Contributed Perl Documentation
NAMENet::DBus::Callback − a callback for receiving reactor events
SYNOPSIS use Net::DBus::Callback;
# Assume we have a 'terminal' object and its got a method
# to be invoked every time there is input on its terminal.
#
# To create a callback to invoke this method one might use
my $cb = Net::DBus::Callback−>new(object => $terminal,
method => "handle_stdio");
# Whatever is monitoring the stdio channel, would then
# invoke the callback, perhaps passing in a parameter with
# some 'interesting' data, such as number of bytes available
$cb−>invoke($nbytes)
#... which results in a call to
# $terminal−>handle_stdio($nbytes)
DESCRIPTIONThis module provides a simple container for storing details about a callback to be invoked at a later date. It is used when registering to receive events from the Net::DBus::Reactor class. NB use of this module in application code is no longer necessary and it remains purely for backwards compatibility. Instead you can simply pass a subroutine code reference in any place where a callback is desired.
METHODSmy $cb = Net::DBus::Callback−>new(method => $name, [args => \@args]) Creates a new callback object, for invoking a plain old function. The method parameter should be the fully qualified function name to invoke, including the package name. The optional args parameter is an array reference of parameters to be pass to the callback, in addition to those passed into the invoke method. my $cb = Net::DBus::Callback−>new(object => $object, method => $name, [args => \@args]) Creates a new callback object, for invoking a method on an object. The method parameter should be the name of the method to invoke, while the object parameter should be a blessed object on which the method will be invoked. The optional args parameter is an array reference of parameters to be pass to the callback, in addition to those passed into the invoke method. $cb−>invoke(@args) Invokes the callback. The argument list passed to the callback is a combination of the arguments supplied in the callback constructor, followed by the arguments supplied in the invoke method.
AUTHORDaniel P. Berrange.
COPYRIGHTCopyright (C) 2004−2011 Daniel P. Berrange
SEE ALSONet::DBus::Reactor 0
Johanes Gumabo
Data Size : 7,711 byte
man-Net::DBus::Callback.3pmBuild : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 3 / 169,762
Visitor ID : :
Visitor IP : 3.129.216.248 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (parse_manual_page_|249|Net::DBus::Callback.3pm|36/37|el══─{─══.|.el══─{─══. ds -- \|\(em\|
) (htmlprn|149|Net::DBus::Callback.3pm|36/37|.el══─{─══. ds -- — |.el══─{─══. ds -- \|\(em\|
) (parse_manual_page_|249|Net::DBus::Callback.3pm|43|br══─}─══|'br══─}─══
) (htmlprn|149|Net::DBus::Callback.3pm|43|'br══─}─══ |'br══─}─══
)