Class LineOrientedEncoder

  • All Implemented Interfaces:
    org.apache.mina.filter.codec.ProtocolEncoder

    public class LineOrientedEncoder
    extends org.apache.mina.filter.codec.ProtocolEncoderAdapter

    LineOrientedEncoder class.

    Version:
    $Id: $
    Author:
    Donald Desloge
    • Constructor Summary

      Constructors 
      Constructor Description
      LineOrientedEncoder​(java.nio.charset.Charset charset)
      Constructor for LineOrientedEncoder.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void encode​(org.apache.mina.core.session.IoSession session, java.lang.Object message, org.apache.mina.filter.codec.ProtocolEncoderOutput out)
      • Methods inherited from class org.apache.mina.filter.codec.ProtocolEncoderAdapter

        dispose
      • Methods inherited from class java.lang.Object

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

      • LineOrientedEncoder

        public LineOrientedEncoder​(java.nio.charset.Charset charset)

        Constructor for LineOrientedEncoder.

        Parameters:
        charset - a Charset object.
    • Method Detail

      • encode

        public void encode​(org.apache.mina.core.session.IoSession session,
                           java.lang.Object message,
                           org.apache.mina.filter.codec.ProtocolEncoderOutput out)
                    throws java.lang.Exception
        Throws:
        java.lang.Exception