[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 ConstructionCall.cs,NONE,1.1 ConstructionResponse.cs,NONE,1.1 InternalMessageWrapper.cs,NONE,1.1 MethodCall.cs,NONE,1.1 MethodCallMessageWrapper.cs,NONE,1.1 MethodResponse.cs,NONE,1.1 MethodReturnMessageWrapper.cs,NONE,1.1 |
Date: |
Sat, 19 Apr 2003 03:15:40 -0400 |
Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System/Runtime/Remoting/Messaging
In directory
subversions:/tmp/cvs-serv15432/runtime/System/Runtime/Remoting/Messaging
Added Files:
ConstructionCall.cs ConstructionResponse.cs
InternalMessageWrapper.cs MethodCall.cs
MethodCallMessageWrapper.cs MethodResponse.cs
MethodReturnMessageWrapper.cs
Log Message:
Stub the remainder of the "System.Remoting" namespace.
--- NEW FILE ---
/*
* ConstructionCall.cs - Implementation of the
* "System.Runtime.Remoting.Messaging.ConstructionCall"
class.
*
* Copyright (C) 2003 Southern Storm Software, Pty Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
namespace System.Runtime.Remoting.Messaging
{
#if CONFIG_REMOTING
using System.Collections;
using System.Reflection;
using System.Runtime.Serialization;
using System.Runtime.Remoting.Activation;
[Serializable]
[CLSCompliant(false)]
public class ConstructionCall : MethodCall, IConstructionCallMessage
{
// Internal state.
private IActivator activator;
// Constructors.
public ConstructionCall(Header[] h1) : base(h1) {}
public ConstructionCall(IMessage msg) : base(msg) {}
// Implement the IConstructionCallMessage interface.
public Type ActivationType
{
get
{
// TODO
return null;
}
}
public String ActivationTypeName
{
get
{
// TODO
return null;
}
}
public IActivator Activator
{
get
{
return activator;
}
set
{
activator = value;
}
}
public Object[] CallSiteActivationAttributes
{
get
{
// TODO
return null;
}
}
public IList ContextProperties
{
get
{
// TODO
return null;
}
}
// Override the parent properties.
public override IDictionary Properties
{
get
{
// TODO
return null;
}
}
}; // class ConstructionCall
#endif // CONFIG_REMOTING
}; // namespace System.Runtime.Remoting.Messaging
--- NEW FILE ---
/*
* ConstructionResponse.cs - Implementation of the
*
"System.Runtime.Remoting.Messaging.ConstructionResponse" class.
*
* Copyright (C) 2003 Southern Storm Software, Pty Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
namespace System.Runtime.Remoting.Messaging
{
#if CONFIG_REMOTING
using System.Collections;
using System.Reflection;
using System.Runtime.Serialization;
using System.Runtime.Remoting.Activation;
[Serializable]
[CLSCompliant(false)]
public class ConstructionResponse : MethodResponse, IConstructionReturnMessage
{
// Constructor.
public ConstructionResponse(Header[] h1, IMethodCallMessage mcm)
: base(h1, mcm) {}
// Override the properties from the base class.
public override IDictionary Properties
{
get
{
// TODO
return null;
}
}
}; // class ConstructionResponse
#endif // CONFIG_REMOTING
}; // namespace System.Runtime.Remoting.Messaging
--- NEW FILE ---
/*
* InternalMessageWrapper.cs - Implementation of the
*
"System.Runtime.Remoting.Messaging.InternalMessageWrapper" class.
*
* Copyright (C) 2003 Southern Storm Software, Pty Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
namespace System.Runtime.Remoting.Messaging
{
#if CONFIG_REMOTING
public class InternalMessageWrapper
{
// Internal state.
protected IMessage WrappedMessage;
// Constructor.
public InternalMessageWrapper(IMessage msg)
{
WrappedMessage = msg;
}
}; // class InternalMessageWrapper
#endif // CONFIG_REMOTING
}; // namespace System.Runtime.Remoting.Messaging
--- NEW FILE ---
/*
* MethodCall.cs - Implementation of the
* "System.Runtime.Remoting.Messaging.MethodCall" class.
*
* Copyright (C) 2003 Southern Storm Software, Pty Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
namespace System.Runtime.Remoting.Messaging
{
#if CONFIG_REMOTING
using System.Collections;
using System.Reflection;
using System.Runtime.Serialization;
[Serializable]
[CLSCompliant(false)]
public class MethodCall : IMethodCallMessage, ISerializable
{
// Internal state.
protected IDictionary ExternalProperties;
protected IDictionary InternalProperties;
// Constructors.
[TODO]
public MethodCall(Header[] h1)
{
// TODO
}
[TODO]
public MethodCall(IMessage msg)
{
// TODO
}
// Implement the IMethodCallMessage interface.
[TODO]
public IDictionary Properties
{
get
{
// TODO
return null;
}
}
[TODO]
public int ArgCount
{
get
{
// TODO
return 0;
}
}
[TODO]
public Object[] Args
{
get
{
// TODO
return null;
}
}
[TODO]
public bool HasVarArgs
{
get
{
// TODO
return false;
}
}
[TODO]
public LogicalCallContext LogicalCallContext
{
get
{
// TODO
return null;
}
}
[TODO]
public MethodBase MethodBase
{
get
{
// TODO
return null;
}
}
[TODO]
public String MethodName
{
get
{
// TODO
return null;
}
}
[TODO]
public Object MethodSignature
{
get
{
// TODO
return null;
}
}
[TODO]
public String TypeName
{
get
{
// TODO
return null;
}
}
[TODO]
public String Uri
{
get
{
// TODO
return null;
}
}
[TODO]
public int InArgCount
{
get
{
// TODO
return 0;
}
}
[TODO]
public Object[] InArgs
{
get
{
// TODO
return null;
}
}
[TODO]
public Object GetArg(int argNum)
{
// TODO
return null;
}
[TODO]
public String GetArgName(int index)
{
// TODO
return null;
}
[TODO]
public Object GetInArg(int argNum)
{
// TODO
return null;
}
[TODO]
public String GetInArgName(int index)
{
// TODO
return null;
}
// Implement the ISerializable interface.
[TODO]
public void GetObjectData(SerializationInfo info,
StreamingContext
context)
{
// TODO
}
// Handle incoming headers.
[TODO]
public virtual Object HeaderHandler(Header[] h)
{
// TODO
return null;
}
// Initialization helper.
public virtual void Init()
{
// Nothing to do here.
}
// Resolve the method.
[TODO]
public void ResolveMethod()
{
// TODO
}
// Set the root object data for this method call.
[TODO]
public void RootSetObjectData(SerializationInfo info,
StreamingContext context)
{
if(info == null)
{
throw new ArgumentNullException("info");
}
// TODO
}
// Set the server identity within this object.
[TODO]
internal void SetServerIdentity(Object srvID)
{
// TODO
}
}; // class MethodCall
#endif // CONFIG_REMOTING
}; // namespace System.Runtime.Remoting.Messaging
--- NEW FILE ---
/*
* MethodCallMessageWrapper.cs - Implementation of the
*
"System.Runtime.Remoting.Messaging.MethodCallMessageWrapper" class.
*
* Copyright (C) 2003 Southern Storm Software, Pty Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
namespace System.Runtime.Remoting.Messaging
{
#if CONFIG_REMOTING
using System.Collections;
using System.Reflection;
public class MethodCallMessageWrapper
: InternalMessageWrapper, IMethodCallMessage
{
// Internal state.
private IMethodCallMessage mcm;
// Constructor.
public MethodCallMessageWrapper(IMethodCallMessage msg)
: base(msg)
{
this.mcm = msg;
}
// Implement the IMethodCallMessage interface.
public virtual IDictionary Properties
{
get
{
return mcm.Properties;
}
}
public virtual int ArgCount
{
get
{
return mcm.ArgCount;
}
}
public virtual Object[] Args
{
get
{
return mcm.Args;
}
}
public virtual bool HasVarArgs
{
get
{
return mcm.HasVarArgs;
}
}
public LogicalCallContext LogicalCallContext
{
get
{
return mcm.LogicalCallContext;
}
}
public virtual MethodBase MethodBase
{
get
{
return mcm.MethodBase;
}
}
public virtual String MethodName
{
get
{
return mcm.MethodName;
}
}
public virtual Object MethodSignature
{
get
{
return mcm.MethodSignature;
}
}
public virtual String TypeName
{
get
{
return mcm.TypeName;
}
}
public virtual String Uri
{
get
{
return mcm.Uri;
}
}
public virtual int InArgCount
{
get
{
return mcm.InArgCount;
}
}
public virtual Object[] InArgs
{
get
{
return mcm.InArgs;
}
}
public virtual Object GetArg(int argNum)
{
return mcm.GetArg(argNum);
}
public virtual String GetArgName(int index)
{
return mcm.GetArgName(index);
}
public virtual Object GetInArg(int argNum)
{
return mcm.GetInArg(argNum);
}
public virtual String GetInArgName(int index)
{
return mcm.GetInArgName(index);
}
}; // class MethodCallMessageWrapper
#endif // CONFIG_REMOTING
}; // namespace System.Runtime.Remoting.Messaging
--- NEW FILE ---
/*
* MethodResponse.cs - Implementation of the
* "System.Runtime.Remoting.Messaging.MethodResponse"
class.
*
* Copyright (C) 2003 Southern Storm Software, Pty Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
namespace System.Runtime.Remoting.Messaging
{
#if CONFIG_REMOTING
using System.Collections;
using System.Reflection;
using System.Runtime.Serialization;
[Serializable]
[CLSCompliant(false)]
public class MethodResponse : IMethodReturnMessage, ISerializable
{
// Internal state.
protected IDictionary ExternalProperties;
protected IDictionary InternalProperties;
// Constructor.
[TODO]
public MethodResponse(Header[] h1, IMethodCallMessage mcm)
{
// TODO
}
// Implement the IMethodCallMessage interface.
[TODO]
public virtual IDictionary Properties
{
get
{
// TODO
return null;
}
}
[TODO]
public int ArgCount
{
get
{
// TODO
return 0;
}
}
[TODO]
public Object[] Args
{
get
{
// TODO
return null;
}
}
[TODO]
public bool HasVarArgs
{
get
{
// TODO
return false;
}
}
[TODO]
public LogicalCallContext LogicalCallContext
{
get
{
// TODO
return null;
}
}
[TODO]
public MethodBase MethodBase
{
get
{
// TODO
return null;
}
}
[TODO]
public String MethodName
{
get
{
// TODO
return null;
}
}
[TODO]
public Object MethodSignature
{
get
{
// TODO
return null;
}
}
[TODO]
public String TypeName
{
get
{
// TODO
return null;
}
}
[TODO]
public String Uri
{
get
{
// TODO
return null;
}
}
[TODO]
public Object GetArg(int argNum)
{
// TODO
return null;
}
[TODO]
public String GetArgName(int index)
{
// TODO
return null;
}
[TODO]
public Exception Exception
{
get
{
// TODO
return null;
}
}
[TODO]
public int OutArgCount
{
get
{
// TODO
return 0;
}
}
[TODO]
public Object[] OutArgs
{
get
{
// TODO
return null;
}
}
[TODO]
public Object ReturnValue
{
get
{
// TODO
return null;
}
}
[TODO]
public Object GetOutArg(int argNum)
{
// TODO
return null;
}
[TODO]
public String GetOutArgName(int index)
{
// TODO
return null;
}
// Implement the ISerializable interface.
public virtual void GetObjectData(SerializationInfo info,
StreamingContext context)
{
// Not needed.
throw new NotSupportedException();
}
// Handle incoming headers.
[TODO]
public virtual Object HeaderHandler(Header[] h)
{
// TODO
return null;
}
// Set the root object data for this method call.
[TODO]
public void RootSetObjectData(SerializationInfo info,
StreamingContext context)
{
if(info == null)
{
throw new ArgumentNullException("info");
}
// TODO
}
}; // class MethodResponse
#endif // CONFIG_REMOTING
}; // namespace System.Runtime.Remoting.Messaging
--- NEW FILE ---
/*
* MethodReturnMessageWrapper.cs - Implementation of the
* "System.Runtime.Remoting.Messaging.MethodReturnMessageWrapper"
class.
*
* Copyright (C) 2003 Southern Storm Software, Pty Ltd.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
namespace System.Runtime.Remoting.Messaging
{
#if CONFIG_REMOTING
using System.Collections;
using System.Reflection;
public class MethodReturnMessageWrapper
: InternalMessageWrapper, IMethodReturnMessage
{
// Internal state.
private IMethodReturnMessage mrm;
// Constructor.
public MethodReturnMessageWrapper(IMethodReturnMessage msg)
: base(msg)
{
this.mrm = msg;
}
// Implement the IMethodReturnMessage interface.
public virtual IDictionary Properties
{
get
{
return mrm.Properties;
}
}
public virtual int ArgCount
{
get
{
return mrm.ArgCount;
}
}
public virtual Object[] Args
{
get
{
return mrm.Args;
}
}
public virtual bool HasVarArgs
{
get
{
return mrm.HasVarArgs;
}
}
public virtual LogicalCallContext LogicalCallContext
{
get
{
return mrm.LogicalCallContext;
}
}
public virtual MethodBase MethodBase
{
get
{
return mrm.MethodBase;
}
}
public virtual String MethodName
{
get
{
return mrm.MethodName;
}
}
public virtual Object MethodSignature
{
get
{
return mrm.MethodSignature;
}
}
public virtual String TypeName
{
get
{
return mrm.TypeName;
}
}
public String Uri
{
get
{
return mrm.Uri;
}
}
public virtual Object GetArg(int argNum)
{
return mrm.GetArg(argNum);
}
public virtual String GetArgName(int index)
{
return mrm.GetArgName(index);
}
public virtual Exception Exception
{
get
{
return mrm.Exception;
}
}
public virtual int OutArgCount
{
get
{
return mrm.OutArgCount;
}
}
public virtual Object[] OutArgs
{
get
{
return mrm.OutArgs;
}
}
public virtual Object ReturnValue
{
get
{
return mrm.ReturnValue;
}
}
public virtual Object GetOutArg(int argNum)
{
return mrm.GetOutArg(argNum);
}
public virtual String GetOutArgName(int index)
{
return mrm.GetOutArgName(index);
}
}; // class MethodReturnMessageWrapper
#endif // CONFIG_REMOTING
}; // namespace System.Runtime.Remoting.Messaging
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Runtime/Remoting/Messaging ConstructionCall.cs,NONE,1.1 ConstructionResponse.cs,NONE,1.1 InternalMessageWrapper.cs,NONE,1.1 MethodCall.cs,NONE,1.1 MethodCallMessageWrapper.cs,NONE,1.1 MethodResponse.cs,NONE,1.1 MethodReturnMessageWrapper.cs,NONE,1.1,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Runtime/Remoting/Metadata/W3cXsd2001 SoapDateTime.cs,NONE,1.1 SoapDay.cs,NONE,1.1 SoapDuration.cs,NONE,1.1 SoapEntities.cs,NONE,1.1 SoapEntity.cs,NONE,1.1 SoapHexBinary.cs,NONE,1.1 SoapId.cs,NONE,1.1 SoapIdref.cs,NONE,1.1 SoapIdrefs.cs,NONE,1.1 SoapInteger.cs,NONE,1.1 SoapLanguage.cs,NONE,1.1 SoapMonth.cs,NONE,1.1 SoapMonthDay.cs,NONE,1.1 SoapName.cs,NONE,1.1 SoapNcName.cs,NONE,1.1 SoapNegativeInteger.cs,NONE,1.1 SoapNmtoken.cs,NONE,1.1 SoapNmtokens.cs,NONE,1.1 SoapNonNegativeInteger.cs,NONE,1.1 SoapNonPositiveInteger.cs,NONE,1.1 SoapNormalizedString.cs,NONE,1.1 SoapNotation.cs,NONE,1.1 SoapPositiveInteger.cs,NONE,1.1 SoapQName.cs,NONE,1.1 SoapTime.cs,NONE,1.1 SoapToken.cs,NONE,1.1 SoapYear.cs,NONE,1.1 SoapYearMonth.cs,NONE,1.1 SoapDate.cs,1.1,1.2
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Runtime/Serialization/Formatters - New directory
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Runtime/Remoting/Metadata/W3cXsd2001 SoapDateTime.cs,NONE,1.1 SoapDay.cs,NONE,1.1 SoapDuration.cs,NONE,1.1 SoapEntities.cs,NONE,1.1 SoapEntity.cs,NONE,1.1 SoapHexBinary.cs,NONE,1.1 SoapId.cs,NONE,1.1 SoapIdref.cs,NONE,1.1 SoapIdrefs.cs,NONE,1.1 SoapInteger.cs,NONE,1.1 SoapLanguage.cs,NONE,1.1 SoapMonth.cs,NONE,1.1 SoapMonthDay.cs,NONE,1.1 SoapName.cs,NONE,1.1 SoapNcName.cs,NONE,1.1 SoapNegativeInteger.cs,NONE,1.1 SoapNmtoken.cs,NONE,1.1 SoapNmtokens.cs,NONE,1.1 SoapNonNegativeInteger.cs,NONE,1.1 SoapNonPositiveInteger.cs,NONE,1.1 SoapNormalizedString.cs,NONE,1.1 SoapNotation.cs,NONE,1.1 SoapPositiveInteger.cs,NONE,1.1 SoapQName.cs,NONE,1.1 SoapTime.cs,NONE,1.1 SoapToken.cs,NONE,1.1 SoapYear.cs,NONE,1.1 SoapYearMonth.cs,NONE,1.1 SoapDate.cs,1.1,1.2
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/Runtime/Serialization/Formatters - New directory
- Index(es):