Esempio n. 1
0
 public AttributeResolverI()
 {
     try
     {
         Type cl = typeof(RemoteInvocationHelper);
         add("parent", cl.GetMethod("getParent"));
         add("id", cl.GetMethod("getId"));
         add("requestId", cl.GetMethod("getRequestId"));
         AttrsUtil.addConnectionAttributes <RemoteMetrics>(this, cl);
     }
     catch (Exception)
     {
         Debug.Assert(false);
     }
 }
Esempio n. 2
0
 public AttributeResolverI()
 {
     try
     {
         Type cl = typeof(ConnectionHelper);
         add("parent", cl.GetMethod("getParent"));
         add("id", cl.GetMethod("getId"));
         add("state", cl.GetMethod("getState"));
         AttrsUtil.addConnectionAttributes <ConnectionMetrics>(this, cl);
     }
     catch (Exception)
     {
         Debug.Assert(false);
     }
 }
Esempio n. 3
0
            public AttributeResolverI()
            {
                try
                {
                    Type cl = typeof(DispatchHelper);
                    add("parent", cl.GetMethod("getParent"));
                    add("id", cl.GetMethod("getId"));

                    AttrsUtil.addConnectionAttributes <DispatchMetrics>(this, cl);

                    Type clc = typeof(Ice.Current);
                    add("operation", cl.GetMethod("getCurrent"), clc.GetField("operation"));
                    add("identity", cl.GetMethod("getIdentity"));
                    add("facet", cl.GetMethod("getCurrent"), clc.GetField("facet"));
                    add("current", cl.GetMethod("getCurrent"), clc.GetField("requestId"));
                    add("mode", cl.GetMethod("getMode"));
                }
                catch (Exception)
                {
                    Debug.Assert(false);
                }
            }