Class ProtocolSession

    • Constructor Detail

      • ProtocolSession

        public ProtocolSession​(QuicSession session)
    • Method Detail

      • getIdleTimeout

        public long getIdleTimeout()
      • getMaxLocalStreams

        public int getMaxLocalStreams()
      • getProducerTask

        public abstract java.lang.Runnable getProducerTask()
      • produce

        protected void produce()
      • offer

        public void offer​(java.lang.Runnable task,
                          boolean dispatch)
      • processWritableStreams

        protected void processWritableStreams()
      • onWritable

        protected void onWritable​(long writableStreamId)
      • processReadableStreams

        protected boolean processReadableStreams()
      • onReadable

        protected abstract boolean onReadable​(long readableStreamId)
      • openProtocolEndPoint

        public void openProtocolEndPoint​(QuicStreamEndPoint endPoint)
      • onIdleTimeout

        protected boolean onIdleTimeout()
      • onFailure

        protected void onFailure​(long error,
                                 java.lang.String reason,
                                 java.lang.Throwable failure)
      • inwardClose

        public void inwardClose​(long error,
                                java.lang.String reason)
      • outwardClose

        public void outwardClose​(long error,
                                 java.lang.String reason)
      • shutdown

        public java.util.concurrent.CompletableFuture<java.lang.Void> shutdown()
      • onClose

        protected abstract void onClose​(long error,
                                        java.lang.String reason)