예제 #1
0
 public IStaticServiceForGlue(ServiceCtx context, TimePermissions permissions) : base(context.Device.System.TimeServer)
 {
     _permissions = permissions;
     _inner       = new IStaticServiceForPsc(context, permissions);
     _inner.TrySetServer(Server);
     _inner.SetParent(this);
 }
예제 #2
0
 public IStaticServiceForPsc(TimeManager manager, TimePermissions permissions)
 {
     _permissions = permissions;
     _timeManager = manager;
 }
예제 #3
0
 public IStaticServiceForPsc(ServiceCtx context, TimePermissions permissions) : this(TimeManager.Instance, permissions)
 {
 }
예제 #4
0
 public IStaticServiceForGlue(ServiceCtx context, TimePermissions permissions) : base(new ServerBase("TimeServer"))
 {
     _permissions = permissions;
     _inner       = new IStaticServiceForPsc(context, permissions);
 }
예제 #5
0
 public IStaticService(ServiceCtx context, TimePermissions permissions)
 {
     _permissions = permissions;
 }
예제 #6
0
 public IStaticServiceForGlue(ServiceCtx context, TimePermissions permissions)
 {
     _permissions = permissions;
     _inner       = new IStaticServiceForPsc(context, permissions);
 }