Interface ProtocolCodecFactory

    • Method Detail

      • getEncoder

        ProtocolEncoder getEncoder()
                            throws java.lang.Exception
        Returns a new (or reusable) instance of ProtocolEncoder which encodes message objects into binary or protocol-specific data.
        Throws:
        java.lang.Exception
      • getDecoder

        ProtocolDecoder getDecoder()
                            throws java.lang.Exception
        Returns a new (or reusable) instance of ProtocolDecoder which decodes binary or protocol-specific data into message objects.
        Throws:
        java.lang.Exception