public bool login(string un, string pw) { var prx = auth_prx_.login_backend(un, pw); if (prx != null) { svc_prx_ = BackendServicePrxHelper.uncheckedCast(prx.ice_endpoints(auth_prx_.ice_getEndpoints())); if (svc_prx_ != null) { return(true); } } return(false); }
public static BackendServicePrx read(Ice.InputStream inS__) { Ice.ObjectPrx proxy = inS__.readProxy(); if(proxy != null) { BackendServicePrxHelper result = new BackendServicePrxHelper(); result.copyFrom__(proxy); return result; } return null; }
public static BackendServicePrx read__(IceInternal.BasicStream is__) { Ice.ObjectPrx proxy = is__.readProxy(); if(proxy != null) { BackendServicePrxHelper result = new BackendServicePrxHelper(); result.copyFrom__(proxy); return result; } return null; }
public static BackendServicePrx uncheckedCast(Ice.ObjectPrx b, string f) { if(b == null) { return null; } Ice.ObjectPrx bb = b.ice_facet(f); BackendServicePrxHelper h = new BackendServicePrxHelper(); h.copyFrom__(bb); return h; }
public static BackendServicePrx uncheckedCast(Ice.ObjectPrx b) { if(b == null) { return null; } BackendServicePrx r = b as BackendServicePrx; if(r == null) { BackendServicePrxHelper h = new BackendServicePrxHelper(); h.copyFrom__(b); r = h; } return r; }
public static BackendServicePrx checkedCast(Ice.ObjectPrx b, string f, _System.Collections.Generic.Dictionary<string, string> ctx) { if(b == null) { return null; } Ice.ObjectPrx bb = b.ice_facet(f); try { if(bb.ice_isA(ice_staticId(), ctx)) { BackendServicePrxHelper h = new BackendServicePrxHelper(); h.copyFrom__(bb); return h; } } catch(Ice.FacetNotExistException) { } return null; }
public static BackendServicePrx checkedCast(Ice.ObjectPrx b, string f) { if(b == null) { return null; } Ice.ObjectPrx bb = b.ice_facet(f); try { if(bb.ice_isA(ice_staticId())) { BackendServicePrxHelper h = new BackendServicePrxHelper(); h.copyFrom__(bb); return h; } } catch(Ice.FacetNotExistException) { } return null; }
public static BackendServicePrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx) { if(b == null) { return null; } BackendServicePrx r = b as BackendServicePrx; if((r == null) && b.ice_isA(ice_staticId(), ctx)) { BackendServicePrxHelper h = new BackendServicePrxHelper(); h.copyFrom__(b); r = h; } return r; }