Package org.gnome.gio
Interface DtlsServerConnection
- All Superinterfaces:
DatagramBased
,DtlsConnection
,Proxy
- All Known Implementing Classes:
DtlsServerConnection.DtlsServerConnectionImpl
@Generated("io.github.jwharm.JavaGI")
public interface DtlsServerConnection
extends Proxy, DatagramBased, DtlsConnection
GDtlsServerConnection
is the server-side subclass of
DtlsConnection
, representing a server-side DTLS connection.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
DtlsServerConnection.Builder<B extends Builder<B>>
static class
The DtlsServerConnectionImpl type represents a native instance of the DtlsServerConnection interface.static class
vtable for aGDtlsServerConnection
implementation.Nested classes/interfaces inherited from interface org.gnome.gio.DatagramBased
DatagramBased.DatagramBasedImpl, DatagramBased.DatagramBasedInterface
Nested classes/interfaces inherited from interface org.gnome.gio.DtlsConnection
DtlsConnection.AcceptCertificateCallback, DtlsConnection.DtlsConnectionImpl, DtlsConnection.DtlsConnectionInterface
-
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the DtlsServerConnection classstatic DtlsServerConnection
new_
(DatagramBased baseSocket, @Nullable TlsCertificate certificate) Creates a newGDtlsServerConnection
wrappingbaseSocket
.Methods inherited from interface org.gnome.gio.DatagramBased
conditionCheck, conditionCheck, conditionWait, conditionWait, createSource, createSource, receiveMessages, sendMessages
Methods inherited from interface org.gnome.gio.DtlsConnection
close, closeAsync, closeFinish, emitAcceptCertificate, emitAcceptCertificate, getCertificate, getChannelBindingData, getCiphersuiteName, getDatabase, getInteraction, getNegotiatedProtocol, getPeerCertificate, getPeerCertificateErrors, getProtocolVersion, getRehandshakeMode, getRequireCloseNotify, handshake, handshakeAsync, handshakeFinish, onAcceptCertificate, setAdvertisedProtocols, setCertificate, setDatabase, setInteraction, setRehandshakeMode, setRequireCloseNotify, shutdown, shutdownAsync, shutdownFinish
-
Method Details
-
getType
-
new_
static DtlsServerConnection new_(DatagramBased baseSocket, @Nullable @Nullable TlsCertificate certificate) throws GErrorException Creates a newGDtlsServerConnection
wrappingbaseSocket
.- Parameters:
baseSocket
- theGDatagramBased
to wrapcertificate
- the default server certificate, ornull
- Returns:
- the new
GDtlsServerConnection
, ornull
on error - Throws:
GErrorException
- seeGError
-