MediaWiki  master
UDPRCFeedEngine.php
Go to the documentation of this file.
1 <?php
32  public function send( array $feed, $line ) {
33  $transport = UDPTransport::newFromString( $feed['uri'] );
34  $transport->emit( $line );
35  return true;
36  }
37 }
UDPTransport\newFromString
static newFromString( $info)
Definition: UDPTransport.php:56
UDPRCFeedEngine\send
send(array $feed, $line)
Definition: UDPRCFeedEngine.php:32
RCFeedEngine
Backward-compatibility alias.
Definition: RCFeedEngine.php:26
UDPRCFeedEngine
Send recent change notifications in a UDP packet.
Definition: UDPRCFeedEngine.php:25
$line
$line
Definition: mcc.php:119