Class TlsServerConnection

All Implemented Interfaces:
PointerInterface

public class TlsServerConnection extends Interface
#GTlsServerConnection is the server-side subclass of #GTlsConnection,
representing a server-side TLS connection.

https://docs.gtk.org/gio/iface.TlsServerConnection.html

  • Constructor Details

  • Method Details

    • getClassHandler

      public static ClassHandler getClassHandler()
    • _new

      public static TlsServerConnection _new(@Nonnull IOStream base_io_stream, @Nullable TlsCertificate certificate) throws AllocationError
      Creates a new #GTlsServerConnection wrapping @base_io_stream (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 @base_io_stream after
      this function has returned.
      Parameters:
      base_io_stream - the #GIOStream to wrap
      certificate - the default server certificate, or %NULL
      Returns:
      the new #GTlsServerConnection, or %NULL on error
      Throws:
      AllocationError
    • getTypeID

      public static long getTypeID()
    • getParentTypeID

      public static long getParentTypeID()
    • getTypeSize

      public static TypeSystem.TypeSize getTypeSize()
    • getParentTypeSize

      public static TypeSystem.TypeSize getParentTypeSize()
    • getInstanceSize

      public static int getInstanceSize()