[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Runtime/Remoting/Mess
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Runtime/Remoting/Messaging AsyncResult.cs,1.2,1.3 ConstructionCall.cs,1.1,1.2 ConstructionResponse.cs,1.1,1.2 Header.cs,1.1,1.2 LogicalCallContext.cs,1.1,1.2 MethodCall.cs,1.1,1.2 MethodCallMessageWrapper.cs,1.1,1.2 MethodResponse.cs,1.1,1.2 MethodReturnMessageWrapper.cs,1.1,1.2 RemotingSurrogateSelector.cs,1.1,1.2 ReturnMessage.cs,1.1,1.2 |
Date: |
Wed, 23 Apr 2003 01:39:53 -0400 |
Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/Remoting/Messaging
In directory
subversions:/tmp/cvs-serv9550/runtime/System/Runtime/Remoting/Messaging
Modified Files:
AsyncResult.cs ConstructionCall.cs ConstructionResponse.cs
Header.cs LogicalCallContext.cs MethodCall.cs
MethodCallMessageWrapper.cs MethodResponse.cs
MethodReturnMessageWrapper.cs RemotingSurrogateSelector.cs
ReturnMessage.cs
Log Message:
Minor tweaks to a lot of classes to make them more signature compatible
with .NET Framework SDK 1.1.
Index: AsyncResult.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/Remoting/Messaging/AsyncResult.cs,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** AsyncResult.cs 15 Apr 2003 11:22:33 -0000 1.2
--- AsyncResult.cs 23 Apr 2003 05:39:50 -0000 1.3
***************
*** 32,35 ****
--- 32,38 ----
public class AsyncResult : IAsyncResult
+ #if CONFIG_REMOTING
+ , IMessageSink
+ #endif
{
// Internal state.
***************
*** 194,197 ****
--- 197,225 ----
}
}
+
+ #if CONFIG_REMOTING
+
+ // Implement the IMessageSink interface.
+ public IMessageSink NextSink
+ {
+ get
+ {
+ // TODO
+ return null;
+ }
+ }
+ public virtual IMessageCtrl AsyncProcessMessage
+ (IMessage msg, IMessageSink replySink)
+ {
+ // TODO
+ return null;
+ }
+ public virtual IMessage SyncProcessMessage(IMessage msg)
+ {
+ // TODO
+ return null;
+ }
+
+ #endif // CONFIG_REMOTING
}; // class AsyncResult
Index: ConstructionCall.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/Remoting/Messaging/ConstructionCall.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** ConstructionCall.cs 19 Apr 2003 07:15:38 -0000 1.1
--- ConstructionCall.cs 23 Apr 2003 05:39:50 -0000 1.2
***************
*** 32,36 ****
[Serializable]
[CLSCompliant(false)]
! public class ConstructionCall : MethodCall, IConstructionCallMessage
{
// Internal state.
--- 32,37 ----
[Serializable]
[CLSCompliant(false)]
! public class ConstructionCall : MethodCall, IConstructionCallMessage,
! IMethodMessage,
IMessage
{
// Internal state.
Index: ConstructionResponse.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/Remoting/Messaging/ConstructionResponse.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** ConstructionResponse.cs 19 Apr 2003 07:15:38 -0000 1.1
--- ConstructionResponse.cs 23 Apr 2003 05:39:50 -0000 1.2
***************
*** 32,36 ****
[Serializable]
[CLSCompliant(false)]
! public class ConstructionResponse : MethodResponse, IConstructionReturnMessage
{
// Constructor.
--- 32,37 ----
[Serializable]
[CLSCompliant(false)]
! public class ConstructionResponse : MethodResponse,
IConstructionReturnMessage,
!
IMethodMessage, IMessage
{
// Constructor.
Index: Header.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/Remoting/Messaging/Header.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** Header.cs 17 Apr 2003 10:36:09 -0000 1.1
--- Header.cs 23 Apr 2003 05:39:50 -0000 1.2
***************
*** 28,86 ****
public class Header
{
! // Internal state.
! private String name;
! private Object value;
! private bool mustUnderstand;
! private String headerNamespace;
// Constructor.
public Header(String _Name, Object _Value)
{
! this.name = _Name;
! this.value = _Value;
}
public Header(String _Name, Object _Value, bool _MustUnderstand)
{
! this.name = _Name;
! this.value = _Value;
! this.mustUnderstand = _MustUnderstand;
}
public Header(String _Name, Object _Value, bool _MustUnderstand,
String _HeaderNamespace)
{
! this.name = _Name;
! this.value = _Value;
! this.mustUnderstand = _MustUnderstand;
! this.headerNamespace = _HeaderNamespace;
! }
!
! // Get the properties of this object.
! public String HeaderNamespace
! {
! get
! {
! return headerNamespace;
! }
! }
! public bool MustUnderstand
! {
! get
! {
! return mustUnderstand;
! }
! }
! public String Name
! {
! get
! {
! return name;
! }
! }
! public Object Value
! {
! get
! {
! return value;
! }
}
--- 28,56 ----
public class Header
{
! // Accessible internal state.
! public String Name;
! public Object Value;
! public bool MustUnderstand;
! public String HeaderNamespace;
// Constructor.
public Header(String _Name, Object _Value)
{
! this.Name = _Name;
! this.Value = _Value;
}
public Header(String _Name, Object _Value, bool _MustUnderstand)
{
! this.Name = _Name;
! this.Value = _Value;
! this.MustUnderstand = _MustUnderstand;
}
public Header(String _Name, Object _Value, bool _MustUnderstand,
String _HeaderNamespace)
{
! this.Name = _Name;
! this.Value = _Value;
! this.MustUnderstand = _MustUnderstand;
! this.HeaderNamespace = _HeaderNamespace;
}
Index: LogicalCallContext.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/Remoting/Messaging/LogicalCallContext.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** LogicalCallContext.cs 17 Apr 2003 10:36:09 -0000 1.1
--- LogicalCallContext.cs 23 Apr 2003 05:39:50 -0000 1.2
***************
*** 29,33 ****
[Serializable]
! public class LogicalCallContext : ISerializable, ICloneable
{
// Internal state.
--- 29,33 ----
[Serializable]
! public sealed class LogicalCallContext : ISerializable, ICloneable
{
// Internal state.
Index: MethodCall.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/Remoting/Messaging/MethodCall.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** MethodCall.cs 19 Apr 2003 07:15:38 -0000 1.1
--- MethodCall.cs 23 Apr 2003 05:39:50 -0000 1.2
***************
*** 31,35 ****
[Serializable]
[CLSCompliant(false)]
! public class MethodCall : IMethodCallMessage, ISerializable
{
// Internal state.
--- 31,36 ----
[Serializable]
[CLSCompliant(false)]
! public class MethodCall : IMethodCallMessage, ISerializable,
! IMethodMessage, IMessage
{
// Internal state.
***************
*** 51,55 ****
// Implement the IMethodCallMessage interface.
[TODO]
! public IDictionary Properties
{
get
--- 52,56 ----
// Implement the IMethodCallMessage interface.
[TODO]
! public virtual IDictionary Properties
{
get
Index: MethodCallMessageWrapper.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/Remoting/Messaging/MethodCallMessageWrapper.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** MethodCallMessageWrapper.cs 19 Apr 2003 07:15:38 -0000 1.1
--- MethodCallMessageWrapper.cs 23 Apr 2003 05:39:50 -0000 1.2
***************
*** 29,33 ****
public class MethodCallMessageWrapper
! : InternalMessageWrapper, IMethodCallMessage
{
// Internal state.
--- 29,33 ----
public class MethodCallMessageWrapper
! : InternalMessageWrapper, IMethodCallMessage, IMethodMessage, IMessage
{
// Internal state.
***************
*** 70,74 ****
}
}
! public LogicalCallContext LogicalCallContext
{
get
--- 70,74 ----
}
}
! public virtual LogicalCallContext LogicalCallContext
{
get
Index: MethodResponse.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/Remoting/Messaging/MethodResponse.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** MethodResponse.cs 19 Apr 2003 07:15:38 -0000 1.1
--- MethodResponse.cs 23 Apr 2003 05:39:50 -0000 1.2
***************
*** 31,35 ****
[Serializable]
[CLSCompliant(false)]
! public class MethodResponse : IMethodReturnMessage, ISerializable
{
// Internal state.
--- 31,36 ----
[Serializable]
[CLSCompliant(false)]
! public class MethodResponse : IMethodReturnMessage, ISerializable,
! IMethodMessage,
IMessage
{
// Internal state.
Index: MethodReturnMessageWrapper.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/Remoting/Messaging/MethodReturnMessageWrapper.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** MethodReturnMessageWrapper.cs 19 Apr 2003 07:15:38 -0000 1.1
--- MethodReturnMessageWrapper.cs 23 Apr 2003 05:39:50 -0000 1.2
***************
*** 29,33 ****
public class MethodReturnMessageWrapper
! : InternalMessageWrapper, IMethodReturnMessage
{
// Internal state.
--- 29,33 ----
public class MethodReturnMessageWrapper
! : InternalMessageWrapper, IMethodReturnMessage, IMethodMessage, IMessage
{
// Internal state.
Index: RemotingSurrogateSelector.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/Remoting/Messaging/RemotingSurrogateSelector.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** RemotingSurrogateSelector.cs 17 Apr 2003 10:36:09 -0000 1.1
--- RemotingSurrogateSelector.cs 23 Apr 2003 05:39:50 -0000 1.2
***************
*** 56,69 ****
// Implement the ISurrogateSelector interface.
[TODO]
! public void ChainSelector(ISurrogateSelector selector)
{
// TODO
}
! public ISurrogateSelector GetNextSelector()
{
return next;
}
[TODO]
! public ISerializationSurrogate GetSurrogate
(Type type, StreamingContext context,
out ISurrogateSelector selector)
--- 56,69 ----
// Implement the ISurrogateSelector interface.
[TODO]
! public virtual void ChainSelector(ISurrogateSelector selector)
{
// TODO
}
! public virtual ISurrogateSelector GetNextSelector()
{
return next;
}
[TODO]
! public virtual ISerializationSurrogate GetSurrogate
(Type type, StreamingContext context,
out ISurrogateSelector selector)
Index: ReturnMessage.cs
===================================================================
RCS file:
/cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/Remoting/Messaging/ReturnMessage.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** ReturnMessage.cs 17 Apr 2003 10:36:09 -0000 1.1
--- ReturnMessage.cs 23 Apr 2003 05:39:50 -0000 1.2
***************
*** 76,80 ****
}
}
! public Object ReturnValue
{
get
--- 76,80 ----
}
}
! public virtual Object ReturnValue
{
get
***************
*** 174,178 ****
// Implement the IMessage interface.
! public IDictionary Properties
{
get
--- 174,178 ----
// Implement the IMessage interface.
! public virtual IDictionary Properties
{
get
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Runtime/Remoting/Messaging AsyncResult.cs,1.2,1.3 ConstructionCall.cs,1.1,1.2 ConstructionResponse.cs,1.1,1.2 Header.cs,1.1,1.2 LogicalCallContext.cs,1.1,1.2 MethodCall.cs,1.1,1.2 MethodCallMessageWrapper.cs,1.1,1.2 MethodResponse.cs,1.1,1.2 MethodReturnMessageWrapper.cs,1.1,1.2 RemotingSurrogateSelector.cs,1.1,1.2 ReturnMessage.cs,1.1,1.2,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Runtime/Remoting/Lifetime ClientSponsor.cs,1.1,1.2 ILease.cs,1.1,1.2
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Runtime/Remoting/Contexts Context.cs,1.1,1.2 ContextProperty.cs,1.1,1.2 SynchronizationAttribute.cs,1.1,1.2
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Runtime/Remoting/Lifetime ClientSponsor.cs,1.1,1.2 ILease.cs,1.1,1.2
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Runtime/Remoting/Contexts Context.cs,1.1,1.2 ContextProperty.cs,1.1,1.2 SynchronizationAttribute.cs,1.1,1.2
- Index(es):