static private UnmarshalProperties ( IDictionary dict, int count, |
||
dict | IDictionary | |
count | int | |
args | ||
return | void |
internal MethodResponse(IMethodCallMessage msg, CADMethodReturnMessage retmsg) { _callMsg = msg; _methodBase = msg.MethodBase; //_typeName = msg.TypeName; _uri = msg.Uri; _methodName = msg.MethodName; // Get unmarshalled arguments ArrayList args = retmsg.GetArguments(); _exception = retmsg.GetException(args); _returnValue = retmsg.GetReturnValue(args); _args = retmsg.GetArgs(args); _callContext = retmsg.GetLogicalCallContext(args); if (_callContext == null) { _callContext = new LogicalCallContext(); } if (retmsg.PropertiesCount > 0) { CADMessageBase.UnmarshalProperties(Properties, retmsg.PropertiesCount, args); } }
internal MethodCall(CADMethodCallMessage msg) { this._uri = string.Copy(msg.Uri); ArrayList arguments = msg.GetArguments(); this._args = msg.GetArgs(arguments); this._callContext = msg.GetLogicalCallContext(arguments); if (this._callContext == null) { this._callContext = new LogicalCallContext(); } this._methodBase = msg.GetMethod(); this.Init(); if (msg.PropertiesCount > 0) { CADMessageBase.UnmarshalProperties(this.Properties, msg.PropertiesCount, arguments); } }
internal MethodResponse(IMethodCallMessage msg, CADMethodReturnMessage retmsg) { this._callMsg = msg; this._methodBase = msg.MethodBase; this._uri = msg.Uri; this._methodName = msg.MethodName; ArrayList arguments = retmsg.GetArguments(); this._exception = retmsg.GetException(arguments); this._returnValue = retmsg.GetReturnValue(arguments); this._args = retmsg.GetArgs(arguments); this._callContext = retmsg.GetLogicalCallContext(arguments); if (this._callContext == null) { this._callContext = new LogicalCallContext(); } if (retmsg.PropertiesCount > 0) { CADMessageBase.UnmarshalProperties(this.Properties, retmsg.PropertiesCount, arguments); } }
internal MethodCall(CADMethodCallMessage msg) { _uri = string.Copy(msg.Uri); // Get unmarshalled arguments ArrayList args = msg.GetArguments(); _args = msg.GetArgs(args); _callContext = msg.GetLogicalCallContext(args); if (_callContext == null) { _callContext = new LogicalCallContext(); } _methodBase = msg.GetMethod(); Init(); if (msg.PropertiesCount > 0) { CADMessageBase.UnmarshalProperties(Properties, msg.PropertiesCount, args); } }