You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by gr...@apache.org on 2021/01/16 00:41:55 UTC
[royale-asjs] branch develop updated: Use AMFNetConnection.call()'s
command parameter for the AMF targetURI
This is an automated email from the ASF dual-hosted git repository.
gregdove pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new 294be97 Use AMFNetConnection.call()'s command parameter for the AMF targetURI
new 085f9c7 Merge pull request #1056 from SemiConscious/feature/enable-AMF-target-URI
294be97 is described below
commit 294be97fbcad6fe5fb5ce6d4f8fb4402d485ea77
Author: Jim Page <ji...@redmatter.com>
AuthorDate: Thu Jan 14 16:42:59 2021 +0000
Use AMFNetConnection.call()'s command parameter for the AMF targetURI
---
.../main/royale/org/apache/royale/net/remoting/amf/AMFNetConnection.as | 2 ++
1 file changed, 2 insertions(+)
diff --git a/frameworks/projects/Network/src/main/royale/org/apache/royale/net/remoting/amf/AMFNetConnection.as b/frameworks/projects/Network/src/main/royale/org/apache/royale/net/remoting/amf/AMFNetConnection.as
index 2c1b3d0..a2638a6 100644
--- a/frameworks/projects/Network/src/main/royale/org/apache/royale/net/remoting/amf/AMFNetConnection.as
+++ b/frameworks/projects/Network/src/main/royale/org/apache/royale/net/remoting/amf/AMFNetConnection.as
@@ -301,6 +301,7 @@ public class AMFNetConnection
requestQueue.push(
{
url: url,
+ targetURI: command,
responder: responder,
args: params
}
@@ -328,6 +329,7 @@ public class AMFNetConnection
var actionMessage:ActionMessage = new ActionMessage();
var messageBody:MessageBody = new MessageBody();
sequence++;
+ messageBody.targetURI = call.item.targetURI;
messageBody.responseURI = "/" + sequence.toString();
messageBody.data = args;
actionMessage.bodies = [ messageBody ];