Yaaf.Xmpp.Runtime


IXmppClient

Defined in Yaaf.Xmpp.Runtime.dll.
Simple interface representing an xmpp connection

Instance members

Instance memberDescription
CloseConnection(force, arg2)
Signature: (force:bool * StreamErrorException) -> Task<unit>
Modifiers: abstract
Start to close the Connection with the given stream exception (force flag indicates whether we should just force closing by closing the underlaying streams)
CloseConnection(force)
Signature: force:bool -> Task<unit>
Modifiers: abstract
Start to close the Connection (force flag indicates whether we should just force closing by closing the underlaying streams)
ConnectTask
Signature: Task<JabberId>
Modifiers: abstract
A task object to "subscribe" to the NegotiationFinished (sic! This is basically the same) event in a thread safe manner (ContinueWith)
Exited
Signature: Task<exn option>
Modifiers: abstract
A task object to "subscribe" to the Exited event in a thread safe manner (ContinueWith)
GetService()
Signature: unit -> 'a
Modifiers: abstract
Type parameters: 'a
The main method to interact with the instance, request the services you want to use (registered by plugins) and use then accordingly.
IsClosed
Signature: bool
Modifiers: abstract
True when the runtime has closed the sending loop (ie we are possibly still receiving)
IsCompleted
Signature: bool
Modifiers: abstract
True when the runtime loop has completed without exception
IsFaulted
Signature: bool
Modifiers: abstract
True when the runtime loop has finished with an exception (abnormal termination)
LocalJid
Signature: JabberId
Modifiers: abstract
The JID of the current side
NegotiationCompleted
Signature: bool
Modifiers: abstract
True when the Negotation has completed successfully
NegotiationTask
Signature: Task<unit>
Modifiers: abstract
A task object to "subscribe" to the NegotiationFinished event in a thread safe manner (ContinueWith)
RemoteJid
Signature: JabberId
Modifiers: abstract
The JID of the other end
StreamType
Signature: StreamType
Modifiers: abstract
The type of the connection
WriteElem(arg1)
Signature: StreamElement -> Async<unit>
Modifiers: abstract
Writes the given Element to the stream, should not be used! (used by unit tests)
Fork me on GitHub