Interface DtlsServerConnection

All Superinterfaces:
DatagramBased, DtlsConnection, Proxy
All Known Implementing Classes:
DtlsServerConnection.DtlsServerConnection$Impl

@Generated("org.javagi.JavaGI") public interface DtlsServerConnection extends Proxy, DatagramBased, DtlsConnection
GDtlsServerConnection is the server-side subclass of DtlsConnection, representing a server-side DTLS connection.
Since:
2.48
  • Method Details

    • getType

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

      static DtlsServerConnection new_(DatagramBased baseSocket, @Nullable TlsCertificate certificate) throws GErrorException
      Creates a new GDtlsServerConnection wrapping baseSocket.
      Parameters:
      baseSocket - the GDatagramBased to wrap
      certificate - the default server certificate, or null
      Returns:
      the new GDtlsServerConnection, or null on error
      Throws:
      GErrorException - see GError
      Since:
      2.48