2 // System.Runtime.Remoting.ObjRef.cs
5 // Miguel de Icaza (miguel@ximian.com)
6 // Dietmar Maurer (dietmar@ximian.com)
8 // (C) Ximian, Inc. http://www.ximian.com
11 // FIXME: This is just a skeleton for practical purposes.
15 using System.Runtime.Serialization;
17 namespace System.Runtime.Remoting {
20 public class ObjRef : IObjectReference, ISerializable {
21 MarshalByRefObject mbr;
30 public ObjRef (MarshalByRefObject mbr, Type type)
37 protected ObjRef (SerializationInfo si, StreamingContext sc)
41 // This encarnates the object from serialized data.
45 public virtual IChannelInfo ChannelInfo {
47 throw new NotImplementedException ();
50 throw new NotImplementedException ();
55 public virtual IEnvoyInfo EnvoyInfo {
57 throw new NotImplementedException ();
60 throw new NotImplementedException ();
65 public virtual IRemotingTypeInfo TypeInfo {
67 throw new NotImplementedException ();
70 throw new NotImplementedException ();
74 public virtual string URI {
84 public virtual void GetObjectData (SerializationInfo si, StreamingContext sc)
90 public virtual object GetRealObject (StreamingContext sc)
98 public bool IsFromThisAppDomain ()
106 public bool IsFromThisProcess ()