Add timeout method to force call of idle to send ping

This commit is contained in:
Luke Fitzgerald 2010-07-26 11:21:11 -07:00
parent 82f44c5fa0
commit e911480587

View File

@ -76,6 +76,14 @@ class MsnManager extends ImManager {
} }
} }
/**
* Message pump is triggered on socket input, so we only need an idle()
* call often enough to trigger our outgoing pings.
*/
function timeout() {
return $this->pingInterval;
}
/** /**
* Process MSN events that have come in over the wire. * Process MSN events that have come in over the wire.
* *