<?php


namespace Mainto\RpcServer\Protocol\Response;



use Mainto\RpcServer\Util\IO\Reader;
use Mainto\RpcServer\Util\IO\Writer;
use Mainto\RpcServer\Util\IO\WriterTo;

interface Extend {
    const MagicNumUrlInvoke = 1;
    const MagicNumErrorExtend = 2;

    public function magicNum ();

    public function dumpToWriter(Writer $writer);
}