Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ping ¶
type Ping struct {
// contains filtered or unexported fields
}
Ping represents a ping server stream module.
func (*Ping) MatchesIQ ¶
MatchesIQ returns whether or not an IQ should be processed by the ping module.
func (*Ping) ProcessIQ ¶
ProcessIQ processes a ping IQ taking according actions over the associated stream.
func (*Ping) RegisterDisco ¶ added in v0.3.0
RegisterDisco registers disco entity features/items associated to ping module.
func (*Ping) ResetDeadline ¶
func (x *Ping) ResetDeadline()
ResetDeadline resets send ping deadline.
func (*Ping) StartPinging ¶
func (x *Ping) StartPinging()
StartPinging starts pinging peer every 'send interval' period.
Click to show internal directories.
Click to hide internal directories.