gi-gio
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Gio.Interfaces.DtlsServerConnection

Description

GDtlsServerConnection is the server-side subclass of DtlsConnection, representing a server-side DTLS connection.

Since: 2.48

Synopsis

Exported types

newtype DtlsServerConnection Source #

Memory-managed wrapper type.

Instances

Instances details
Eq DtlsServerConnection Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsServerConnection

GObject DtlsServerConnection Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsServerConnection

ManagedPtrNewtype DtlsServerConnection Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsServerConnection

TypedObject DtlsServerConnection Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsServerConnection

Methods

glibType :: IO GType #

HasParentTypes DtlsServerConnection Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsServerConnection

HasAttributeList DtlsServerConnection Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsServerConnection

(info ~ ResolveDtlsServerConnectionMethod t DtlsServerConnection, OverloadedMethod info DtlsServerConnection p, HasField t DtlsServerConnection p) => HasField (t :: Symbol) DtlsServerConnection (p :: Type) Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsServerConnection

(info ~ ResolveDtlsServerConnectionMethod t DtlsServerConnection, OverloadedMethodInfo info DtlsServerConnection) => IsLabel t (MethodProxy info DtlsServerConnection) Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsServerConnection

(info ~ ResolveDtlsServerConnectionMethod t DtlsServerConnection, OverloadedMethod info DtlsServerConnection p) => IsLabel t (DtlsServerConnection -> p) Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsServerConnection

IsGValue (Maybe DtlsServerConnection) Source #

Convert DtlsServerConnection to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.Gio.Interfaces.DtlsServerConnection

type AttributeList DtlsServerConnection Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsServerConnection

type ParentTypes DtlsServerConnection Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsServerConnection

type SignalList DtlsServerConnection Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsServerConnection

class (GObject o, IsDescendantOf DtlsServerConnection o) => IsDtlsServerConnection o Source #

Type class for types which can be safely cast to DtlsServerConnection, for instance with toDtlsServerConnection.

Instances

Instances details
(GObject o, IsDescendantOf DtlsServerConnection o) => IsDtlsServerConnection o Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsServerConnection

toDtlsServerConnection :: (MonadIO m, IsDtlsServerConnection o) => o -> m DtlsServerConnection Source #

Cast to DtlsServerConnection, for types for which this is known to be safe. For general casts, use castTo.

Methods

type family ResolveDtlsServerConnectionMethod (t :: Symbol) o where ... Source #

Equations

