diff options
Diffstat (limited to 'plugins/org.eclipse.net4j/src/org/eclipse/net4j/signal/Indication.java')
-rw-r--r-- | plugins/org.eclipse.net4j/src/org/eclipse/net4j/signal/Indication.java | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/plugins/org.eclipse.net4j/src/org/eclipse/net4j/signal/Indication.java b/plugins/org.eclipse.net4j/src/org/eclipse/net4j/signal/Indication.java deleted file mode 100644 index 731a005fbe..0000000000 --- a/plugins/org.eclipse.net4j/src/org/eclipse/net4j/signal/Indication.java +++ /dev/null @@ -1,49 +0,0 @@ -/*************************************************************************** - * Copyright (c) 2004 - 2008 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.signal; - -import org.eclipse.net4j.buffer.BufferInputStream; -import org.eclipse.net4j.buffer.BufferOutputStream; -import org.eclipse.net4j.internal.util.om.trace.ContextTracer; -import org.eclipse.net4j.util.ReflectUtil; -import org.eclipse.net4j.util.io.ExtendedDataInputStream; - -import org.eclipse.internal.net4j.bundle.OM; - -import java.io.IOException; -import java.io.InputStream; - -/** - * @author Eike Stepper - */ -public abstract class Indication extends SignalReactor -{ - private static final ContextTracer TRACER = new ContextTracer(OM.DEBUG_SIGNAL, Indication.class); - - protected Indication() - { - } - - @Override - protected final void execute(BufferInputStream in, BufferOutputStream out) throws Exception - { - if (TRACER.isEnabled()) - { - TRACER.trace("================ Indicating " + ReflectUtil.getSimpleClassName(this)); //$NON-NLS-1$ - } - - InputStream wrappedInputStream = wrapInputStream(in); - indicating(ExtendedDataInputStream.wrap(wrappedInputStream)); - finishInputStream(wrappedInputStream); - } - - protected abstract void indicating(ExtendedDataInputStream in) throws IOException; -} |