Lim::RPC::Callback - Base class of all RPC callbacks
See Lim for version.
package Lim::RPC::Callback::MyCallback;
use base qw(Lim::RPC::Callback);
Create a new callback object.
Set the callback function related to this callback. This is set by Lim::RPC::Server depending on what protocol in incoming.
Set the Lim::RPC::Server::Client related to this callback. This is set by Lim::RPC::Server on incoming calls.
Called from new on object creation with the same arguments as passed to new.
new
Should be overloaded if you wish to do initial things on creation.
Called from DESTROY on object destruction.
DESTROY
Should be overloaded if you wish to do things on destruction.
Return the callback.
Return the call definition set by set_call_def.
set_call_def
Set the call definition related to this callback. Returns the references to it self.
Reset the timeout of the client related to this callback.
Jerry Lundström, <lundstrom.jerry at gmail.com>
<lundstrom.jerry at gmail.com>
Please report any bugs or feature requests to https://github.com/jelu/lim/issues.
You can find documentation for this module with the perldoc command.
perldoc Lim::RPC::Callback
You can also look for information at:
Lim issue tracker (report bugs here)
https://github.com/jelu/lim/issues
Copyright 2012-2013 Jerry Lundström.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Lim, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lim
CPAN shell
perl -MCPAN -e shell install Lim
For more information on module installation, please visit the detailed CPAN module installation guide.