* IObjectHandle.cs, ObjectHandle.cs: Added missing attributes.
[mono.git] / mcs / class / corlib / System.Runtime.Remoting / InternalRemotingServices.cs
1 //
2 // System.Runtime.Remoting.InternalRemotingServices.cs
3 //
4 // Authors:
5 //   Lluis Sanchez Gual (lluis@ximian.com)
6 //
7 // (C) 2003 Novell, Inc.
8 //
9
10 using System;
11 using System.Runtime.Remoting.Metadata;
12 using System.Runtime.Remoting.Messaging;
13
14 namespace System.Runtime.Remoting
15 {
16         public sealed class InternalRemotingServices 
17         {
18                 public InternalRemotingServices ()
19                 {
20                 }
21                 
22                 [MonoTODO]
23                 public static void DebugOutChnl (string s)
24                 {
25                         throw new NotImplementedException ();
26                 }
27                 
28                 [MonoTODO]
29                 public static SoapAttribute GetCachedSoapAttribute (object reflectionObject)
30                 {
31                         throw new NotImplementedException ();
32                 }
33                 
34                 [MonoTODO]
35                 public static void RemotingAssert (bool condition, string message)
36                 {
37                         throw new NotImplementedException ();
38                 }
39                 
40                 [MonoTODO]
41                 public static void RemotingTrace (params object[] messages)
42                 {
43                         throw new NotImplementedException ();
44                 }
45                 
46                 public static void SetServerIdentity (MethodCall m, object srvID)
47                 {
48                         Identity ident = srvID as Identity;
49                         if (ident == null) throw new ArgumentException ("srvID");
50                         
51                         RemotingServices.SetMessageTargetIdentity (m, ident);
52                 }
53         }
54 }