Yaaf.Xmpp.Runtime


IStreamFeatureHandler

Defined in Yaaf.Xmpp.Runtime.dll.
Note that the context instance can change over time (whenever a new stream is instanciated, for example after tls, sasl)

Instance members

Instance memberDescription
CreateAnnounceFeatureElement()
Signature: unit -> FeatureInfo
Modifiers: abstract
Features can disable itself by returning None, true means mandatory
GetState(arg1)
Signature: FeatureList -> FeatureInfo
Modifiers: abstract
To check the state of the server feature, returns the state and the element describing it
HandleReceivingCommunication(arg1)
Signature: StreamElement -> Async<unit>
Modifiers: abstract
InitializeFeature()
Signature: unit -> Async<unit>
Modifiers: abstract
Used when client selects feature
IsFeatureSelected(arg1)
Signature: StreamElement -> bool
Modifiers: abstract
Used so that the receiving entity can select the selected feature
Fork me on GitHub