monitoring/commands: Remove the `Transport' interface

The `Transport' interface is superseded by the `CommandTransportInterface'.

refs #6593
This commit is contained in:
Eric Lippmann 2014-08-29 14:43:44 +02:00
parent e7eae87f16
commit 2ac4a8503c
1 changed files with 0 additions and 27 deletions

View File

@ -1,27 +0,0 @@
<?php
// {{{ICINGA_LICENSE_HEADER}}}
// {{{ICINGA_LICENSE_HEADER}}}
namespace Icinga\Protocol\Commandpipe\Transport;
use \Zend_Config;
/**
* Interface for Transport classes handling the concrete access to the command pipe
*/
interface Transport
{
/**
* Overwrite the target file of this Transport class using the given config from instances.ini
*
* @param Zend_Config $config A configuration file containing a 'path' setting
*/
public function setEndpoint(Zend_Config $config);
/**
* Write the given external command to the command pipe
*
* @param string $message The command to send, without the timestamp (this will be added here)
*/
public function send($message);
}