+2002-07-31 Duncan Mak <duncan@ximian.com>
+
+ * unix.args: Added new Exceptions, Interfaces and various
+ TypeEntries from System.Runtime.Remoting.
+
2002-07-29 Martin Baulig <martin@gnome.org>
* list: Removed, this isn't used anymore and people are already
--- /dev/null
+//
+// System.Runtime.Remoting.ActivatedClientTypeEntry.cs
+//
+// AUthor: Duncan Mak (duncan@ximian.com)
+//
+// 2002 (C) Copyright. Ximian, Inc.
+//
+
+using System;
+using System.Runtime.Remoting;
+using System.Runtime.Remoting.Contexts;
+
+namespace System.Runtime.Remoting {
+
+ public class ActivatedClientTypeEntry : TypeEntry
+ {
+ string url;
+ Type obj_type;
+
+ public ActivatedClientTypeEntry (Type type, string appUrl)
+ {
+ AssemblyName = type.Assembly.FullName;
+ TypeName = type.FullName;
+ url = appUrl;
+ obj_type = type;
+ }
+
+ public string ApplicationUrl {
+ get { return url; }
+ }
+
+ public IContextAttribute [] ContextAttributes {
+ get { return null; }
+ set { } // This is not implemented in the MS runtime yet.
+ }
+
+ public Type ObjectType {
+ get { return obj_type; }
+ }
+ }
+}
--- /dev/null
+//
+// System.Runtime.Remoting.ActivatedServiceTypeEntry.cs
+//
+// AUthor: Duncan Mak (duncan@ximian.com)
+//
+// 2002 (C) Copyright. Ximian, Inc.
+//
+
+using System;
+using System.Reflection;
+using System.Runtime.Remoting;
+using System.Runtime.Remoting.Contexts;
+
+namespace System.Runtime.Remoting {
+
+ public class ActivatedServiceTypeEntry : TypeEntry
+ {
+ Type obj_type;
+
+ public ActivatedServiceTypeEntry (Type type)
+ {
+ AssemblyName = type.Assembly.FullName;
+ TypeName = type.FullName;
+ obj_type = type;
+ }
+
+ public ActivatedServiceTypeEntry (string typeName, string assemblyName)
+ {
+ AssemblyName = assemblyName;
+ TypeName = typeName;
+ Assembly a = Assembly.Load (assemblyName);
+ obj_type = a.GetType (typeName);
+ }
+
+ public IContextAttribute [] ContextAttributes {
+ get { return null; }
+ set { } // This is not implemented in the MS runtime yet.
+ }
+
+ public Type ObjectType {
+ get { return obj_type; }
+ }
+ }
+}
+2002-07-31 Duncan Mak <duncan@ximian.com>
+
+ * TypeEntry.cs:
+ * ActivatedClientTypeEntry.cs:
+ * ActivatedServiceTypeEntry.cs:
+ * WellKnownClientTypeEntry.cs:
+ * WellKnownServiceTypeEntry.cs: Added all the classes derived from TypeEntry.
+
+ * RemotingException.cs:
+ * RemotingTimeoutException.cs:
+ * ServerException.cs: Added missing exceptions.
+
+ * IChannelInfo.cs:
+ * IEnvoyInfo.cs:
+ * IRemotingTypeInfo.cs: Added missing interfaces.
+
2002-07-24 Duncan Mak <duncan@ximian.com>
* LeaseState.cs: Moved to System.Runtime.Remoting.Lifetime.
--- /dev/null
+//
+// System.Runtime.Remoting.IChannelInfo.cs
+//
+// AUthor: Duncan Mak (duncan@ximian.com)
+//
+// 2002 (C) Copyright. Ximian, Inc.
+//
+
+using System;
+
+namespace System.Runtime.Remoting {
+
+ public interface IChannelInfo
+ {
+ object[] ChannelData { get; set; }
+ }
+}
--- /dev/null
+//
+// System.Runtime.Remoting.IEnvoyInfo.cs
+//
+// AUthor: Duncan Mak (duncan@ximian.com)
+//
+// 2002 (C) Copyright. Ximian, Inc.
+//
+
+using System.Runtime.Remoting.Messaging;
+
+namespace System.Runtime.Remoting {
+
+ public interface IEnvoyInfo
+ {
+ IMessageSink EnvoySinks { get; set; }
+ }
+}
--- /dev/null
+//
+// System.Runtime.Remoting.IRemotingTypeInfo.cs
+//
+// AUthor: Duncan Mak (duncan@ximian.com)
+//
+// 2002 (C) Copyright. Ximian, Inc.
+//
+
+using System.Runtime.Remoting.Messaging;
+
+namespace System.Runtime.Remoting {
+
+ public interface IRemotingTypeInfo
+ {
+ string TypeName { get; set; }
+ bool CanCastTo (Type fromType, object o);
+ }
+}
--- /dev/null
+//
+// System.Runtime.Remoting.RemotingException.cs
+//
+// AUthor: Duncan Mak (duncan@ximian.com)
+//
+// 2002 (C) Copyright. Ximian, Inc.
+//
+
+using System;
+using System.Runtime.Serialization;
+
+namespace System.Runtime.Remoting {
+
+ [Serializable]
+ public class RemotingException : Exception
+ {
+ public RemotingException ()
+ : base ()
+ {
+ }
+
+ public RemotingException (string message)
+ : base (message)
+ {
+ }
+
+ protected RemotingException (SerializationInfo info, StreamingContext context)
+ : base (info, context)
+ {
+ }
+
+ public RemotingException (string message, Exception ex)
+ : base (message, ex)
+ {
+ }
+ }
+}
--- /dev/null
+//
+// System.Runtime.Remoting.RemotingTimeoutException.cs
+//
+// AUthor: Duncan Mak (duncan@ximian.com)
+//
+// 2002 (C) Copyright. Ximian, Inc.
+//
+
+using System;
+using System.Runtime.Serialization;
+
+namespace System.Runtime.Remoting {
+
+ [Serializable]
+ public class RemotingTimeoutException : RemotingException
+ {
+ public RemotingTimeoutException ()
+ : base ()
+ {
+ }
+
+ public RemotingTimeoutException (string message)
+ : base (message)
+ {
+ }
+
+ public RemotingTimeoutException (string message, Exception ex)
+ : base (message, ex)
+ {
+ }
+ }
+}
--- /dev/null
+//
+// System.Runtime.Remoting.ServerException.cs
+//
+// AUthor: Duncan Mak (duncan@ximian.com)
+//
+// 2002 (C) Copyright. Ximian, Inc.
+//
+
+using System;
+using System.Runtime.Serialization;
+
+namespace System.Runtime.Remoting {
+
+ [Serializable]
+ public class ServerException : SystemException
+ {
+ public ServerException ()
+ : base ()
+ {
+ }
+
+ public ServerException (string message)
+ : base (message)
+ {
+ }
+
+ public ServerException (string message, Exception ex)
+ : base (message, ex)
+ {
+ }
+ }
+}
--- /dev/null
+//
+// System.Runtime.Remoting.TypeEntry.cs
+//
+// AUthor: Duncan Mak (duncan@ximian.com)
+//
+// 2002 (C) Copyright. Ximian, Inc.
+//
+
+using System;
+
+namespace System.Runtime.Remoting {
+
+ public class TypeEntry
+ {
+ string assembly_name;
+ string type_name;
+
+ protected TypeEntry ()
+ {
+ }
+
+ public string AssemblyName {
+ get { return assembly_name; }
+ set { assembly_name = value; }
+ }
+
+ public string TypeName {
+ get { return type_name; }
+ set { type_name = value; }
+ }
+ }
+}
--- /dev/null
+//
+// System.Runtime.Remoting.WellKnownClientTypeEntry.cs
+//
+// AUthor: Duncan Mak (duncan@ximian.com)
+//
+// 2002 (C) Copyright. Ximian, Inc.
+//
+
+using System;
+using System.Reflection;
+
+namespace System.Runtime.Remoting {
+
+ public class WellKnownClientTypeEntry : TypeEntry
+ {
+ Type obj_type;
+ string obj_url;
+ string app_url = null;
+
+ public WellKnownClientTypeEntry (Type type, string objectUrl )
+ {
+ AssemblyName = type.Assembly.FullName;
+ TypeName = type.FullName;
+ obj_type = type;
+ obj_url = objectUrl;
+ }
+
+ public WellKnownClientTypeEntry (string typeName, string assemblyName, string objectUrl)
+ {
+ AssemblyName = assemblyName;
+ TypeName = typeName;
+ Assembly a = Assembly.Load (assemblyName);
+ obj_type = a.GetType (typeName);
+ }
+
+ public string ApplicationUrl {
+ get { return app_url; }
+ set { app_url = value; }
+ }
+
+ public Type ObjectType {
+ get { return obj_type; }
+ }
+
+ public string ObjectUrl {
+ get { return obj_url; }
+ set { obj_url = value; }
+ }
+
+ public override string ToString ()
+ {
+ if (ApplicationUrl != null)
+ return TypeName + AssemblyName + ObjectUrl + ApplicationUrl;
+ else
+ return TypeName + AssemblyName + ObjectUrl;
+ }
+ }
+}
--- /dev/null
+//
+// System.Runtime.Remoting.WellKnownServiceTypeEntry.cs
+//
+// AUthor: Duncan Mak (duncan@ximian.com)
+//
+// 2002 (C) Copyright. Ximian, Inc.
+//
+
+using System;
+using System.Reflection;
+using System.Runtime.Remoting.Contexts;
+
+namespace System.Runtime.Remoting {
+
+ public class WellKnownServiceTypeEntry : TypeEntry
+ {
+ Type obj_type;
+ string obj_uri;
+ WellKnownObjectMode obj_mode;
+
+ public WellKnownServiceTypeEntry (Type type, string objectUri, WellKnownObjectMode mode)
+ {
+ AssemblyName = type.Assembly.FullName;
+ TypeName = type.FullName;
+ obj_type = type;
+ obj_uri = objectUri;
+ obj_mode = mode;
+ }
+
+ public WellKnownServiceTypeEntry (string typeName, string assemblyName,
+ string objectUri, WellKnownObjectMode mode)
+ {
+ AssemblyName = assemblyName;
+ TypeName = typeName;
+ Assembly a = Assembly.Load (assemblyName);
+ obj_type = a.GetType (typeName);
+ obj_uri = objectUri;
+ obj_mode = mode;
+ }
+
+ public IContextAttribute [] ContextAttributes {
+ get { return null; }
+ set { } // This is not implemented in the MS runtime yet.
+ }
+
+ public WellKnownObjectMode Mode {
+ get { return obj_mode; }
+ set { obj_mode = value; }
+ }
+
+ public Type ObjectType {
+ get { return obj_type; }
+ }
+
+ public string ObjectUri {
+ get { return obj_uri; }
+ set { obj_uri = value; }
+ }
+
+ [MonoTODO]
+ public override string ToString ()
+ {
+ return TypeName + AssemblyName + ObjectUri;
+ }
+ }
+}
System.Runtime.InteropServices/UCOMTypeLib.cs
System.Runtime.InteropServices/UnmanagedType.cs
System.Runtime.InteropServices/VarEnum.cs
+System.Runtime.Remoting/ActivatedClientTypeEntry.cs
+System.Runtime.Remoting/ActivatedServiceTypeEntry.cs
System.Runtime.Remoting/IObjectHandle.cs
+System.Runtime.Remoting/IChannelInfo.cs
+System.Runtime.Remoting/IEnvoyInfo.cs
+System.Runtime.Remoting/IRemotingTypeInfo.cs
System.Runtime.Remoting/ObjectHandle.cs
System.Runtime.Remoting/ObjRef.cs
+System.Runtime.Remoting/RemotingException.cs
+System.Runtime.Remoting/RemotingTimeoutException.cs
System.Runtime.Remoting/RemotingServices.cs
+System.Runtime.Remoting/ServerException.cs
+System.Runtime.Remoting/TypeEntry.cs
System.Runtime.Remoting/WellKnownObjectMode.cs
+System.Runtime.Remoting/WellKnownClientTypeEntry.cs
+System.Runtime.Remoting/WellKnownServiceTypeEntry.cs
System.Runtime.Remoting.Activation/ActivatorLevel.cs
System.Runtime.Remoting.Activation/IActivator.cs
System.Runtime.Remoting.Activation/IConstructionCallMessage.cs