MediaWiki
REL1_39
UDPRCFeedEngine.php
Go to the documentation of this file.
1
<?php
40
class
UDPRCFeedEngine
extends
FormattedRCFeed
{
41
48
public
function
send
( array $feed,
$line
) {
49
$transport = UDPTransport::newFromString( $feed[
'uri'
] );
50
$transport->emit(
$line
);
51
return
true
;
52
}
53
}
FormattedRCFeed
Base class for RCFeed implementations that use RCFeedFormatter.
Definition
FormattedRCFeed.php:30
UDPRCFeedEngine
Send recent change notifications to a destination address over UDP.
Definition
UDPRCFeedEngine.php:40
UDPRCFeedEngine\send
send(array $feed, $line)
Definition
UDPRCFeedEngine.php:48
$line
$line
Definition
mcc.php:119
includes
rcfeed
UDPRCFeedEngine.php
Generated on Mon Dec 23 2024 06:24:17 for MediaWiki by
1.10.0