com.kuka.comm.codec
Class Encoder.EncoderContext

java.lang.Object
  extended by com.kuka.comm.codec.Encoder.EncoderContext
Enclosing class:
Encoder<I,O>

protected static final class Encoder.EncoderContext
extends Object

This class can be used to do some more encoding after a concatenated encoder finished. To do this you can implement a Callable and store it with afterNextEncoder(Callable).

See Also:
Encoder.encodeImpl(Object, Object, EncoderContext)

Constructor Summary
protected Encoder.EncoderContext()
           
 
Method Summary
 void afterNextEncoder(Callable<Void> encoderTask)
          Stores a callable that gets executed after a concatenated encoder finished.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Encoder.EncoderContext

protected Encoder.EncoderContext()
Method Detail

afterNextEncoder

public void afterNextEncoder(Callable<Void> encoderTask)
Stores a callable that gets executed after a concatenated encoder finished.

Parameters:
encoderTask - the callable to be executed after a concatenated encoder


Copyright © 2019. All rights reserved.