Yaaf.Xmpp.Runtime


IXmlStream

Defined in Yaaf.Xmpp.Runtime.dll.
This will only be used by the runtime. However to be extendible custom implementations are allowed. Implementations SHOULD NOT throw their own exceptions on reading. Allowed are only: - StreamFinishedException and subclasses when the other side finished the stream. - StreamErrorException when there is an error in reading the stream (to close the stream properly). NOTE that you do NOT throw this exception when you read a stream error (use StreamFailException in this case). ON write custom exceptions are allowed, but note that because of the queuing system we always shut down the runtime when the write fails!

Instance members

Instance memberDescription
ReadEnd()
Signature: unit -> Async<unit>
Modifiers: abstract
ReadStart()
Signature: unit -> Async<OpenElement>
Modifiers: abstract
TryRead()
Signature: unit -> Async<StreamElement option>
Modifiers: abstract
Write(arg1)
Signature: StreamElement -> Async<unit>
Modifiers: abstract
WriteEnd()
Signature: unit -> Async<unit>
Modifiers: abstract
WriteStart(arg1)
Signature: OpenElement -> Async<unit>
Modifiers: abstract
Fork me on GitHub