Klasse IndicationWithResponse

Alle implementierten Schnittstellen:
Runnable, org.eclipse.net4j.util.container.IManagedContainerProvider
Bekannte direkte Unterklassen:
EntityIndication, IndicationWithMonitoring

public abstract class IndicationWithResponse extends SignalReactor
Represents the receiver side of a two-way signal, i.e., one with a response.
Autor:
Eike Stepper
  • Konstruktordetails

    • IndicationWithResponse

      public IndicationWithResponse(SignalProtocol<?> protocol, short id, String name)
      Seit:
      2.0
    • IndicationWithResponse

      public IndicationWithResponse(SignalProtocol<?> protocol, short signalID)
      Seit:
      2.0
    • IndicationWithResponse

      public IndicationWithResponse(SignalProtocol<?> protocol, Enum<?> literal)
      Seit:
      2.0
  • Methodendetails

    • closeChannelAfterException

      protected boolean closeChannelAfterException()
      Seit:
      4.4
    • getExceptionMessage

      protected String getExceptionMessage(Throwable t)
      Seit:
      2.0
    • execute

      protected void execute(BufferInputStream in, BufferOutputStream out) throws Exception
      Angegeben von:
      execute in Klasse Signal
      Löst aus:
      Exception
    • indicating

      protected abstract void indicating(org.eclipse.net4j.util.io.ExtendedDataInputStream in) throws Exception
      Löst aus:
      Exception
    • responding

      protected abstract void responding(org.eclipse.net4j.util.io.ExtendedDataOutputStream out) throws Exception
      Important Note: The response must not be empty, i.e. the stream must be used at least to write a boolean. Otherwise synchronization problems will result!
      Löst aus:
      Exception