github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

bingos / poe-component-client-nntp

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 1
    • 0
  • Source
  • Commits
  • Network (0)
  • Issues (0)
  • Downloads (2)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (2)
    • 2.14
    • 2.12
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

(perl) A POE component that implements an RFC 977 NNTP client — Read more

  cancel

http://search.cpan.org/dist/POE-Component-Client-NNTP/

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Add SSL support, RT #52615 requested by Arcanez (Justin Hunter) 
Chris Williams (author)
Tue Dec 22 06:35:18 -0800 2009
commit  12fe096181de28b8a34018fea078a7f7c4224423
tree    b021cfac2f4527c75a62a7188036cf3e382a56d3
parent  b4de0936d18c6f0d019ffaac0089ea1e93c59020
poe-component-client-nntp /
name age
history
message
file Changes Loading commit data...
file MANIFEST
file Makefile.PL
file README
directory examples/
directory lib/
directory t/
README
POE::Component::Client::NNTP
============================

1). Background

POE::Component::Client::NNTP is a POE (Perl Object Environment) component which
provides a convenient way for POE applications to perform non-blocking Network
News Transport Protocol ( NNTP ) requests and receive applicable responses, to
/from an NNTP server.

The component assumes a working knowledge of RFC 977 and, optionally, RFC 2980.
<http://www.faqs.org/rfcs/rfc977.html> 
<http://www.faqs.org/rfcs/rfc2980.html>

2). Implementation

The component is spawned and christened with a kernel alias. You 'register' 
with the component to receive events. 

For server responses which generate additional text such as 'help', 'article',
etc. the component waits until it has received all server output before 
returning the applicable event with the text appended.

Eg.

You send:-

$kernel->post ( 'NNTP-Client' => 'article' => 51 );

The component returns a 'nntp_220' event:-

sub nntp_220 {
  my ($text,$article) = @_[ARG0,ARG1];

  # Print the article to screen

  foreach ( @{ $article } ) {
  print "$_";
  }

  # Done
}

3). DISCLAIMER

This module is provided "as is". 
No Income Tax. No V.A.T.
No money back. No guarantee.

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server