I need to create the following framework:
SessionClient stores one or more SessionObjects
StationClient stores one or more StationObjects which houses a list of SessionObjects (all the sessions on the station)
ServerClient stores one or more ServerObjects which house a list of StationObjects (all the stations attached to the server)
I guess there would be RequestStationID and RequestSessionID methods that would create a new Station/Session in the lists and send the Station/Session its ID. Every Session would feed the Station its SessionID and SessionObject, the Stations in turn to the Server.
This is kind of to mimic multiple sessions on each station (computer) that reports to a server, such that each server knows of each station and each session on each station and likewise each station knowing of each session.
I'm sure this is, essentially, a design pattern and I think it is a simple factory with possibly elements of an observer?
Also, I know there will be some Remoting fun ahead later but for now, I just need to know how to prototype this in concept.
So, can you help me understand what pattern this is (or whether it's not but should be and which one that would be)?
TIA