POE::Component::IKC::ClientLite

POE::Component::IKC::ClientLite is a small client for IKC.
Download

POE::Component::IKC::ClientLite Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Philip Gwyn
  • Publisher web site:
  • http://search.cpan.org/~gwyn/

POE::Component::IKC::ClientLite Tags


POE::Component::IKC::ClientLite Description

POE::Component::IKC::ClientLite is a small client for IKC. POE::Component::IKC::ClientLite is a small client for IKC.SYNOPSIS use POE::Component::IKC::ClientLite; $poe=create_ikc_client(port=>1337); die POE::Component::IKC::ClientLite::error() unless $poe; $poe->post("Session/event", $param) or die $poe->error; # bad way of getting a return value my $foo=$poe->call("Session/other_event", $param) or die $poe->error; # better way of getting a return value my $ret=$poe->post_respond("Session/other_event", $param) or die $poe->error; # make sure connectin is aliave $poe->ping() or $poe->disconnect;ClientLite is a small, pure-Perl IKC client implementation. It is very basic because it is intented to be used in places where POE wouldn't fit, like mod_perl.It handles automatic reconnection. When you post an event, ClientLite will try to send the packet over the wire. If this fails, it tries to reconnect. If it can't it returns an error. If it can, it will send he packet again. If *this* fails, well, tough luck. Requirements: · Perl


POE::Component::IKC::ClientLite Related Software