MediaWiki master
UDPRCFeedEngine.php
Go to the documentation of this file.
1<?php
7namespace MediaWiki\RCFeed;
8
10
32
39 public function send( array $feed, $line ) {
40 $transport = UDPTransport::newFromString( $feed['uri'] );
41 $transport->emit( $line );
42 return true;
43 }
44}
46class_alias( UDPRCFeedEngine::class, 'UDPRCFeedEngine' );
Base class for RCFeed implementations that use RCFeedFormatter.
Send recent change notifications to a destination address over UDP.
A generic class to send a message over UDP.