Package org.gnome.gio
Interface DtlsServerConnection
- All Superinterfaces:
DatagramBased,DtlsConnection,Proxy
- All Known Implementing Classes:
DtlsServerConnection.DtlsServerConnection$Impl
@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.- Since:
- 2.48
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceDtlsServerConnection.Builder<B extends Builder<B>>static classThe DtlsServerConnection$Impl type represents a native instance of the DtlsServerConnection interface.static classvtable for aGDtlsServerConnectionimplementation.Nested classes/interfaces inherited from interface org.gnome.gio.DatagramBased
DatagramBased.DatagramBased$Impl, DatagramBased.DatagramBasedInterfaceNested classes/interfaces inherited from interface org.gnome.gio.DtlsConnection
DtlsConnection.AcceptCertificateCallback, DtlsConnection.DtlsConnection$Impl, DtlsConnection.DtlsConnectionInterface -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic @Nullable TypegetType()Get the GType of the DtlsServerConnection classstatic DtlsServerConnectionnew_(DatagramBased baseSocket, @Nullable TlsCertificate certificate) Creates a newGDtlsServerConnectionwrappingbaseSocket.Methods inherited from interface org.gnome.gio.DatagramBased
conditionCheck, conditionCheck, conditionWait, conditionWait, createSource, createSource, receiveMessages, sendMessagesMethods 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 TlsCertificate certificate) throws GErrorException Creates a newGDtlsServerConnectionwrappingbaseSocket.- Parameters:
baseSocket- theGDatagramBasedto wrapcertificate- the default server certificate, ornull- Returns:
- the new
GDtlsServerConnection, ornullon error - Throws:
GErrorException- seeGError- Since:
- 2.48
-