Class WSTCPFramedConnectionHandler

  • All Implemented Interfaces:
    org.glassfish.grizzly.filterchain.Filter

    public final class WSTCPFramedConnectionHandler
    extends org.glassfish.grizzly.filterchain.BaseFilter
    Author:
    Alexey Stashok
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void attachChannel​(SocketChannel socketChannel)  
      org.glassfish.grizzly.filterchain.NextAction handle​(org.glassfish.grizzly.filterchain.FilterChainContext ctx)  
      org.glassfish.grizzly.filterchain.NextAction handleConnect​(org.glassfish.grizzly.filterchain.FilterChainContext ctx)  
      org.glassfish.grizzly.filterchain.NextAction handleRead​(org.glassfish.grizzly.filterchain.FilterChainContext ctx)  
      org.glassfish.grizzly.filterchain.NextAction handleWrite​(org.glassfish.grizzly.filterchain.FilterChainContext ctx)  
      • Methods inherited from class org.glassfish.grizzly.filterchain.BaseFilter

        createContext, exceptionOccurred, handleAccept, handleClose, handleEvent, onAdded, onFilterChainChanged, onRemoved, toString
    • Constructor Detail

      • WSTCPFramedConnectionHandler

        public WSTCPFramedConnectionHandler()
    • Method Detail

      • handle

        public org.glassfish.grizzly.filterchain.NextAction handle​(org.glassfish.grizzly.filterchain.FilterChainContext ctx)
                                                            throws IOException
        Throws:
        IOException
      • handleRead

        public org.glassfish.grizzly.filterchain.NextAction handleRead​(org.glassfish.grizzly.filterchain.FilterChainContext ctx)
                                                                throws IOException
        Specified by:
        handleRead in interface org.glassfish.grizzly.filterchain.Filter
        Overrides:
        handleRead in class org.glassfish.grizzly.filterchain.BaseFilter
        Throws:
        IOException
      • handleWrite

        public org.glassfish.grizzly.filterchain.NextAction handleWrite​(org.glassfish.grizzly.filterchain.FilterChainContext ctx)
                                                                 throws IOException
        Specified by:
        handleWrite in interface org.glassfish.grizzly.filterchain.Filter
        Overrides:
        handleWrite in class org.glassfish.grizzly.filterchain.BaseFilter
        Throws:
        IOException
      • handleConnect

        public org.glassfish.grizzly.filterchain.NextAction handleConnect​(org.glassfish.grizzly.filterchain.FilterChainContext ctx)
                                                                   throws IOException
        Specified by:
        handleConnect in interface org.glassfish.grizzly.filterchain.Filter
        Overrides:
        handleConnect in class org.glassfish.grizzly.filterchain.BaseFilter
        Throws:
        IOException
      • attachChannel

        public void attachChannel​(SocketChannel socketChannel)