MediaWiki
REL1_33
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
}
$line
$line
Definition
cdb.php:59
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
array
The wiki should then use memcached to cache various data To use multiple just add more items to the array To increase the weight of a make its entry a array("192.168.0.1:11211", 2))
includes
rcfeed
UDPRCFeedEngine.php
Generated on Mon Nov 25 2024 15:49:51 for MediaWiki by
1.10.0