123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <?php
- if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); }
- abstract class ImManager extends IoManager
- {
- abstract function send_raw_message($data);
- function __construct($imPlugin)
- {
- $this->plugin = $imPlugin;
- $this->plugin->imManager = $this;
- }
-
- public static function get()
- {
- throw new Exception('ImManager should be created using it\'s constructor, not the static get method');
- }
- }
|