Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/interfaces/nodes/IPeerNodeProperties.java')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/interfaces/nodes/IPeerNodeProperties.java141
1 files changed, 141 insertions, 0 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/interfaces/nodes/IPeerNodeProperties.java b/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/interfaces/nodes/IPeerNodeProperties.java
new file mode 100644
index 000000000..3e5491003
--- /dev/null
+++ b/target_explorer/plugins/org.eclipse.tcf.te.tcf.locator/src/org/eclipse/tcf/te/tcf/locator/interfaces/nodes/IPeerNodeProperties.java
@@ -0,0 +1,141 @@
+/*******************************************************************************
+ * Copyright (c) 2011, 2013 Wind River Systems, Inc. and others. All rights reserved.
+ * This program and the accompanying materials are made available under the terms
+ * of the Eclipse Public License v1.0 which accompanies this distribution, and is
+ * available at http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Wind River Systems - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.tcf.te.tcf.locator.interfaces.nodes;
+
+import org.eclipse.tcf.protocol.IPeer;
+import org.eclipse.tcf.te.runtime.interfaces.properties.IPropertiesContainer;
+
+/**
+ * Default set of peer node properties.
+ */
+public interface IPeerNodeProperties {
+
+ /**
+ * Property: The peer node connect state.
+ */
+ public static final String PROP_CONNECT_STATE = "connectState"; //$NON-NLS-1$
+
+ /**
+ * Property: The peer instance. Object stored here must be
+ * castable to {@link IPeer}.
+ */
+ public static final String PROP_INSTANCE = "instance"; //$NON-NLS-1$
+
+ /**
+ * Property: The list of known local service names.
+ */
+ public static final String PROP_LOCAL_SERVICES = "services.local"; //$NON-NLS-1$
+
+ /**
+ * Property: The list of known remote service names.
+ */
+ public static final String PROP_REMOTE_SERVICES = "services.remote"; //$NON-NLS-1$
+
+ /**
+ * Property: The redirection proxy peer id.
+ */
+ public static final String PROP_REDIRECT_PROXY = "redirect.proxy"; //$NON-NLS-1$
+
+ /**
+ * Property: The peer state.
+ */
+ public static final String PROP_STATE = "state"; //$NON-NLS-1$
+
+ /**
+ * Peer state: Not determined yet (unknown).
+ */
+ public static final int STATE_UNKNOWN = -1;
+
+ /**
+ * Peer state: Peer is reachable, no active communication channel is open.
+ */
+ public static final int STATE_REACHABLE = 0;
+
+ /**
+ * Peer state: Peer is reachable and an active communication channel is opened.
+ */
+ public static final int STATE_CONNECTED = 1;
+
+ /**
+ * Peer state: Peer is not reachable. Connection attempt timed out.
+ */
+ public static final int STATE_NOT_REACHABLE = 2;
+
+ /**
+ * Peer state: Peer is not reachable. Connection attempt terminated with error.
+ */
+ public static final int STATE_ERROR = 3;
+
+ /**
+ * Peer state: Peer is waiting to become ready.
+ */
+ public static final int STATE_WAITING_FOR_READY = 4;
+
+ /**
+ * Property: Reference counter tracking the active channels for this peer.
+ */
+ public static String PROP_CHANNEL_REF_COUNTER = "channelRefCounter.silent"; //$NON-NLS-1$
+
+ /**
+ * Property: Discovered target for a static peer
+ */
+ public static final String PROP_TARGET = "Target"; //$NON-NLS-1$
+
+ /**
+ * Property: Exclude from scanner process. If set to <code>true</code>, the node will not be scanned
+ * by the scanner.
+ */
+ public static String PROP_SCANNER_EXCLUDE = "scanner.exclude.silent"; //$NON-NLS-1$
+
+ /**
+ * Property: The last error the scanner encounter trying to open a channel to this peer.
+ */
+ public static String PROP_LAST_SCANNER_ERROR = "lastScannerError"; //$NON-NLS-1$
+
+ /**
+ * Property: The peer type.
+ */
+ public static final String PROP_TYPE = "Type" + IPropertiesContainer.PERSISTENT_PROPERTY; //$NON-NLS-1$
+
+ /**
+ * Property: List of TCF services the peer would have when it goes online (comma separated list).
+ */
+ public static final String PROP_OFFLINE_SERVICES = "OfflineServices" + IPropertiesContainer.PERSISTENT_PROPERTY; //$NON-NLS-1$
+
+ /**
+ * Property: The peer visible state.
+ */
+ public static final String PROP_VISIBLE = "Visible" + IPropertiesContainer.PERSISTENT_PROPERTY; //$NON-NLS-1$
+
+ /**
+ * Property: Launch simulator
+ */
+ public static final String PROP_SIM_ENABLED = "SimulatorEnabled" + IPropertiesContainer.PERSISTENT_PROPERTY; //$NON-NLS-1$
+
+ /**
+ * Property: Simulator properties
+ */
+ public static final String PROP_SIM_PROPERTIES = "SimulatorProperties" + IPropertiesContainer.PERSISTENT_PROPERTY; //$NON-NLS-1$
+
+ /**
+ * Property: Last selected simulator type
+ */
+ public static final String PROP_SIM_TYPE = "SimulatorType" + IPropertiesContainer.PERSISTENT_PROPERTY; //$NON-NLS-1$
+
+ /**
+ * Property: Auto-start the debugger after the agent launch.
+ */
+ public static final String PROP_AUTO_START_DEBUGGER = "autoStartDebugger" + IPropertiesContainer.PERSISTENT_PROPERTY; //$NON-NLS-1$
+
+ /**
+ * Property: Connect after the configuration has been created.
+ */
+ public static final String PROP_AUTO_CONNECT = "autoConnect"; //$NON-NLS-1$
+}

Back to the top