Exemplo n.º 1
0
 public ClientDispatcher(ClientUIHanlder uiHandler, DisplayExecutive display, DependencyHandler depHandler)
 {
     // TODO: Complete member initialization
     this.uiHandler  = uiHandler;
     this.display    = display;
     this.depHandler = depHandler;
 }
Exemplo n.º 2
0
        public static void main()
        {
            ConfigurationLoader loader    = new ConfigurationLoader("E://Server/client.xml");
            ClientUIHanlder     uiHandler = new ClientUIHanlder(loader);
            GUIDisplayExecutive display   = new GUIDisplayExecutive(uiHandler);

            display.StartUp();
        }
Exemplo n.º 3
0
 public DependencyHandler(ConfigurationLoader _loader, DisplayExecutive _executive, ClientUIHanlder _uiHandler)
 {
     loader               = _loader;
     table                = new RelationshipTable();
     executive            = _executive;
     uiHandler            = _uiHandler;
     uiHandler.subscribe += MessageSent;
 }
Exemplo n.º 4
0
 public ClientExecutive(string configurationFilePath)
 {
     loader     = new ConfigurationLoader(configurationFilePath);
     uiHandler  = new ClientUIHanlder(loader);
     display    = new GUIDisplayExecutive(uiHandler, configurationFilePath);
     depHandler = new DependencyHandler(loader, display, uiHandler);
     dispatcher = new ClientDispatcher(uiHandler, display, depHandler);
 }
Exemplo n.º 5
0
        static void Main(string[] args)
        {
            string configFilePath          = args[0];
            ConfigurationLoader loader     = new ConfigurationLoader(configFilePath);
            ClientUIHanlder     uiHandler  = new ClientUIHanlder(loader);
            GUIDisplayExecutive display    = new GUIDisplayExecutive(uiHandler, configFilePath);
            DependencyHandler   depHandler = new DependencyHandler(loader, display, uiHandler);

            Message msg = new Message();

            depHandler.OnAnalyzeResultReceived(msg);
        }
Exemplo n.º 6
0
 public ClientDispatcher(ClientUIHanlder uiHandler, GUIDisplayExecutive display)
 {
     // TODO: Complete member initialization
     this.uiHandler = uiHandler;
     this.display   = display;
 }
Exemplo n.º 7
0
 public ClientDispatcher(ClientUIHanlder _handler)
 {
     handler = _handler;
 }
Exemplo n.º 8
0
 public GUIDisplayExecutive(ClientUIHanlder _handler, string _configPath)
 {
     handler    = _handler;
     configPath = _configPath;
 }