Beispiel #1
0
 public ConfigrationMonitorSession(ConfigurationServer server, UserCredentials credentials)
 {
     this.configServer = server;
     //ConfigurationProvider.Provider = this;
     this._sessionStartTime = DateTime.Now;
     _sessionid             = Guid.NewGuid().ToString();
     _rpcService            = new Common.RPCFramework.RPCService <ConfigrationMonitorSession>(new TargetObject <ConfigrationMonitorSession>(this));
 }
Beispiel #2
0
        public MonitorServer(ClientSessionManager clientSessionManager, NodeContext nodeContext, UserCredentials credentials)
        {
            _nodeContext          = nodeContext;
            _clientSessionManager = clientSessionManager;

            this._sessionStartTime = DateTime.Now;
            _sessionId             = Guid.NewGuid().ToString();
            _rpcService            = new RPCService <MonitorServer>(new TargetObject <MonitorServer>(this));
        }
Beispiel #3
0
 public ManagementSession(ManagementServer server, UserCredentials credentials)
 {
     this.dbMgtServer            = server;
     this._sessionStartTime      = DateTime.Now;
     _sessionId                  = new RouterSessionId();
     _sessionId.SessionId        = Guid.NewGuid().ToString();
     _rpcService                 = new RPCService <ManagementSession>(new TargetObject <ManagementSession>(this));
     ManagementProvider.Provider = this;
 }