$this->ConfigSetName('filter');
        parent::__construct();
    }
    public function Factory()
    {
        return new ManFilter();
    }
    public function ServerSetup()
    {
        $this->ServiceCreate('+FTR', array(&$this, 'FTRcmd'));
        $this->ServiceProxy('+EOF');
    }
    public function FTRcmd()
    {
        $ftr = $this->ServiceGetFilter();
        $ftr->SendSTART();
        while ($this->ReadItemExists()) {
            $ftr->SendC("<" . $this->ReadC() . ">");
        }
        $ftr->SendEND_AND_WAIT('+FTR');
        $this->SendRETURN();
    }
}
$srv = new ManFilter();
try {
    $srv->LinkCreate($argv);
    $srv->ProcessEvent(MqS::WAIT_FOREVER);
} catch (Exception $ex) {
    $srv->ErrorSet($ex);
}
$srv->Exit();