예제 #1
0
 public DBAdminWebServer(DBWebServerSettings settings)
     : base(settings)
 {
     this.RegisterRequestProcessor(typeof(PostPayloadsRequestProcessor));
     this.RegisterRequestProcessor(typeof(GetUsersRequestProcessor));
     this.RegisterRequestProcessor(typeof(GetConnectionsRequestProcessor));
     this.RegisterRequestProcessor(typeof(GetSubscriptionsRequestProcessor));
 }
예제 #2
0
 public DBWebServer(DBWebServerSettings settings)
 {
     Repository = new SQLDBRepository(settings.SQLRepositorySettings);
     this.AuthorizationVerifier = this;
     this.Settings = settings.WebServerSettings;
     this.RegisterRequestProcessor(typeof(GetMyConnectionsRequestProcessor));
     this.RegisterRequestProcessor(typeof(GetMyTopicsRequestProcessor));
     this.RegisterRequestProcessor(typeof(GetPayloadsRequestProcessor));
 }