summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-02-24 06:23:21 (EST)
committerEike Stepper2007-02-24 06:23:21 (EST)
commita29cd83737980bb1b2a053a0b9f65076c960c053 (patch)
treed33b4f173963b4dfbd068cc12ec09a4c471201b4
parentedb1c1b2d1a9f0a9886f8c188ee1ce15bc498f02 (diff)
downloadcdo-a29cd83737980bb1b2a053a0b9f65076c960c053.zip
cdo-a29cd83737980bb1b2a053a0b9f65076c960c053.tar.gz
cdo-a29cd83737980bb1b2a053a0b9f65076c960c053.tar.bz2
*** empty log message ***
-rw-r--r--plugins/org.eclipse.net4j/src/org/eclipse/net4j/transport/Channel.java2
-rw-r--r--plugins/org.eclipse.net4j/src/org/eclipse/net4j/util/lifecycle/LifecycleAdapter.java33
2 files changed, 35 insertions, 0 deletions
diff --git a/plugins/org.eclipse.net4j/src/org/eclipse/net4j/transport/Channel.java b/plugins/org.eclipse.net4j/src/org/eclipse/net4j/transport/Channel.java
index 879052e..36c57a8 100644
--- a/plugins/org.eclipse.net4j/src/org/eclipse/net4j/transport/Channel.java
+++ b/plugins/org.eclipse.net4j/src/org/eclipse/net4j/transport/Channel.java
@@ -24,6 +24,8 @@ package org.eclipse.net4j.transport;
*/
public interface Channel extends BufferHandler
{
+ public ChannelID getID();
+
public short getChannelIndex();
public Connector getConnector();
diff --git a/plugins/org.eclipse.net4j/src/org/eclipse/net4j/util/lifecycle/LifecycleAdapter.java b/plugins/org.eclipse.net4j/src/org/eclipse/net4j/util/lifecycle/LifecycleAdapter.java
new file mode 100644
index 0000000..a09611a
--- /dev/null
+++ b/plugins/org.eclipse.net4j/src/org/eclipse/net4j/util/lifecycle/LifecycleAdapter.java
@@ -0,0 +1,33 @@
+/***************************************************************************
+ * Copyright (c) 2004-2007 Eike Stepper, Germany.
+ * 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:
+ * Eike Stepper - initial API and implementation
+ **************************************************************************/
+package org.eclipse.net4j.util.lifecycle;
+
+/**
+ * @author Eike Stepper
+ */
+public abstract class LifecycleAdapter implements LifecycleListener
+{
+ protected LifecycleAdapter()
+ {
+ }
+
+ public void notifyLifecycleAboutToActivate(LifecycleNotifier notifier)
+ {
+ }
+
+ public void notifyLifecycleActivated(LifecycleNotifier notifier)
+ {
+ }
+
+ public void notifyLifecycleDeactivating(LifecycleNotifier notifier)
+ {
+ }
+}