Class QuicConnection

    • Field Detail

      • assemblyFullName

        public static final java.lang.String assemblyFullName
        Fully assembly qualified name: System.Net.Quic, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
        See Also:
        Constant Field Values
      • assemblyShortName

        public static final java.lang.String assemblyShortName
        Assembly name: System.Net.Quic
        See Also:
        Constant Field Values
      • className

        public static final java.lang.String className
        Qualified class name: System.Net.Quic.QuicConnection
        See Also:
        Constant Field Values
      • classType

        public static JCType classType
        The type managed from JCOBridge. See JCType
    • Constructor Detail

      • QuicConnection

        public QuicConnection​(java.lang.Object instance)
                       throws java.lang.Throwable
        Internal constructor. Use with caution
        Throws:
        java.lang.Throwable
      • QuicConnection

        public QuicConnection()
                       throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • QuicConnection

        public QuicConnection​(QuicClientConnectionOptions options)
                       throws java.lang.Throwable
        Throws:
        java.lang.Throwable
    • Method Detail

      • GetRemoteAvailableBidirectionalStreamCount

        public int GetRemoteAvailableBidirectionalStreamCount()
                                                       throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • GetRemoteAvailableUnidirectionalStreamCount

        public int GetRemoteAvailableUnidirectionalStreamCount()
                                                        throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • OpenBidirectionalStream

        public QuicStream OpenBidirectionalStream()
                                           throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • OpenUnidirectionalStream

        public QuicStream OpenUnidirectionalStream()
                                            throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • CloseAsync

        public ValueTask CloseAsync​(long errorCode,
                                    CancellationToken cancellationToken)
                             throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • ConnectAsync

        public ValueTask ConnectAsync​(CancellationToken cancellationToken)
                               throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • WaitForAvailableBidirectionalStreamsAsync

        public ValueTask WaitForAvailableBidirectionalStreamsAsync​(CancellationToken cancellationToken)
                                                            throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • WaitForAvailableUnidirectionalStreamsAsync

        public ValueTask WaitForAvailableUnidirectionalStreamsAsync​(CancellationToken cancellationToken)
                                                             throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • Dispose

        public void Dispose()
                     throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • close

        public void close()
                   throws java.lang.Exception
        Specified by:
        close in interface java.lang.AutoCloseable
        Throws:
        java.lang.Exception
      • getConnected

        public boolean getConnected()
                             throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • getRemoteEndPoint

        public EndPoint getRemoteEndPoint()
                                   throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • getLocalEndPoint

        public IPEndPoint getLocalEndPoint()
                                    throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • getNegotiatedApplicationProtocol

        public SslApplicationProtocol getNegotiatedApplicationProtocol()
                                                                throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • getRemoteCertificate

        public X509Certificate getRemoteCertificate()
                                             throws java.lang.Throwable
        Throws:
        java.lang.Throwable