Exemplo n.º 1
0
 public static DHTNodePrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx)
 {
     if(b == null)
     {
         return null;
     }
     DHTNodePrx r = b as DHTNodePrx;
     if((r == null) && b.ice_isA("::IDHT::DHTNode", ctx))
     {
         DHTNodePrxHelper h = new DHTNodePrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
Exemplo n.º 2
0
 public static UserManagementPrx checkedCast(Ice.ObjectPrx b)
 {
     if(b == null)
     {
         return null;
     }
     UserManagementPrx r = b as UserManagementPrx;
     if((r == null) && b.ice_isA(ice_staticId()))
     {
         UserManagementPrxHelper h = new UserManagementPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
Exemplo n.º 3
0
 public static GuiDataUpdaterPrx checkedCast(Ice.ObjectPrx b)
 {
     if(b == null)
     {
         return null;
     }
     GuiDataUpdaterPrx r = b as GuiDataUpdaterPrx;
     if((r == null) && b.ice_isA(ice_staticId()))
     {
         GuiDataUpdaterPrxHelper h = new GuiDataUpdaterPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
Exemplo n.º 4
0
 public static AppServicePrx checkedCast(Ice.ObjectPrx b)
 {
     if(b == null)
     {
         return null;
     }
     AppServicePrx r = b as AppServicePrx;
     if((r == null) && b.ice_isA(ice_staticId()))
     {
         AppServicePrxHelper h = new AppServicePrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
Exemplo n.º 5
0
 public static MESLinkPrx checkedCast(Ice.ObjectPrx b)
 {
     if(b == null)
     {
         return null;
     }
     MESLinkPrx r = b as MESLinkPrx;
     if((r == null) && b.ice_isA(ice_staticId()))
     {
         MESLinkPrxHelper h = new MESLinkPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
Exemplo n.º 6
0
 public static sys_role_permission_rpcPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx)
 {
     if(b == null)
     {
         return null;
     }
     sys_role_permission_rpcPrx r = b as sys_role_permission_rpcPrx;
     if((r == null) && b.ice_isA(ice_staticId(), ctx))
     {
         sys_role_permission_rpcPrxHelper h = new sys_role_permission_rpcPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
Exemplo n.º 7
0
 public static cm_entrance_rpcPrx checkedCast(Ice.ObjectPrx b)
 {
     if(b == null)
     {
         return null;
     }
     cm_entrance_rpcPrx r = b as cm_entrance_rpcPrx;
     if((r == null) && b.ice_isA(ice_staticId()))
     {
         cm_entrance_rpcPrxHelper h = new cm_entrance_rpcPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
Exemplo n.º 8
0
 public static BufferTransferPrx checkedCast(Ice.ObjectPrx b, Ice.Context ctx)
 {
     if(b == null)
     {
         return null;
     }
     if(b is BufferTransferPrx)
     {
         return (BufferTransferPrx)b;
     }
     if(b.ice_isA("::InfoDTV::Multiplexer::Dynamic::Provider::BufferTransfer", ctx))
     {
         BufferTransferPrxHelper h = new BufferTransferPrxHelper();
         h.copyFrom__(b);
         return h;
     }
     return null;
 }
 /// <summary>
 /// Determines whether specified functions object (<c>functionsPrx</c>)
 /// is satisfy specified box type (<c>boxType</c>) i.e. whether
 /// functions object implements required functions and its box module
 /// has required sockets.
 /// </summary>
 /// <param name="boxType">Required type of the box.</param>
 /// <param name="functionsPrx">The functions object`s proxy.</param>
 /// <param name="sockets">The sockets of box module to which the functions object belongs to.</param>
 /// <returns>
 /// <c>true</c> if the specified functions object 
 /// <see cref="M:Ice.ObjectPrx.ice_isA(System.String)">
 /// implements required functions</see> and and its box module 
 /// <see cref="M:Ferda.Modules.BoxModuleI.hasSockets(Ferda.Modules.NeededSocket[],Ferda.Modules.SocketInfo[])">
 /// has required sockets</see>.
 /// </returns>
 private static bool hasBoxType(BoxType boxType, Ice.ObjectPrx functionsPrx, SocketInfo[] sockets)
 {
     return functionsPrx.ice_isA(boxType.functionIceId) &&
         hasSockets(boxType.neededSockets, sockets);
 }
Exemplo n.º 10
0
 public static CallbackReceiverPrx checkedCast(Ice.ObjectPrx b)
 {
     if(b == null)
     {
         return null;
     }
     CallbackReceiverPrx r = b as CallbackReceiverPrx;
     if((r == null) && b.ice_isA("::KeeICE::KPlib::CallbackReceiver"))
     {
         CallbackReceiverPrxHelper h = new CallbackReceiverPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
Exemplo n.º 11
0
 public static CallbackReceiverPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx)
 {
     if(b == null)
     {
         return null;
     }
     CallbackReceiverPrx r = b as CallbackReceiverPrx;
     if((r == null) && b.ice_isA("::KeeICE::KPlib::CallbackReceiver", ctx))
     {
         CallbackReceiverPrxHelper h = new CallbackReceiverPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
Exemplo n.º 12
0
 public static KPPrx checkedCast(Ice.ObjectPrx b)
 {
     if(b == null)
     {
         return null;
     }
     KPPrx r = b as KPPrx;
     if((r == null) && b.ice_isA("::KeeICE::KPlib::KP"))
     {
         KPPrxHelper h = new KPPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
Exemplo n.º 13
0
 public static SessionPrx checkedCast(Ice.ObjectPrx b)
 {
     if(b == null)
     {
         return null;
     }
     SessionPrx r = b as SessionPrx;
     if((r == null) && b.ice_isA(ice_staticId()))
     {
         SessionPrxHelper h = new SessionPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
Exemplo n.º 14
0
 public static VSClientPrx checkedCast(Ice.ObjectPrx b)
 {
     if(b == null)
     {
         return null;
     }
     VSClientPrx r = b as VSClientPrx;
     if((r == null) && b.ice_isA(ice_staticId()))
     {
         VSClientPrxHelper h = new VSClientPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
Exemplo n.º 15
0
 public static RepoApiPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx)
 {
     if(b == null)
     {
         return null;
     }
     RepoApiPrx r = b as RepoApiPrx;
     if((r == null) && b.ice_isA("::RepoIce::RepoApi", ctx))
     {
         RepoApiPrxHelper h = new RepoApiPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
Exemplo n.º 16
0
 public static MetaPrx checkedCast(Ice.ObjectPrx b)
 {
     if(b == null)
     {
         return null;
     }
     MetaPrx r = b as MetaPrx;
     if((r == null) && b.ice_isA("::Murmur::Meta"))
     {
         MetaPrxHelper h = new MetaPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
Exemplo n.º 17
0
 public static sys_role_permission_rpcPrx checkedCast(Ice.ObjectPrx b)
 {
     if(b == null)
     {
         return null;
     }
     sys_role_permission_rpcPrx r = b as sys_role_permission_rpcPrx;
     if((r == null) && b.ice_isA(ice_staticId()))
     {
         sys_role_permission_rpcPrxHelper h = new sys_role_permission_rpcPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
Exemplo n.º 18
0
 public static ServerContextCallbackPrx checkedCast(Ice.ObjectPrx b)
 {
     if(b == null)
     {
         return null;
     }
     ServerContextCallbackPrx r = b as ServerContextCallbackPrx;
     if((r == null) && b.ice_isA("::Murmur::ServerContextCallback"))
     {
         ServerContextCallbackPrxHelper h = new ServerContextCallbackPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
Exemplo n.º 19
0
 public static cm_node_category_rpcPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx)
 {
     if(b == null)
     {
         return null;
     }
     cm_node_category_rpcPrx r = b as cm_node_category_rpcPrx;
     if((r == null) && b.ice_isA(ice_staticId(), ctx))
     {
         cm_node_category_rpcPrxHelper h = new cm_node_category_rpcPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
Exemplo n.º 20
0
 public static ServerUpdatingAuthenticatorPrx checkedCast(Ice.ObjectPrx b)
 {
     if(b == null)
     {
         return null;
     }
     ServerUpdatingAuthenticatorPrx r = b as ServerUpdatingAuthenticatorPrx;
     if((r == null) && b.ice_isA("::Murmur::ServerUpdatingAuthenticator"))
     {
         ServerUpdatingAuthenticatorPrxHelper h = new ServerUpdatingAuthenticatorPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
Exemplo n.º 21
0
 public static CertSignerPrx checkedCast(Ice.ObjectPrx b)
 {
     if(b == null)
     {
         return null;
     }
     CertSignerPrx r = b as CertSignerPrx;
     if((r == null) && b.ice_isA(ice_staticId()))
     {
         CertSignerPrxHelper h = new CertSignerPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
Exemplo n.º 22
0
 public static ServerUpdatingAuthenticatorPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx)
 {
     if(b == null)
     {
         return null;
     }
     ServerUpdatingAuthenticatorPrx r = b as ServerUpdatingAuthenticatorPrx;
     if((r == null) && b.ice_isA("::Murmur::ServerUpdatingAuthenticator", ctx))
     {
         ServerUpdatingAuthenticatorPrxHelper h = new ServerUpdatingAuthenticatorPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
Exemplo n.º 23
0
 public static BaseToBotPrx checkedCast(Ice.ObjectPrx b)
 {
     if(b == null)
     {
         return null;
     }
     BaseToBotPrx r = b as BaseToBotPrx;
     if((r == null) && b.ice_isA(ice_staticId()))
     {
         BaseToBotPrxHelper h = new BaseToBotPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
Exemplo n.º 24
0
 public static TreePrx checkedCast(Ice.ObjectPrx b)
 {
     if(b == null)
     {
         return null;
     }
     TreePrx r = b as TreePrx;
     if((r == null) && b.ice_isA("::Murmur::Tree"))
     {
         TreePrxHelper h = new TreePrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
Exemplo n.º 25
0
 public static DispatchStatus ice_isA___(Ice.Object __obj, IceInternal.Incoming inS__, Current __current)
 {
     IceInternal.BasicStream is__ = inS__.startReadParams();
     string __id = is__.readString();
     inS__.endReadParams();
     bool __ret = __obj.ice_isA(__id, __current);
     IceInternal.BasicStream os__ = inS__.startWriteParams__(FormatType.DefaultFormat);
     os__.writeBool(__ret);
     inS__.endWriteParams__(true);
     return DispatchStatus.DispatchOK;
 }
Exemplo n.º 26
0
 public static TreePrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx)
 {
     if(b == null)
     {
         return null;
     }
     TreePrx r = b as TreePrx;
     if((r == null) && b.ice_isA("::Murmur::Tree", ctx))
     {
         TreePrxHelper h = new TreePrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
Exemplo n.º 27
0
 public static UserManagementPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx)
 {
     if(b == null)
     {
         return null;
     }
     UserManagementPrx r = b as UserManagementPrx;
     if((r == null) && b.ice_isA(ice_staticId(), ctx))
     {
         UserManagementPrxHelper h = new UserManagementPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
Exemplo n.º 28
0
 public static RepoApiPrx checkedCast(Ice.ObjectPrx b)
 {
     if(b == null)
     {
         return null;
     }
     RepoApiPrx r = b as RepoApiPrx;
     if((r == null) && b.ice_isA("::RepoIce::RepoApi"))
     {
         RepoApiPrxHelper h = new RepoApiPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
Exemplo n.º 29
0
 public static GuiDataUpdaterPrx checkedCast(Ice.ObjectPrx b, _System.Collections.Generic.Dictionary<string, string> ctx)
 {
     if(b == null)
     {
         return null;
     }
     GuiDataUpdaterPrx r = b as GuiDataUpdaterPrx;
     if((r == null) && b.ice_isA(ice_staticId(), ctx))
     {
         GuiDataUpdaterPrxHelper h = new GuiDataUpdaterPrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }
Exemplo n.º 30
0
 public static DHTNodePrx checkedCast(Ice.ObjectPrx b)
 {
     if(b == null)
     {
         return null;
     }
     DHTNodePrx r = b as DHTNodePrx;
     if((r == null) && b.ice_isA("::IDHT::DHTNode"))
     {
         DHTNodePrxHelper h = new DHTNodePrxHelper();
         h.copyFrom__(b);
         r = h;
     }
     return r;
 }