2004-02-13 Sebastien Pouliot <sebastien@ximian.com>
[mono.git] / mcs / class / corlib / System.Runtime.Remoting.Proxies / RealProxy.cs
index 75f5b564ad48114ddbf650c8b213c9f7a1b82e4d..84eb8823ca95a62f6ad5a4d43f4b81478d037b62 100644 (file)
@@ -24,6 +24,7 @@ namespace System.Runtime.Remoting.Proxies
        internal class TransparentProxy {
                public RealProxy _rp;
                IntPtr _class;
+               bool _custom_type_info;
        }
        
        public abstract class RealProxy {
@@ -33,6 +34,7 @@ namespace System.Runtime.Remoting.Proxies
                MarshalByRefObject _server;
                internal Identity _objectIdentity;
                Object _objTP;
+               object _stubData;
 
                protected RealProxy ()
                {
@@ -79,6 +81,35 @@ namespace System.Runtime.Remoting.Proxies
                internal Identity ObjectIdentity
                {
                        get { return _objectIdentity; }
+                       set { _objectIdentity = value; }
+               }
+               
+               [MonoTODO]
+               public virtual IntPtr GetCOMIUnknown (bool fIsMarshalled)
+               {
+                       throw new NotImplementedException ();
+               }
+               
+               [MonoTODO]
+               public virtual void SetCOMIUnknown (IntPtr i)
+               {
+                       throw new NotImplementedException ();
+               }
+               
+               [MonoTODO]
+               public virtual IntPtr SupportsInterface (ref Guid iid)
+               {
+                       throw new NotImplementedException ();
+               }
+               
+               public static object GetStubData (RealProxy rp)
+               {
+                       return rp._stubData;
+               }
+               
+               public static void SetStubData (RealProxy rp, object stubData)
+               {
+                       rp._stubData = stubData;
                }
 
                public abstract IMessage Invoke (IMessage msg);