Class ConnectionSession

    • Method Detail

      • registerChannel

        public abstract void registerChannel​(@NotNull
                                             ChannelContext context)
      • deregisterChannel

        public abstract void deregisterChannel​(@NotNull
                                               ChannelContext context)
      • getChannelsAmount

        public abstract int getChannelsAmount()
      • init

        protected void init()
      • getAttribute

        @Nullable
        public Object getAttribute​(@NotNull
                                   String name)
      • setAttribute

        public void setAttribute​(@NotNull
                                 String name,
                                 @Nullable
                                 Object value)
      • onReadCompleted

        public void onReadCompleted()
      • findWSServiceContextByURI

        @Nullable
        public ChannelContext findWSServiceContextByURI​(@NotNull
                                                        WSTCPURI wsTCPURI)
      • findWSServiceContextByChannelId

        @Nullable
        public ChannelContext findWSServiceContextByChannelId​(int channelId)
      • getServiceChannelContext

        @NotNull
        public ChannelContext getServiceChannelContext()
      • close

        public void close()
        Specified by:
        close in interface Connection
      • getConnection

        public Connection getConnection()