Exemplo n.º 1
0
 public HttpServer(object context = null, int port = Http.DefaultPort, IVM vm = null, Visualizer visualizer = null, bool discoverable = true)
 {
     this.port        = port;
     this.visualizer  = visualizer ?? new Visualizer(context);
     this.vm          = vm ?? (new VM());
     this.broadcaster = discoverable ? new DiscoveryBroadcaster() : null;
 }
Exemplo n.º 2
0
		public HttpServer (object context = null, int port = Http.DefaultPort, IVM vm = null, Visualizer visualizer = null, bool discoverable = true)
		{
			this.port = port;
			this.visualizer = visualizer ?? new Visualizer (context);
			this.vm = vm ?? (new VM());
			this.broadcaster = discoverable ? new DiscoveryBroadcaster () : null;
		}