W
Warrick FitzGerald
Hi All,
I'm writing a parser for a layer 4 device (Load Ballancer), and am
trying my hand at OO .. with not much success so far.
The piece that I'm getting stuck on is association and\or adding an
array of other objects as a propery to one object.
For eaxmple: I have a virtual IP address that load ballances a group of
real server. I would like to have three types of objects
1. VirtualIP object
2. Real server Group Object
3. Real Server Object
So you would have multiple real server objects associated with one Real
Server Group object, and then you woudl have multiple group objects
associated with a virtual ip object.
Could someone please push me in the right direction here?
THanks
Warrick
I'm writing a parser for a layer 4 device (Load Ballancer), and am
trying my hand at OO .. with not much success so far.
The piece that I'm getting stuck on is association and\or adding an
array of other objects as a propery to one object.
For eaxmple: I have a virtual IP address that load ballances a group of
real server. I would like to have three types of objects
1. VirtualIP object
2. Real server Group Object
3. Real Server Object
So you would have multiple real server objects associated with one Real
Server Group object, and then you woudl have multiple group objects
associated with a virtual ip object.
Could someone please push me in the right direction here?
THanks
Warrick