public class QuicConnection extends NetObject
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Net.Quic.QuicConnection
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Net.Quic, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Net.Quic
|
static java.lang.String |
className
Qualified class name: System.Net.Quic.QuicConnection
|
static org.mases.jcobridge.JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
QuicConnection() |
QuicConnection(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
ValueTask_1 |
AcceptInboundStreamAsync(CancellationToken cancellationToken) |
static QuicConnection |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into QuicConnection, a cast assert is made to check if types are compatible. |
ValueTask |
CloseAsync(long errorCode,
CancellationToken cancellationToken) |
static ValueTask_1 |
ConnectAsync(QuicClientConnectionOptions options,
CancellationToken cancellationToken) |
ValueTask |
DisposeAsync() |
static boolean |
getIsSupported() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
org.mases.jcobridge.JCType |
getJCOType()
Returns the instantiated class Type
|
IPEndPoint |
getLocalEndPoint() |
SslApplicationProtocol |
getNegotiatedApplicationProtocol() |
TlsCipherSuite |
getNegotiatedCipherSuite() |
X509Certificate |
getRemoteCertificate() |
IPEndPoint |
getRemoteEndPoint() |
SslProtocols |
getSslProtocol() |
java.lang.String |
getTargetHostName() |
ValueTask_1 |
OpenOutboundStreamAsync(QuicStreamType type,
CancellationToken cancellationToken) |
void |
setJCOInstance(org.mases.jcobridge.JCObject instance) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public static org.mases.jcobridge.JCType classType
JCTypepublic QuicConnection()
throws java.lang.Throwable
java.lang.Throwablepublic QuicConnection(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic ValueTask_1 AcceptInboundStreamAsync(CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
public static QuicConnection cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into QuicConnection, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedQuicConnection instancejava.lang.Throwable - in case of error during cast operationpublic ValueTask CloseAsync(long errorCode, CancellationToken cancellationToken) throws java.lang.Throwable, PlatformNotSupportedException, ObjectDisposedException, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, CultureNotFoundException, InvalidOperationException, NullReferenceException, NotSupportedException, IndexOutOfRangeException, OutOfMemoryException, ArrayTypeMismatchException, FormatException, EventSourceException, KeyNotFoundException, MissingMethodException, TargetInvocationException, MissingMemberException
java.lang.ThrowablePlatformNotSupportedExceptionObjectDisposedExceptionArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionInvalidOperationExceptionNullReferenceExceptionNotSupportedExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionArrayTypeMismatchExceptionFormatExceptionEventSourceExceptionKeyNotFoundExceptionMissingMethodExceptionTargetInvocationExceptionMissingMemberExceptionpublic static ValueTask_1 ConnectAsync(QuicClientConnectionOptions options, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException
public ValueTask DisposeAsync() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
public static boolean getIsSupported()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class NetObjectString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class NetObjectString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class NetObjectObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class NetObjectString representing the name used to allocated the object
in CLR contextpublic org.mases.jcobridge.JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class NetObjectJCType representing the CLR Type of the instantiated Classpublic IPEndPoint getLocalEndPoint() throws java.lang.Throwable
java.lang.Throwablepublic SslApplicationProtocol getNegotiatedApplicationProtocol() throws java.lang.Throwable
java.lang.Throwablepublic TlsCipherSuite getNegotiatedCipherSuite() throws java.lang.Throwable
java.lang.Throwablepublic X509Certificate getRemoteCertificate() throws java.lang.Throwable
java.lang.Throwablepublic IPEndPoint getRemoteEndPoint() throws java.lang.Throwable
java.lang.Throwablepublic SslProtocols getSslProtocol() throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getTargetHostName()
throws java.lang.Throwable
java.lang.Throwablepublic ValueTask_1 OpenOutboundStreamAsync(QuicStreamType type, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
setJCOInstance in class NetObject