Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockingCommand ¶
type BlockingCommand struct {
// contains filtered or unexported fields
}
BlockingCommand returns a blocking command IQ handler module.
func New ¶
func New(stm stream.C2S) *BlockingCommand
New returns a blocking command IQ handler module.
func (*BlockingCommand) MatchesIQ ¶
func (x *BlockingCommand) MatchesIQ(iq *xml.IQ) bool
MatchesIQ returns whether or not an IQ should be processed by the blocking command module.
func (*BlockingCommand) ProcessIQ ¶
func (x *BlockingCommand) ProcessIQ(iq *xml.IQ)
ProcessIQ processes a blocking command IQ taking according actions over the associated stream.
func (*BlockingCommand) RegisterDisco ¶ added in v0.3.0
func (x *BlockingCommand) RegisterDisco(discoInfo *xep0030.DiscoInfo)
RegisterDisco registers disco entity features/items associated to blocking command module.
Click to show internal directories.
Click to hide internal directories.