• Publicity: Public Only All

nntp-procs.tcl

XoWiki - main library classes and objects

This file defines the following Objects and Classes: ::nntp::Session[i]

Location:
packages/xowiki/tcl/nntp-procs.tcl
Created:
2006-01-10
Author:
Gustaf Neumann
CVS Identification:
$Id: xowiki-procs.tcl,v 1.542.2.180 2024/07/28 17:08:02 gustafn Exp $

Procedures in this file

Detailed information

Class ::nntp::Session (public)

 ::nx::Class ::nntp::Session[i]

Support for NNTP session. In essence: 1) login 2) run some commands 3) logout

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.

nntp::Session method destroy (public)

 <instance of nntp::Session[i]> destroy

Log-out from the session and destroy the session object.

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.

nntp::Session method group (public)

 <instance of nntp::Session[i]> group name

update all entries from the specified group

Parameters:
name

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.

nntp::Session method login (public)

 <instance of nntp::Session[i]> login user password

Log-in with the provided credentials

Parameters:
user
password

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.

nntp::Session object method refresh (public)

 nntp::Session[i] refresh [ -server server ] [ -port port ] \
    [ -group group ]

Refresh articles in the database with messages from the NNTP news server. ns_section ns/server/${server}/acs/nntp { ns_param NttpUser gustafn ns_param NttpPassword isxqsomzp } ad_schedule_proc -thread t 5m ::nntp::Session refresh

Switches:
-server
(defaults to "news.eternal-september.org") (optional)
-port
(defaults to "119") (optional)
-group
(defaults to "comp.lang.tcl") (optional)

Partial Call Graph (max 5 caller/called nodes):
%3

Testcases:
No testcase defined.
[ show source ]