Interface TlsServerConnection

All Superinterfaces:
Proxy
All Known Implementing Classes:
TlsServerConnection.TlsServerConnection$Impl

@Generated("org.javagi.JavaGI") public interface TlsServerConnection extends Proxy
GTlsServerConnection is the server-side subclass of TlsConnection, representing a server-side TLS connection.
Since:
2.28
  • Method Details

    • getType

      static @Nullable Type getType()
      Get the GType of the TlsServerConnection class.
      Returns:
      the GType
    • new_

      static TlsServerConnection new_(IOStream baseIoStream, @Nullable TlsCertificate certificate) throws GErrorException

      Creates a new GTlsServerConnection wrapping baseIoStream (which must have pollable input and output streams).

      See the documentation for GTlsConnection:base-io-stream for restrictions on when application code can run operations on the baseIoStream after this function has returned.

      Parameters:
      baseIoStream - the GIOStream to wrap
      certificate - the default server certificate, or null
      Returns:
      the new GTlsServerConnection, or null on error
      Throws:
      GErrorException - see GError
      Since:
      2.28