class
XMPP::ComponentDelegation::DelegationManager
- XMPP::ComponentDelegation::DelegationManager
- Reference
- Object
Overview
Manages delegated namespaces for a component
Defined in:
xmpp/component/delegation.crInstance Method Summary
-
#add_delegation(namespace : String, attributes : Array(String) = [] of String)
Add a delegated namespace
-
#delegated?(namespace : String) : Bool
Check if a namespace is delegated
- #delegations : Hash(String, DelegationInfo)
- #delegations=(delegations : Hash(String, DelegationInfo))
-
#get_delegation(namespace : String) : DelegationInfo | Nil
Get delegation info for a namespace
-
#should_handle?(stanza : Stanza::Packet) : Bool
Check if a stanza should be handled by delegation
Instance Method Detail
Add a delegated namespace
def should_handle?(stanza : Stanza::Packet) : Bool
#
Check if a stanza should be handled by delegation