Skip to Content.
Sympa Menu

patterns-discussion - Re: [patterns-discussion] Pattern Selection Question

patterns-discussion AT lists.cs.illinois.edu

Subject: General talk about software patterns

List archive

Re: [patterns-discussion] Pattern Selection Question


Chronological Thread 
  • From: HPinsley AT kayescholer.com
  • To: patterns-discussion AT cs.uiuc.edu
  • Cc:
  • Subject: Re: [patterns-discussion] Pattern Selection Question
  • Date: Mon, 3 Oct 2005 13:38:53 -0400
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/patterns-discussion>
  • List-id: General talk about software patterns <patterns-discussion.cs.uiuc.edu>


patterns-discussion-bounces AT cs.uiuc.edu
wrote on 10/03/2005 11:59:13 AM:

> Hi there,
>
> The code is a mess right now and I can't post any of it for reasons I
> cannot supply. Basically it comes down what I see as a state pattern
> for the protocol:
>
> Look for message start.
> Message start received, look for message header.
> Message header valid, look for data.
> Data valid, process the message based on the message header.
> - Any step that fails, look for a new message start.
>

I'm no expert, but it sounds, perhaps, like GOF's Template Method?





Archive powered by MHonArc 2.6.16.

Top of Page