| Package | org.igniterealtime.xiff.core |
| Class | public class XMPPTLSConnection |
| Inheritance | XMPPTLSConnection XMPPConnection flash.events.EventDispatcher |
| Implements | IXMPPConnection |
| Property | Defined by | ||
|---|---|---|---|
![]() | compress : Boolean
Shall the zlib compression be allowed if the server supports it.
| XMPPConnection | |
| config : TLSConfig
TLS configuration.
| XMPPTLSConnection | ||
![]() | domain : String
The XMPP domain to use with the server.
| XMPPConnection | |
![]() | ignoreWhitespace : Boolean
Determines whether whitespace will be ignored on incoming XML data.
| XMPPConnection | |
![]() | incomingBytes : uint
Get the count of the received bytes.
| XMPPConnection | |
![]() | jid : UnescapedJID
Gets the fully qualified unescaped JID of the user.
| XMPPConnection | |
![]() | openConnections : Array [static]
Reference to all active connections.
| XMPPConnection | |
![]() | outgoingBytes : uint
Get the count of current bytes sent by this connection
| XMPPConnection | |
![]() | password : String
The password to use when logging in.
| XMPPConnection | |
![]() | port : uint
The port to use when connecting.
| XMPPConnection | |
![]() | queuePresences : Boolean
Should the connection queue presence events for a small interval so that it can send multiple in a batch?
| XMPPConnection | |
![]() | resource : String
The resource to use when logging in.
| XMPPConnection | |
![]() | server : String
The XMPP server to use for connection.
| XMPPConnection | |
| tls : Boolean
Specifies whether to enable TLS.
| XMPPTLSConnection | ||
![]() | useAnonymousLogin : Boolean
Whether to use anonymous login or not.
| XMPPConnection | |
![]() | username : String
The username to use for connection.
| XMPPConnection | |
| Method | Defined by | ||
|---|---|---|---|
|
Constructor.
| XMPPTLSConnection | ||
![]() |
changePassword(password:String):void
Changes the user's account password on the server.
| XMPPConnection | |
|
connect(streamType:uint = 0):Boolean
Connects to the server.
| XMPPTLSConnection | ||
![]() |
disableSASLMechanism(name:String):void
[static]
Remove a SASL mechanism.
| XMPPConnection | |
|
disconnect():void
Disconnects from the server if currently connected.
| XMPPTLSConnection | ||
![]() |
getRegistrationFields():void
Issues a request for the information that must be submitted for registration with the server.
| XMPPConnection | |
![]() |
isActive():Boolean
Determines whether the connection with the server is currently active.
| XMPPConnection | |
![]() |
isLoggedIn():Boolean
Determines whether the user is connected and logged into the server.
| XMPPConnection | |
![]() |
registerSASLMechanism(name:String, authClass:Class):void
[static]
Add a SASL mechanism.
| XMPPConnection | |
![]() |
send(data:IXMPPStanza):void
Sends data to the server.
| XMPPConnection | |
![]() |
sendKeepAlive():void
Sends ping to server in order to keep the connection alive.
| XMPPConnection | |
![]() |
sendRegistrationFields(fieldMap:Object, key:String):void
Registers a new account with the server, sending the registration data as specified in the fieldMap
| XMPPConnection | |
| Method | Defined by | ||
|---|---|---|---|
|
configureTLSSocket():void
| XMPPTLSConnection | ||
|
handleNodeType(node:XMLNode):void
| XMPPTLSConnection | ||
|
handleStreamTLS(node:XMLNode):void
| XMPPTLSConnection | ||
| config | property |
config:TLSConfig [read-write]TLS configuration.
Implementation public function get config():TLSConfig
public function set config(value:TLSConfig):void
| tls | property |
tls:Boolean [read-write]Specifies whether to enable TLS.
Implementation public function get tls():Boolean
public function set tls(value:Boolean):void
| XMPPTLSConnection | () | constructor |
public function XMPPTLSConnection()Constructor.
| configureTLSSocket | () | method |
protected function configureTLSSocket():void
See also
| connect | () | method |
public override function connect(streamType:uint = 0):BooleanConnects to the server. Use one of the STREAM_TYPE_.. constants. Possible options are:
streamType:uint (default = 0) — Any of the STREAM_TYPE_.. constants.
|
Boolean — A boolean indicating whether the server was found.
|
| disconnect | () | method |
public override function disconnect():void
Disconnects from the server if currently connected. After disconnect,
a DisconnectionEvent.DISCONNECT event is broadcast.
| handleNodeType | () | method |
protected override function handleNodeType(node:XMLNode):voidParameters
node:XMLNode |
| handleStreamTLS | () | method |
protected override function handleStreamTLS(node:XMLNode):voidParameters
node:XMLNode — The feature containing starttls tag.
|