diff options
author | eutarass | 2009-10-16 19:29:06 +0000 |
---|---|---|
committer | eutarass | 2009-10-16 19:29:06 +0000 |
commit | 7a6f089a737b66fc0b892be00df84819fec1c0e7 (patch) | |
tree | 16cce240a8a237d37e27b4e9ae745a6dc68411ae | |
parent | 7cc57a3e1a109e8bd4ba34a7df922c3eac43bbd7 (diff) | |
download | org.eclipse.tcf-7a6f089a737b66fc0b892be00df84819fec1c0e7.tar.gz org.eclipse.tcf-7a6f089a737b66fc0b892be00df84819fec1c0e7.tar.xz org.eclipse.tcf-7a6f089a737b66fc0b892be00df84819fec1c0e7.zip |
Fixed some docs no being in sync with the code.
-rw-r--r-- | docs/TCF Services.html | 3 | ||||
-rw-r--r-- | docs/TCF Specification.html | 42 |
2 files changed, 36 insertions, 9 deletions
diff --git a/docs/TCF Services.html b/docs/TCF Services.html index 4b84061ff..11b348a5a 100644 --- a/docs/TCF Services.html +++ b/docs/TCF Services.html @@ -178,6 +178,8 @@ error code and a short, localizable, human readable explanation of the error.</p INV_DWARF = 21 SYM_NOT_FOUND = 22 UNSUPPORTED = 23 + INV_DATA_TYPE = 24 + INV_COMMAND = 25 </code></pre> </p> @@ -192,6 +194,7 @@ same way as "OTHER".</p> <h2><a name='Services'>Services</h2> <ul> + <li><a href='TCF Specification.html#Locator'>Locator Service</a> <li><a href='TCF Service - Memory.html'>Memory Service</a> <li><a href='TCF Service - Processes.html'>Processes Service</a> <li><a href='TCF Service - Run Control.html'>Run Control Service</a> diff --git a/docs/TCF Specification.html b/docs/TCF Specification.html index 5b443425c..adfbba7c7 100644 --- a/docs/TCF Specification.html +++ b/docs/TCF Specification.html @@ -1341,6 +1341,7 @@ E • Locator • Hello • <i><array: service names></i> • E • Locator • peerAdded • <i><object: peer data></i> • E • Locator • peerChanged • <i><object: peer data></i> • E • Locator • peerRemoved • <i><string: peer ID></i> • +E • Locator • peerHeartBeat • <i><string: peer ID></i> • </font></b></pre> <dl> @@ -1358,6 +1359,9 @@ E • Locator • peerRemoved • <i><string: peer ID></i> • <dd>is sent when peer attributes change. <dt><b>peerRemoved</b> <dd>is sent when the service deletes information about a peer. + <dt><b>peerHeartBeat</b> + <dd>is sent periodically when the service receives a communication from the peer + that confirms that the peer is still alive. </dl> <h2><a name='LocatorAPI'>Locator Service API</a></h2> @@ -1436,14 +1440,13 @@ E • Locator • peerRemoved • <i><string: peer ID></i> • <font color=#3F5FBF>/** * ILocator service uses transport layer to search for peers and to collect data about - * peer's attributes and capabilities (services). Discovery mechanism depends on - * transport protocol and is part of that protocol handler. Targets, known by other - * hosts, are added to local list of peers. - * Automatically discovered targets require no further configuration. Additional targets - * can be configured manually. + * peer’s attributes and capabilities (services). Discovery mechanism depends on transport protocol + * and is part of that protocol handler. Targets, known to other hosts, can be found through + * remote instances of ILocator service. Automatically discovered targets require no further + * configuration. Additional targets can be configured manually. * * Clients should use Protocol.getLocator() to obtain local instance of ILocator, - * then ILocator.getPeers() can be used to get of available peers (hosts and targets). + * then ILocator.getPeers() can be used to get list of available peers (hosts and targets). */</font> <font color=#7F0055>public interface</font> ILocator <font color=#7F0055>extends</font> IService { @@ -1454,7 +1457,9 @@ E • Locator • peerRemoved • <i><string: peer ID></i> • */</font> <font color=#7F0055>static final int</font> <i><font color=#0000C0>CONF_REQ_INFO</font></i> = 1, - <i><font color=#0000C0>CONF_PEER_INFO</font></i> = 2; + <i><font color=#0000C0>CONF_PEER_INFO</font></i> = 2, + <i><font color=#0000C0>CONF_REQ_SLAVES</font></i> = 3, + <i><font color=#0000C0>CONF_SLAVES_INFO</font></i> = 4; <font color=#3F5FBF>/** * <font color=#7F9FBF>@return</font> Locator service name: "Locator" @@ -1470,6 +1475,7 @@ E • Locator • peerRemoved • <i><string: peer ID></i> • <font color=#3F5FBF>/** * Redirect this service channel to given peer using this service as a proxy. + * @param peer_id - Peer ID. */</font> IToken redirect(String peer_id, DoneRedirect done); @@ -1507,11 +1513,29 @@ E • Locator • peerRemoved • <i><string: peer ID></i> • <font color=#7F0055>void</font> removeListener(Listener listener); <font color=#7F0055>interface</font> Listener { + <font color=#3F5FBF>/** + * A new peer is added into locator peer table. + * @param peer + */</font> <font color=#7F0055>void</font> peerAdded(IPeer peer); - <font color=#7F0055>void</font> peerRemoved(IPeer peer); - + <font color=#3F5FBF>/** + * Peer attributes have changed. + * @param peer + */</font> <font color=#7F0055>void</font> peerChanged(IPeer peer); + + <font color=#3F5FBF>/** + * A peer is removed from locator peer table. + * @param id - peer ID + */</font> + <font color=#7F0055>void</font> peerRemoved(String id); + + <font color=#3F5FBF>/** + * Peer heart beat detected. + * @param id - peer ID + */</font> + <font color=#7F0055>void</font> peerHeartBeat(String id); } } </pre> |