Package org.gnome.gio
Interface TlsServerConnection
- All Superinterfaces:
Proxy
- All Known Implementing Classes:
TlsServerConnection.TlsServerConnection$Impl
GTlsServerConnection is the server-side subclass of
TlsConnection, representing a server-side TLS connection.- Since:
- 2.28
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceTlsServerConnection.Builder<B extends Builder<B>>static classThe TlsServerConnection$Impl type represents a native instance of the TlsServerConnection interface.static classvtable for aGTlsServerConnectionimplementation. -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic @Nullable TypegetType()Get the GType of the TlsServerConnection classstatic TlsServerConnectionnew_(IOStream baseIoStream, @Nullable TlsCertificate certificate) Creates a newGTlsServerConnectionwrappingbaseIoStream(which must have pollable input and output streams).
-
Method Details
-
getType
-
new_
static TlsServerConnection new_(IOStream baseIoStream, @Nullable TlsCertificate certificate) throws GErrorException Creates a newGTlsServerConnectionwrappingbaseIoStream(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 thebaseIoStreamafter this function has returned.- Parameters:
baseIoStream- theGIOStreamto wrapcertificate- the default server certificate, ornull- Returns:
- the new
GTlsServerConnection, ornullon error - Throws:
GErrorException- seeGError- Since:
- 2.28
-