Schnittstelle IBufferHandler

Alle bekannten Unterschnittstellen:
IChannel, IJVMChannel, InternalChannel, IProtocol<INFRA_STRUCTURE>, IProtocol2<INFRA_STRUCTURE>, IProtocol3<INFRA_STRUCTURE>, ISignalProtocol<INFRA_STRUCTURE>, ISignalProtocol.WithSignalCounters<INFRA_STRUCTURE>
Alle bekannten Implementierungsklassen:
AuthenticatingSignalProtocol, BufferInputStream, Channel, ChannelInputStream, HeartBeatProtocol, HeartBeatProtocol.Server, Protocol, SignalProtocol

public interface IBufferHandler
Provides clients with the ability to pass IBuffers in for further buffer handling.
Autor:
Eike Stepper
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    Handles an IBuffer and possibly releases it.
  • Methodendetails

    • handleBuffer

      void handleBuffer(IBuffer buffer)
      Handles an IBuffer and possibly releases it.

      The implementor of this method takes over the ownership of the buffer. Care must be taken to properly release the buffer if the ownership is not explicitly passed on to some further party.

      Parameter:
      buffer - The buffer to be handled.