[About] Version=1.0 Author=Nic Mail=support@hiasm.com [Type] Class=Element Info=Manages the XMPP stream of the connection Tab=Internet [Property] @AutoReconnect=Sets the number of seconds before automatically reconnecting if the connection drops. -1 to disable, 0 for immediate|7|30 @AutoStartCompression=Sets the value indicating that allows start compression on connection if the server supports it and is set to true|14|0|True,False @AutoStartTLS=Sets the value indicating that allows Start-TLS on connection if the server supports it and if set to true|14|0|True,False @Connection=Sets the connection type|14|0|Socket,HTTP_Polling,HTTP_Binding @InvokeControl=Sets Calls Invoke() for all callbacks on this control|20|(empty)|ControlManager @IsAuthenticated=Sets the value indicating whether the state to authenticated. Locks on StateLock|14|0|True,False @KeepAlive=Sets the keep-alive interval in seconds|7|30 @NetworkHost=Sets the network host address to use on the "to" attribute of the stream:stream. You can put the network hostname or IP address of the XMPP server to connect to. If none is specified, the Server will be used. Eventually, when SRV is supported, this will be deprecated|2| @PlaintextAuth=Sets the value indicating whether plaintext authentication is used for connecting to the XMPP server|14|1|True,False @Port=Sets the TCP port to connect to|1|5222 @Proxy=Sets the proxy type, such as none, SOCKS5 and so on|14|0|None,Socks4,Socks5,HTTP @ProxyHost=Sets the hostname running the proxy|2| @ProxyPassword=Sets the authentication password for the SOCKS5 proxy|2| @ProxyPort=Sets the port number of the proxy host|1|1080 @ProxyUsername=Sets the authentication username for the SOCKS5 proxy|2| @RequiresSASL=Sets the value indicating whether or not SASL is required for connecting to the XMPP server|14|1|True,False @Server=Sets the name of the XMPP server to connect to|2|jabber.com @SSL=Sets the value indicating whether SSL3/TLS1 authentication is used when a user connects to the XMPP server|14|1|True,False @StreamID=Sets the ID attribute from the stream:stream element sent by the XMPP server|2| [Methods] doConnect=Starts connecting to the XMPP server. This is done asyncronously|1|0 doClose=Closes down the connection|1|0 *doLocalCertificate=Sets the certificate to be used for the local side of sockets when SSL is enabled ARG(X509Certificate)|1|0 *doSetCertificateFile=Sets the certificate to be used for accept sockets|1|0 *doWriteString=Sends a raw string ARG(string)|1|0 *doWriteXML=Sends the given packet to the server ARG(XmlElement)|1|0 *doWriteStartTag=Writes just the start tag of the given XML element ARG(Stream)|1|0 *onAuthenticate=Informs the client that the connection is complete and the user is authenticated ARG(args)|2| onConnect=Informs the client that the connection is connected, but no stream:stream has been sent yet ARG(stream)|2| *onDisconnect=Informs the client that the connection is disconnected ARG(null)|2| onError=Informs the client that an error occurred when processing. The connection has been closed ARG(string)|2|2 *onInvalidCertificate=An invalid cert was received from the other side. Set this event and return true to use the cert anyway. If the event is not set, an ugly user interface will be displayed ARG(bool)|2| *onPropertyChanged=Informs the client that a property changed on the instance ARG(args)|2| *onProtocol=Notifies the client about every jabber packet. This is a union of the OnPresence, OnMessage, and OnIQ methods. Use this *or* the other 3 methods, but not both, as a matter of style ARG(XmlElement)|2| *onReadText=Informs the client that text was read from the server. Use for debugging only ARG(string)|2|2 *onStreamError=Informs the client that it received a stream:error packet ARG(XmlElement)|2| *onStreamHeader=Notifies the client that the stream header, as a packet, has been received. Can be called multiple times for a single session, with XMPP ARG(XmlElement)|2| *onStreamInit=Informs the client that a new stream has been inialized. You can add your packet factories to the new stream. NOTE: You may NOT make calls to the GUI in this callback, unless you call Invoke. Make sure you add your packet factories before calling Invoke, however ARG(stream)|2| *onWriteText=Informs the client when text has been written to the XMPP server. Use for debugging only ARG(string)|2|2 *AutoReconnect=Returns the number of seconds before automatically reconnecting if the connection drops ARG(float)|3|7 *AutoStartCompression=Sets the value indicating that allows start compression on connection if the server supports it and is set to true ARG(bool)|3|104 *AutoStartTLS=Sets the value indicating that allows Start-TLS on connection if the server supports it and if set to true ARG(bool)|3|104 *CompressionOn=Returns the value indicating whether or not the current connection uses XMPP stream compression (XEP-138) ARG(bool)|3|104 *Connection=Returns the connection type, such as Socket, HTTP polling and so on ARG(ConnectionType)|3|0 *Document=Retrieves the outbound document ARG(XmlDocument)|3|0 *InvokeControl=Returns Calls Invoke() for all callbacks on this control ARG(ISynchronizeInvoke)|3|0 *IsAuthenticated=Returns the value indicating whether the state to authenticated ARG(bool)|3|104 *JID=Returns the JID from the connection ARG(string)|3|2 *KeepAlive=Returns the keep-alive interval in seconds ARG(float)|3|7 *LocalCertificate=Returns the certificate to be used for the local side of sockets when SSL is enabled ARG(X509Certificate)|3|0 *NetworkHost=Returns the network host address to use on the "to" attribute of the stream:stream ARG(string)|3|2 *PlaintextAuth=Returns the value indicating whether plaintext authentication is used for connecting to the XMPP server ARG(bool)|3|104 *Port=Returns the TCP port to connect to ARG(int)|3|1 *Proxy=Returns the proxy type, such as none, SOCKS5 and so on ARG(ProxyType)|3|0 *ProxyHost=Returns the hostname running the proxy ARG(string)|3|2 *ProxyPassword=Returns the authentication password for the SOCKS5 proxy ARG(string)|3|2 *ProxyPort=Returns the port number of the proxy host ARG(int)|3|1 *ProxyUsername=Returns the authentication username for the SOCKS5 proxy ARG(string)|3|2 *RequiresSASL=Returns the value indicating whether or not SASL is required for connecting to the XMPP server ARG(bool)|3|104 *ServerVersion=Returns the version number of the XMPP server ARG(string)|3|2 *SSL=Returns the value indicating whether SSL3/TLS1 authentication is used when a user connects to the XMPP server ARG(bool)|3|104 *SSLon=Returns the value indicating whether or not the current connection is secured with SSL/TLS ARG(bool)|3|104 *StreamID=Returns the ID attribute from the stream:stream element sent by the XMPP server ARG(string)|3|2 *Tracker=Returns the tracker for sending IQ packets ARG(IIQTracker)|3|0