Click here to Skip to main content
15,892,005 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Strange but legal Pin
dandy7222-Jun-17 14:18
dandy7222-Jun-17 14:18 
GeneralRe: Strange but legal Pin
Dave Kreskowiak23-Jun-17 2:24
mveDave Kreskowiak23-Jun-17 2:24 
GeneralRe: Strange but legal Pin
Nelek22-Jun-17 18:57
protectorNelek22-Jun-17 18:57 
GeneralRe: Strange but legal Pin
Jon McKee22-Jun-17 20:45
professionalJon McKee22-Jun-17 20:45 
GeneralRe: Strange but legal Pin
Rob Philpott23-Jun-17 0:08
Rob Philpott23-Jun-17 0:08 
GeneralRe: Strange but legal Pin
Richard Deeming23-Jun-17 1:51
mveRichard Deeming23-Jun-17 1:51 
GeneralRe: Strange but legal Pin
Jon McKee23-Jun-17 7:42
professionalJon McKee23-Jun-17 7:42 
GeneralRe: Strange but legal Pin
Dave Kreskowiak23-Jun-17 2:52
mveDave Kreskowiak23-Jun-17 2:52 
The base abstract has a base implementation that sets up a default environment for processing a data "packet". The higher level abstract is actually three abstract classes, each covering a certain "class" of data, that each implement their own version of this method to further setup the environment that the concrete classes are going to use to process their "class" of "packets".

By the time you get to the concrete classes, they should already have everything they need to start processing its little version of a "packet" and finishing off the implementations of the two abstract classes. Each of the ~60 packet types fit into 3 different "classes".

Basically:
                 Overall Abstract Class                         Framework for processing a "packet"
                /          |           \
               /           |            \
Type 1 Abstract     Type 2 Abstract     Type 3 Abstract         Additional framework for each packet "Class"
              \            |            /
               \           |           /
                  ~60 Concrete Classes                          Supplies processing implementation for each packet

It feels wrong but it's working out perfectly so far.

I wish I could post some code samples and details but security prevents it.
System.ItDidntWorkException: Something didn't work as expected.

A guide to posting questions on CodeProject

Click this: Asking questions is a skill.
Seriously, do it.

Dave Kreskowiak

GeneralRe: Strange but legal Pin
Jon McKee23-Jun-17 7:39
professionalJon McKee23-Jun-17 7:39 
GeneralRe: Strange but legal Pin
CodeZombie6223-Jun-17 1:01
CodeZombie6223-Jun-17 1:01 
GeneralRe: Strange but legal Pin
Dave Kreskowiak23-Jun-17 3:06
mveDave Kreskowiak23-Jun-17 3:06 
GeneralRe: Strange but legal Pin
englebart23-Jun-17 2:12
professionalenglebart23-Jun-17 2:12 
GeneralRe: Strange but legal Pin
Dave Kreskowiak23-Jun-17 3:07
mveDave Kreskowiak23-Jun-17 3:07 
GeneralRe: Strange but legal Pin
Kirk 1038982123-Jun-17 7:52
Kirk 1038982123-Jun-17 7:52 
GeneralExploding cream dispenser kills French fitness blogger Pin
Marc Clifton22-Jun-17 8:57
mvaMarc Clifton22-Jun-17 8:57 
GeneralRe: Exploding cream dispenser kills French fitness blogger Pin
Rob Grainger22-Jun-17 23:16
Rob Grainger22-Jun-17 23:16 
GeneralRe: Exploding cream dispenser kills French fitness blogger Pin
Dan Neely23-Jun-17 2:32
Dan Neely23-Jun-17 2:32 
GeneralRe: Exploding cream dispenser kills French fitness blogger Pin
Jon McKee23-Jun-17 7:45
professionalJon McKee23-Jun-17 7:45 
GeneralRe: Exploding cream dispenser kills French fitness blogger Pin
RJOberg23-Jun-17 4:10
professionalRJOberg23-Jun-17 4:10 
GeneralRe: Exploding cream dispenser kills French fitness blogger Pin
Kirk 1038982123-Jun-17 7:54
Kirk 1038982123-Jun-17 7:54 
GeneralRe: Exploding cream dispenser kills French fitness blogger Pin
Munchies_Matt23-Jun-17 20:41
Munchies_Matt23-Jun-17 20:41 
GeneralA strange and bizarre network issue Pin
kmoorevs22-Jun-17 8:29
kmoorevs22-Jun-17 8:29 
GeneralRe: A strange and bizarre network issue Pin
Pualee22-Jun-17 8:38
Pualee22-Jun-17 8:38 
GeneralRe: A strange and bizarre network issue Pin
kmoorevs22-Jun-17 8:39
kmoorevs22-Jun-17 8:39 
GeneralRe: A strange and bizarre network issue Pin
MarkTJohnson22-Jun-17 8:51
professionalMarkTJohnson22-Jun-17 8:51 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.