ResolveDtlsServerConnectionMethod "bindProperty" o = ObjectBindPropertyMethodInfo 
ResolveDtlsServerConnectionMethod "bindPropertyFull" o = ObjectBindPropertyFullMethodInfo 
ResolveDtlsServerConnectionMethod "close" o = DtlsConnectionCloseMethodInfo 
ResolveDtlsServerConnectionMethod "closeAsync" o = DtlsConnectionCloseAsyncMethodInfo 
ResolveDtlsServerConnectionMethod "closeFinish" o = DtlsConnectionCloseFinishMethodInfo 
ResolveDtlsServerConnectionMethod "conditionCheck" o = DatagramBasedConditionCheckMethodInfo 
ResolveDtlsServerConnectionMethod "conditionWait" o = DatagramBasedConditionWaitMethodInfo 
ResolveDtlsServerConnectionMethod "createSource" o = DatagramBasedCreateSourceMethodInfo 
ResolveDtlsServerConnectionMethod "emitAcceptCertificate" o = DtlsConnectionEmitAcceptCertificateMethodInfo 
ResolveDtlsServerConnectionMethod "forceFloating" o = ObjectForceFloatingMethodInfo 
ResolveDtlsServerConnectionMethod "freezeNotify" o = ObjectFreezeNotifyMethodInfo 
ResolveDtlsServerConnectionMethod "getv" o = ObjectGetvMethodInfo 
ResolveDtlsServerConnectionMethod "handshake" o = DtlsConnectionHandshakeMethodInfo 
ResolveDtlsServerConnectionMethod "handshakeAsync" o = DtlsConnectionHandshakeAsyncMethodInfo 
ResolveDtlsServerConnectionMethod "handshakeFinish" o = DtlsConnectionHandshakeFinishMethodInfo 
ResolveDtlsServerConnectionMethod "isFloating" o = ObjectIsFloatingMethodInfo 
ResolveDtlsServerConnectionMethod "notify" o = ObjectNotifyMethodInfo 
ResolveDtlsServerConnectionMethod "notifyByPspec" o = ObjectNotifyByPspecMethodInfo 
ResolveDtlsServerConnectionMethod "receiveMessages" o = DatagramBasedReceiveMessagesMethodInfo 
ResolveDtlsServerConnectionMethod "ref" o = ObjectRefMethodInfo 
ResolveDtlsServerConnectionMethod "refSink" o = ObjectRefSinkMethodInfo 
ResolveDtlsServerConnectionMethod "runDispose" o = ObjectRunDisposeMethodInfo 
ResolveDtlsServerConnectionMethod "sendMessages" o = DatagramBasedSendMessagesMethodInfo 
ResolveDtlsServerConnectionMethod "shutdown" o = DtlsConnectionShutdownMethodInfo 
ResolveDtlsServerConnectionMethod "shutdownAsync" o = DtlsConnectionShutdownAsyncMethodInfo 
ResolveDtlsServerConnectionMethod "shutdownFinish" o = DtlsConnectionShutdownFinishMethodInfo 
ResolveDtlsServerConnectionMethod "stealData" o = ObjectStealDataMethodInfo 
ResolveDtlsServerConnectionMethod "stealQdata" o = ObjectStealQdataMethodInfo 
ResolveDtlsServerConnectionMethod "thawNotify" o = ObjectThawNotifyMethodInfo 
ResolveDtlsServerConnectionMethod "unref" o = ObjectUnrefMethodInfo 
ResolveDtlsServerConnectionMethod "watchClosure" o = ObjectWatchClosureMethodInfo 
ResolveDtlsServerConnectionMethod "getCertificate" o = DtlsConnectionGetCertificateMethodInfo 
ResolveDtlsServerConnectionMethod "getChannelBindingData" o = DtlsConnectionGetChannelBindingDataMethodInfo 
ResolveDtlsServerConnectionMethod "getCiphersuiteName" o = DtlsConnectionGetCiphersuiteNameMethodInfo 
ResolveDtlsServerConnectionMethod "getData" o = ObjectGetDataMethodInfo 
ResolveDtlsServerConnectionMethod "getDatabase" o = DtlsConnectionGetDatabaseMethodInfo 
ResolveDtlsServerConnectionMethod "getInteraction" o = DtlsConnectionGetInteractionMethodInfo 
ResolveDtlsServerConnectionMethod "getNegotiatedProtocol" o = DtlsConnectionGetNegotiatedProtocolMethodInfo 
ResolveDtlsServerConnectionMethod "getPeerCertificate" o = DtlsConnectionGetPeerCertificateMethodInfo 
ResolveDtlsServerConnectionMethod "getPeerCertificateErrors" o = DtlsConnectionGetPeerCertificateErrorsMethodInfo 
ResolveDtlsServerConnectionMethod "getProperty" o = ObjectGetPropertyMethodInfo 
ResolveDtlsServerConnectionMethod "getProtocolVersion" o = DtlsConnectionGetProtocolVersionMethodInfo 
ResolveDtlsServerConnectionMethod "getQdata" o = ObjectGetQdataMethodInfo 
ResolveDtlsServerConnectionMethod "getRehandshakeMode" o = DtlsConnectionGetRehandshakeModeMethodInfo 
ResolveDtlsServerConnectionMethod "getRequireCloseNotify" o = DtlsConnectionGetRequireCloseNotifyMethodInfo 
ResolveDtlsServerConnectionMethod "setAdvertisedProtocols" o = DtlsConnectionSetAdvertisedProtocolsMethodInfo 
ResolveDtlsServerConnectionMethod "setCertificate" o = DtlsConnectionSetCertificateMethodInfo 
ResolveDtlsServerConnectionMethod "setData" o = ObjectSetDataMethodInfo 
ResolveDtlsServerConnectionMethod "setDataFull" o = ObjectSetDataFullMethodInfo 
ResolveDtlsServerConnectionMethod "setDatabase" o = DtlsConnectionSetDatabaseMethodInfo 
ResolveDtlsServerConnectionMethod "setInteraction" o = DtlsConnectionSetInteractionMethodInfo 
ResolveDtlsServerConnectionMethod "setProperty" o = ObjectSetPropertyMethodInfo 
ResolveDtlsServerConnectionMethod "setRehandshakeMode" o = DtlsConnectionSetRehandshakeModeMethodInfo 
ResolveDtlsServerConnectionMethod "setRequireCloseNotify" o = DtlsConnectionSetRequireCloseNotifyMethodInfo 
ResolveDtlsServerConnectionMethod l o = MethodResolutionFailed l o :: Type 

