Interface ChannelTransformer

  • All Implemented Interfaces:

    
    public interface ChannelTransformer
    
                        

    A transformer that can be used to transform a channel object before third parties can access it. This is useful for adding extra data to the channel object and/or encrypting/decrypting it.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Channel transform(Channel channel) Transforms the channel before returning it to the caller.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • transform

         abstract Channel transform(Channel channel)

        Transforms the channel before returning it to the caller. This can be used to add extra data to the channel object and/or encrypt/decrypt it.

        Returns:

        The transformed channel.