xmpp.auth.Bind

Package xmpp :: Module auth :: Class Bind |
[hide private]
[frames] | no frames]

# Class Bind

source code

    client.PlugIn --+
                    |
                   Bind

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

Instance Methods | [hide private]
__init__(self) | source code
plugin(self, owner) Start resource binding, if allowed at this time. | source code
plugout(self) Remove Bind 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, resource=None) Perform binding. | source code
Inherited from `client.PlugIn`: `DEBUG`, `PlugIn`, `PlugOut`

Method Details | [hide private]

### __init__(self) (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 Bind handler from owner's dispatcher. Used internally.

### Bind(self, resource=None) | source code
Perform binding. Use provided resource name or random (if not provided).