new

dtlsServerConnectionNew Source #

Arguments

:: (HasCallStack, MonadIO m, IsDatagramBased a, IsTlsCertificate b) 
=> a

baseSocket: the DatagramBased to wrap

-> Maybe b

certificate: the default server certificate, or Nothing

-> m DtlsServerConnection

Returns: the new DtlsServerConnection, or Nothing on error (Can throw GError)

Creates a new DtlsServerConnection wrapping baseSocket.

Since: 2.48

Properties

authenticationMode

The TlsAuthenticationMode for the server. This can be changed before calling dtlsConnectionHandshake if you want to rehandshake with a different mode from the initial handshake.

Since: 2.48

data DtlsServerConnectionAuthenticationModePropertyInfo Source #

Instances

Instances details
AttrInfo DtlsServerConnectionAuthenticationModePropertyInfo Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsServerConnection

Associated Types

type AttrAllowedOps DtlsServerConnectionAuthenticationModePropertyInfo 
Instance details

Defined in GI.Gio.Interfaces.DtlsServerConnection

type AttrBaseTypeConstraint DtlsServerConnectionAuthenticationModePropertyInfo 
Instance details

Defined in GI.Gio.Interfaces.DtlsServerConnection

type AttrGetType DtlsServerConnectionAuthenticationModePropertyInfo 
Instance details

Defined in GI.Gio.Interfaces.DtlsServerConnection

type AttrSetTypeConstraint DtlsServerConnectionAuthenticationModePropertyInfo 
Instance details

Defined in GI.Gio.Interfaces.DtlsServerConnection

type AttrTransferTypeConstraint DtlsServerConnectionAuthenticationModePropertyInfo 
Instance details

Defined in GI.Gio.Interfaces.DtlsServerConnection

type AttrTransferType DtlsServerConnectionAuthenticationModePropertyInfo 
Instance details

Defined in GI.Gio.Interfaces.DtlsServerConnection

type AttrLabel DtlsServerConnectionAuthenticationModePropertyInfo 
Instance details

Defined in GI.Gio.Interfaces.DtlsServerConnection

type AttrOrigin DtlsServerConnectionAuthenticationModePropertyInfo 
Instance details

Defined in GI.Gio.Interfaces.DtlsServerConnection

type AttrAllowedOps DtlsServerConnectionAuthenticationModePropertyInfo Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsServerConnection

type AttrBaseTypeConstraint DtlsServerConnectionAuthenticationModePropertyInfo Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsServerConnection

type AttrGetType DtlsServerConnectionAuthenticationModePropertyInfo Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsServerConnection

type AttrLabel DtlsServerConnectionAuthenticationModePropertyInfo Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsServerConnection

type AttrOrigin DtlsServerConnectionAuthenticationModePropertyInfo Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsServerConnection

type AttrSetTypeConstraint DtlsServerConnectionAuthenticationModePropertyInfo Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsServerConnection

type AttrTransferType DtlsServerConnectionAuthenticationModePropertyInfo Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsServerConnection

type AttrTransferTypeConstraint DtlsServerConnectionAuthenticationModePropertyInfo Source # 
Instance details

Defined in GI.Gio.Interfaces.DtlsServerConnection

constructDtlsServerConnectionAuthenticationMode :: (IsDtlsServerConnection o, MonadIO m) => TlsAuthenticationMode -> m (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “authentication-mode” property. This is rarely needed directly, but it is used by new.

getDtlsServerConnectionAuthenticationMode :: (MonadIO m, IsDtlsServerConnection o) => o -> m TlsAuthenticationMode Source #

Get the value of the “authentication-mode” property. When overloading is enabled, this is equivalent to

get dtlsServerConnection #authenticationMode

setDtlsServerConnectionAuthenticationMode :: (MonadIO m, IsDtlsServerConnection o) => o -> TlsAuthenticationMode -> m () Source #

Set the value of the “authentication-mode” property. When overloading is enabled, this is equivalent to

set dtlsServerConnection [ #authenticationMode := value ]