Re: Help on choosing a valid pattern: composite or not?
I have one object which represents a net, whose node
can either be:
1. A net
2. A proper node (of various kinds; Factories?!)
Can it be both?
Yes, actually the "Net" contains both kind of items.
tell me when I go wrong.
A network consists of a set nodes and connections.
OK a node could itself contain a network of other nodes, but they would
not exist in the same network....that would seem a little odd.
I'll add a message in this thread to try to explain better what
I'm trying to do.
In the meantime...
- A "Node" doesn't contain a "Net"
- A "Node" can be one of the inputs of a "Net"
- A "Net" contains one or more "Nodes"
- A "Net" behaves exactly as a "Node" from the viewpoint of client
software (well, except for a few occasions where the client code
needs to manipulate some "Node"'s properties).
I'm not convinced I completely understand how a node can be a node or a
net.
I would prefer to say all nodes are nodes, and some nodes contain a set
of nodes that form another 'net'.
thus you sort of have a tree of networks.
I'll try to express myself better in the next post to this topic.
Thanks for your help!
Regards,
Carmine
.
Relevant Pages
- Cant get remoted objects when Win2003 is disconnected from a network
... I have a process running on my machine that hosts a singleton ... I also have client code that uses ... My Windows 2003 server has a single network adapter with all of the default ... then my remoting infrastructure falls apart. ... (microsoft.public.dotnet.framework.remoting) - Re: Multiple Network Environments
... in occasions I visit the 4 factories in on day and spend most ... >me but WinXP usually never detects the Network on the first try I ... Please post any reply as a follow-up message in the news group ... Microsoft Most Valuable Professional Program ... (microsoft.public.windowsxp.network_web) - Multiple Network Environments
... different factories every day, I visit a total of 3 to 4 factories which I'm ... me but WinXP usually never detects the Network on the first try I ... usually Reboot around 3 times to get the network running, ... OS - WinXp Home Edition SP1 ... (microsoft.public.windowsxp.network_web) |
|