Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2012-05-08 07:18:28 -0400
committerUwe Stieber2012-05-08 07:18:28 -0400
commit1a60321b65b4ceaaac00f297762bb184cfdc722b (patch)
treef84d73b663335496e3596f1b01bf0392ece7e25a
parent1248d500d54a3f3185ff9b35c00fe0b536c27b4e (diff)
downloadorg.eclipse.tcf-1a60321b65b4ceaaac00f297762bb184cfdc722b.tar.gz
org.eclipse.tcf-1a60321b65b4ceaaac00f297762bb184cfdc722b.tar.xz
org.eclipse.tcf-1a60321b65b4ceaaac00f297762bb184cfdc722b.zip
Target Explorer: Added peer type property constant
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/interfaces/nodes/IPeerModelProperties.java17
1 files changed, 11 insertions, 6 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/interfaces/nodes/IPeerModelProperties.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/interfaces/nodes/IPeerModelProperties.java
index 7aa099bcf..af6f510f2 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/interfaces/nodes/IPeerModelProperties.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/interfaces/nodes/IPeerModelProperties.java
@@ -40,32 +40,37 @@ public interface IPeerModelProperties {
/**
* Property: The peer state.
*/
- public static String PROP_STATE = "state"; //$NON-NLS-1$
+ public static final String PROP_STATE = "state"; //$NON-NLS-1$
/**
* Peer state: Not determined yet (unknown).
*/
- public static int STATE_UNKNOWN = -1;
+ public static final int STATE_UNKNOWN = -1;
/**
* Peer state: Peer is reachable, no active communication channel is open.
*/
- public static int STATE_REACHABLE = 0;
+ public static final int STATE_REACHABLE = 0;
/**
* Peer state: Peer is reachable and an active communication channel is opened.
*/
- public static int STATE_CONNECTED = 1;
+ public static final int STATE_CONNECTED = 1;
/**
* Peer state: Peer is not reachable. Connection attempt timed out.
*/
- public static int STATE_NOT_REACHABLE = 2;
+ public static final int STATE_NOT_REACHABLE = 2;
/**
* Peer state: Peer is not reachable. Connection attempt terminated with error.
*/
- public static int STATE_ERROR = 3;
+ public static final int STATE_ERROR = 3;
+
+ /**
+ * Property: The peer type.
+ */
+ public static final String PROP_TYPE = "Type"; //$NON-NLS-1$
/**
* Property: Reference counter tracking the active channels for this peer.

Back to the top