Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authoreutarass2010-07-12 17:15:27 -0400
committereutarass2010-07-12 17:15:27 -0400
commit3f0dda210a02e7f905561566a7c774a83408d762 (patch)
tree63f3da39494db8d1ff861b2c5f99bb712c72337e /docs
parentd72141d6ce4d9b4b53a1238f10d7143b6c721e40 (diff)
downloadorg.eclipse.tcf-3f0dda210a02e7f905561566a7c774a83408d762.tar.gz
org.eclipse.tcf-3f0dda210a02e7f905561566a7c774a83408d762.tar.xz
org.eclipse.tcf-3f0dda210a02e7f905561566a7c774a83408d762.zip
Locator.redirect command changed to allow command argument to be either peer ID or complete set of peer attributes.
This allow a client to redirect a channel to a peer that is not known by remote Locator.
Diffstat (limited to 'docs')
-rw-r--r--docs/TCF Specification.html16
1 files changed, 13 insertions, 3 deletions
diff --git a/docs/TCF Specification.html b/docs/TCF Specification.html
index 7e42cb695..fc7c8dd33 100644
--- a/docs/TCF Specification.html
+++ b/docs/TCF Specification.html
@@ -1263,7 +1263,7 @@ targets require no further configuration. Additional targets can be configured m
<p>All TCF peers must implement Locator service. The implementation is part of the framework itself.
It is the only required service, all other services are optional and, formally, not part of the framework.</p>
-<h2><a name='LocatorPeer'>Peer Atributes</a></h2>
+<h2><a name='LocatorPeer'>Peer Attributes</a></h2>
<p><i>&lt;object: peer data&gt;</i> is collection of peer attributes. It should, at least, contain member
<b><font face="Courier New" size=2 color=#333399>"ID" : <i>&lt;string&gt;</i></font></b>.
@@ -1272,7 +1272,13 @@ Predefined attributes are:</p>
<ul>
<li><code><b><font face="Courier New" size=2 color=#333399>"ID" : <i>&lt;string&gt;</i></font></b></code>
- - ID of the peer.
+ - unique ID of the peer.
+
+ <li><code><b><font face="Courier New" size=2 color=#333399>"ServiceManagerID" : <i>&lt;string&gt;</i></font></b></code>
+ - unique ID of service manager that is represented by this peer.
+
+ <li><code><b><font face="Courier New" size=2 color=#333399>"AgentID" : <i>&lt;string&gt;</i></font></b></code>
+ - agent unique ID.
<li><code><b><font face="Courier New" size=2 color=#333399>"Name" : <i>&lt;string&gt;</i></font></b></code>
- human readable peer name.
@@ -1306,7 +1312,11 @@ at services it implements (use IChannel.getRemoteServices() method to get a map
<h3><a name='LocatorCommandRedirect'>redirect</a></h3>
<pre><b><font face="Courier New" size=2 color=#333399>
-C &bull; <i>&lt;token&gt;</i> &bull; Locator &bull; redirect &bull; <i>&lt;string: peer ID&gt;</i> &bull;
+C &bull; <i>&lt;token&gt;</i> &bull; Locator &bull; redirect &bull; <i>&lt;peer&gt;</i> &bull;
+
+<i>&lt;peer&gt;</i>
+ &rArr; <i>&lt;string: peer ID&gt;</i>
+ &rArr; <i>&lt;object: peer data&gt;</i>
</font></b></pre>
<p>The command redirects the channel to become connected to given peer.

Back to the top