org.eclipse.net4j.signal
Class Indication

java.lang.Object
  extended by org.eclipse.net4j.signal.Signal
      extended by org.eclipse.net4j.signal.SignalReactor
          extended by org.eclipse.net4j.signal.Indication
All Implemented Interfaces:
Runnable

public abstract class Indication
extends SignalReactor

Represents the receiver side of a one-way signal, i.e., one with no response.


Field Summary
 
Fields inherited from class org.eclipse.net4j.signal.Signal
NO_TIMEOUT
 
Constructor Summary
Indication(SignalProtocol<?> protocol, Enum<?> literal)
           
Indication(SignalProtocol<?> protocol, short signalID)
           
Indication(SignalProtocol<?> protocol, short id, String name)
           
 
Method Summary
protected  void execute(BufferInputStream in, BufferOutputStream out)
           
protected abstract  void indicating(ExtendedDataInputStream in)
           
 
Methods inherited from class org.eclipse.net4j.signal.Signal
finishInputStream, finishOutputStream, flush, getBufferInputStream, getBufferOutputStream, getCorrelationID, getCurrentInputStream, getCurrentOutputStream, getID, getName, getProtocol, run, toString, wrapInputStream, wrapOutputStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Indication

public Indication(SignalProtocol<?> protocol,
                  short id,
                  String name)
Since:
2.0

Indication

public Indication(SignalProtocol<?> protocol,
                  short signalID)
Since:
2.0

Indication

public Indication(SignalProtocol<?> protocol,
                  Enum<?> literal)
Since:
2.0
Method Detail

execute

protected void execute(BufferInputStream in,
                       BufferOutputStream out)
                throws Exception
Specified by:
execute in class Signal
Throws:
Exception

indicating

protected abstract void indicating(ExtendedDataInputStream in)
                            throws Exception
Throws:
Exception


Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.