Package xmpp :: Module auth :: Class ComponentBind

[hide private]
[frames] | no frames]

# Class ComponentBind

source code

    client.PlugIn --+
                    |
                   ComponentBind

ComponentBind some JID to the current connection to allow router know of our location.

Instance Methods | [hide private]

__init__(self, sasl) | source code

plugin(self, owner) Start resource binding, if allowed at this time. | source code

plugout(self) Remove ComponentBind handler from owner's dispatcher. | source code

FeaturesHandler(self, conn, feats) Determine if server supports resource binding and set some internal attributes accordingly. | source code

Bind(self, domain=None) Perform binding. | source code

BindHandler(self, conn, bind) | source code

Inherited from `client.PlugIn`: `DEBUG`, `PlugIn`, `PlugOut`

Method Details | [hide private]

### __init__(self, sasl)
(Constructor)

source code

Overrides: client.PlugIn.__init__

### plugin(self, owner)

source code

Start resource binding, if allowed at this time. Used internally.

### plugout(self)

source code

Remove ComponentBind handler from owner's dispatcher. Used internally.

### Bind(self, domain=None)

source code

Perform binding. Use provided domain name (if not provided).