NNTP design - factory pattern

From: Adie (usenet_at_dont-listen.net)
Date: 01/07/05


Date: Fri, 07 Jan 2005 12:44:30 GMT

Hi, I've been away from writing code for a while and want to get back into
it (for fun).

Wanted to do some client/server programming, specifically NNTP and was
thinking about using the opportunity to learn more about patterns and
design.

My question is, as the NNTP protocol is already written, and set in stone,
should I base my OOD around the NNTP rules or should I abstract away from
it to what it's actually doing (if you know what I mean).

Also, when responses return from the server, they could be error messages,
no response, articles, lists of groups etc... I'd obviously like some
behaviour to recognise what they are and encapsulate them into whatever
type of object they should be, so might a factory fit this scenerio and if
so how might it look?

(Using C#)

Thanks for any comments.



Relevant Pages

  • Re: attachments
    ... posts to an NNTP serve should be responded to the NNTP server. ... responses, ... I see that you post this on the web site. ... 2000 news client means you might not cruise back to the site to check for ...
    (microsoft.public.internet.mail)
  • Re: CAN SOMEONE EXPLAIN whats WRONG w/this Newsgroup hiding some posts?
    ... responses to existing topics; while invisible on this Newsgourp itself receive tons of responses when I Google for my own post - I find many Microsoft & Windows support Web-based Forums which show many postings as a reaction to my postings. ... from previous years - and I've been doing Usenet since arriving to America in 1993; I'd never expect such NNTP server behavior. ... about days for my articles; but articles here don't expire for at least a week if not a MONTH! ... EE + 3DMCAD engineer + engineering manager ...
    (microsoft.public.windows.vista.general)
  • Re: Other groups similar to non-technical
    ... ranting, rsrsrsr, in short a lot of fun! ... I agree -- NNTP is a terrific protocol. ...
    (borland.public.delphi.non-technical)