Package org.gnome.gio
Interface TlsServerConnection
- All Superinterfaces:
Proxy
- All Known Implementing Classes:
TlsServerConnection.TlsServerConnectionImpl
GTlsServerConnection
is the server-side subclass of
TlsConnection
, representing a server-side TLS connection.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
TlsServerConnection.Builder<B extends Builder<B>>
static class
The TlsServerConnectionImpl type represents a native instance of the TlsServerConnection interface.static class
vtable for aGTlsServerConnection
implementation. -
Method Summary
Modifier and TypeMethodDescriptionstatic Type
getType()
Get the GType of the TlsServerConnection classstatic TlsServerConnection
new_
(IOStream baseIoStream, @Nullable TlsCertificate certificate) Creates a newGTlsServerConnection
wrappingbaseIoStream
(which must have pollable input and output streams).
-
Method Details
-
getType
-
new_
static TlsServerConnection new_(IOStream baseIoStream, @Nullable @Nullable TlsCertificate certificate) throws GErrorException Creates a newGTlsServerConnection
wrappingbaseIoStream
(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 thebaseIoStream
after this function has returned.- Parameters:
baseIoStream
- theGIOStream
to wrapcertificate
- the default server certificate, ornull
- Returns:
- the new
GTlsServerConnection
, ornull
on error - Throws:
GErrorException
- seeGError
-