MediaWiki
REL1_35
UDPRCFeedEngine.php
Go to the documentation of this file.
1
<?php
25
class
UDPRCFeedEngine
extends
RCFeedEngine
{
32
public
function
send
( array $feed,
$line
) {
33
$transport = UDPTransport::newFromString( $feed[
'uri'
] );
34
$transport->emit(
$line
);
35
return
true
;
36
}
37
}
RCFeedEngine
Backward-compatibility alias.
Definition
RCFeedEngine.php:26
UDPRCFeedEngine
Send recent change notifications in a UDP packet.
Definition
UDPRCFeedEngine.php:25
UDPRCFeedEngine\send
send(array $feed, $line)
Definition
UDPRCFeedEngine.php:32
$line
$line
Definition
mcc.php:119
includes
rcfeed
UDPRCFeedEngine.php
Generated on Sat Apr 6 2024 00:07:40 for MediaWiki by
1.9.8