Esempio n. 1
0
 //cust access list (will return Frontend list if Customer is retail)
 public static EndPointRow[] GetEndpointsByCustomerAcct(short pCustomerAcctId)
 {
     using (var _db = new Rbr_Db()) {
         return(EndpointManager.GetAllByCustomerAcct(_db, pCustomerAcctId));
     }
 }
 public virtual IActionResult GetListClientEndpoints([FromRoute] Guid clientUid)
 {
     return(StatusCode((int)HttpStatusCode.OK, EndpointManager.GetEndpointListForClient(clientUid)));
 }
Esempio n. 3
0
 public static AccessListViewRow[] GetAccessList()
 {
     using (var _db = new Rbr_Db()) {
         return(EndpointManager.GetAll(_db));
     }
 }
Esempio n. 4
0
 public static EndPointRow GetEndpoint(short pEndPointId)
 {
     using (var _db = new Rbr_Db()) {
         return(EndpointManager.Get(_db, pEndPointId));
     }
 }
Esempio n. 5
0
 public RemoteProcess(ActorSystem system, EndpointManager endpointManager, PID pid) : base(system)
 {
     _endpointManager = endpointManager;
     _pid             = pid;
 }
Esempio n. 6
0
        public static ViewS getInstance(EndpointManager manager, int pvid)
        {
            ViewContext vc = manager.getViewContext(pvid, ViewContextKind.Static);

            return(vc == null ? null : (ViewS)vc.getSessionOrGlobalView((short)0));
        }
Esempio n. 7
0
 public static ViewS getInstance(EndpointManager manager)
 {
     return(getInstance(manager, __pvid__));
 }
 public virtual IActionResult GetListEndpoints()
 {
     return(StatusCode((int)HttpStatusCode.OK, EndpointManager.GetEndpointList()));
 }
 public static Service getInstance(EndpointManager manager)
 {
     return(getInstance(manager, __pvid__));
 }