diff options
Diffstat (limited to 'REFLECTION')
-rw-r--r-- | REFLECTION | 1225 |
1 files changed, 1225 insertions, 0 deletions
diff --git a/REFLECTION b/REFLECTION new file mode 100644 index 0000000..fffcce8 --- /dev/null +++ b/REFLECTION @@ -0,0 +1,1225 @@ +Extension [ <persistent> extension #98 hprose version 1.0.0 ] { + + - Functions { + Function [ <internal:hprose> function hprose_serialize ] { + + - Parameters [2] { + Parameter #0 [ <required> $val ] + Parameter #1 [ <optional> $simple ] + } + } + Function [ <internal:hprose> function hprose_unserialize ] { + + - Parameters [2] { + Parameter #0 [ <required> $data ] + Parameter #1 [ <optional> $simple ] + } + } + Function [ <internal:hprose> function hprose_info ] { + + - Parameters [0] { + } + } + } + + - Classes [12] { + Class [ <internal:hprose> class HproseTags ] { + + - Constants [34] { + Constant [ string TagInteger ] { i } + Constant [ string TagLong ] { l } + Constant [ string TagDouble ] { d } + Constant [ string TagNull ] { n } + Constant [ string TagEmpty ] { e } + Constant [ string TagTrue ] { t } + Constant [ string TagFalse ] { f } + Constant [ string TagNaN ] { N } + Constant [ string TagInfinity ] { I } + Constant [ string TagDate ] { D } + Constant [ string TagTime ] { T } + Constant [ string TagUTC ] { Z } + Constant [ string TagBytes ] { b } + Constant [ string TagUTF8Char ] { u } + Constant [ string TagString ] { s } + Constant [ string TagGuid ] { g } + Constant [ string TagList ] { a } + Constant [ string TagMap ] { m } + Constant [ string TagClass ] { c } + Constant [ string TagObject ] { o } + Constant [ string TagRef ] { r } + Constant [ string TagPos ] { + } + Constant [ string TagNeg ] { - } + Constant [ string TagSemicolon ] { ; } + Constant [ string TagOpenbrace ] { { } + Constant [ string TagClosebrace ] { } } + Constant [ string TagQuote ] { " } + Constant [ string TagPoint ] { . } + Constant [ string TagFunctions ] { F } + Constant [ string TagCall ] { C } + Constant [ string TagResult ] { R } + Constant [ string TagArgument ] { A } + Constant [ string TagError ] { E } + Constant [ string TagEnd ] { z } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ <internal:hprose> class HproseBytesIO ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [17] { + Method [ <internal:hprose, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <optional> $str ] + } + } + + Method [ <internal:hprose, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method close ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method length ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method getc ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method read ] { + + - Parameters [1] { + Parameter #0 [ <required> $n ] + } + } + + Method [ <internal:hprose> public method readfull ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method readuntil ] { + + - Parameters [1] { + Parameter #0 [ <required> $tag ] + } + } + + Method [ <internal:hprose> public method readString ] { + + - Parameters [1] { + Parameter #0 [ <required> $n ] + } + } + + Method [ <internal:hprose> public method mark ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method unmark ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method reset ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method skip ] { + + - Parameters [1] { + Parameter #0 [ <required> $n ] + } + } + + Method [ <internal:hprose> public method eof ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method write ] { + + - Parameters [2] { + Parameter #0 [ <required> $str ] + Parameter #1 [ <optional> $n ] + } + } + + Method [ <internal:hprose> public method toString ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method __toString ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:hprose> class HproseClassManager ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [3] { + Method [ <internal:hprose> static public method register ] { + + - Parameters [2] { + Parameter #0 [ <required> $name ] + Parameter #1 [ <required> $alias ] + } + } + + Method [ <internal:hprose> static public method getAlias ] { + + - Parameters [1] { + Parameter #0 [ <required> $name ] + } + } + + Method [ <internal:hprose> static public method getClass ] { + + - Parameters [1] { + Parameter #0 [ <required> $alias ] + } + } + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ <internal:hprose> class HproseWriter ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [29] { + Method [ <internal:hprose, ctor> public method __construct ] { + + - Parameters [2] { + Parameter #0 [ <required> HproseBytesIO $stream ] + Parameter #1 [ <optional> $simple ] + } + } + + Method [ <internal:hprose, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method serialize ] { + + - Parameters [1] { + Parameter #0 [ <required> $data ] + } + } + + Method [ <internal:hprose> public method writeInteger ] { + + - Parameters [1] { + Parameter #0 [ <required> $i ] + } + } + + Method [ <internal:hprose> public method writeLong ] { + + - Parameters [1] { + Parameter #0 [ <required> $i ] + } + } + + Method [ <internal:hprose> public method writeDouble ] { + + - Parameters [1] { + Parameter #0 [ <required> $d ] + } + } + + Method [ <internal:hprose> public method writeNaN ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method writeInfinity ] { + + - Parameters [1] { + Parameter #0 [ <optional> $positive ] + } + } + + Method [ <internal:hprose> public method writeNull ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method writeEmpty ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method writeBoolean ] { + + - Parameters [1] { + Parameter #0 [ <required> $b ] + } + } + + Method [ <internal:hprose> public method writeUTF8Char ] { + + - Parameters [1] { + Parameter #0 [ <required> $ch ] + } + } + + Method [ <internal:hprose> public method writeString ] { + + - Parameters [1] { + Parameter #0 [ <required> $str ] + } + } + + Method [ <internal:hprose> public method writeStringWithRef ] { + + - Parameters [1] { + Parameter #0 [ <required> $str ] + } + } + + Method [ <internal:hprose> public method writeBytes ] { + + - Parameters [1] { + Parameter #0 [ <required> $bytes ] + } + } + + Method [ <internal:hprose> public method writeBytesWithRef ] { + + - Parameters [1] { + Parameter #0 [ <required> $bytes ] + } + } + + Method [ <internal:hprose> public method writeDateTime ] { + + - Parameters [1] { + Parameter #0 [ <required> DateTime $dt ] + } + } + + Method [ <internal:hprose> public method writeDateTimeWithRef ] { + + - Parameters [1] { + Parameter #0 [ <required> DateTime $dt ] + } + } + + Method [ <internal:hprose> public method writeArray ] { + + - Parameters [1] { + Parameter #0 [ <required> array $arr ] + } + } + + Method [ <internal:hprose> public method writeAssocArray ] { + + - Parameters [1] { + Parameter #0 [ <required> array $arr ] + } + } + + Method [ <internal:hprose> public method writeList ] { + + - Parameters [1] { + Parameter #0 [ <required> Traversable $list ] + } + } + + Method [ <internal:hprose> public method writeListWithRef ] { + + - Parameters [1] { + Parameter #0 [ <required> Traversable $list ] + } + } + + Method [ <internal:hprose> public method writeMap ] { + + - Parameters [1] { + Parameter #0 [ <required> SplObjectStorage $map ] + } + } + + Method [ <internal:hprose> public method writeMapWithRef ] { + + - Parameters [1] { + Parameter #0 [ <required> SplObjectStorage $map ] + } + } + + Method [ <internal:hprose> public method writeStdClass ] { + + - Parameters [1] { + Parameter #0 [ <required> stdClass $obj ] + } + } + + Method [ <internal:hprose> public method writeStdClassWithRef ] { + + - Parameters [1] { + Parameter #0 [ <required> stdClass $obj ] + } + } + + Method [ <internal:hprose> public method writeObject ] { + + - Parameters [1] { + Parameter #0 [ <required> NULL $obj ] + } + } + + Method [ <internal:hprose> public method writeObjectWithRef ] { + + - Parameters [1] { + Parameter #0 [ <required> NULL $obj ] + } + } + + Method [ <internal:hprose> public method reset ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:hprose> class HproseRawReader ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [3] { + Method [ <internal:hprose, ctor> public method __construct ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method readRaw ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:hprose> class HproseReader extends HproseRawReader ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [37] { + Method [ <internal:hprose, overwrites HproseRawReader, ctor> public method __construct ] { + + - Parameters [2] { + Parameter #0 [ <required> HproseBytesIO $stream ] + Parameter #1 [ <optional> $simple ] + } + } + + Method [ <internal:hprose, overwrites HproseRawReader, prototype HproseRawReader, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method unserialize ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method checkTag ] { + + - Parameters [2] { + Parameter #0 [ <required> $expectTag ] + Parameter #1 [ <optional> $tag ] + } + } + + Method [ <internal:hprose> public method checkTags ] { + + - Parameters [2] { + Parameter #0 [ <required> $expectTags ] + Parameter #1 [ <optional> $tag ] + } + } + + Method [ <internal:hprose> public method readIntegerWithoutTag ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method readInteger ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method readLongWithoutTag ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method readLong ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method readDoubleWithoutTag ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method readDouble ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method readNaN ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method readInfinityWithoutTag ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method readInfinity ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method readNull ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method readEmpty ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method readBoolean ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method readDateWithoutTag ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method readDate ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method readTimeWithoutTag ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method readTime ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method readBytesWithoutTag ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method readBytes ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method readUTF8CharWithoutTag ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method readUTF8Char ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method readStringWithoutTag ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method readString ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method readGuidWithoutTag ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method readGuid ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method readListWithoutTag ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method readList ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method readMapWithoutTag ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method readMap ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method readObjectWithoutTag ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method readObject ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method reset ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose, inherits HproseRawReader> public method readRaw ] { + + - Parameters [0] { + } + } + } + } + + Class [ <internal:hprose> class HproseFormatter ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [2] { + Method [ <internal:hprose> static public method serialize ] { + + - Parameters [2] { + Parameter #0 [ <required> $val ] + Parameter #1 [ <optional> $simple ] + } + } + + Method [ <internal:hprose> static public method unserialize ] { + + - Parameters [2] { + Parameter #0 [ <required> $data ] + Parameter #1 [ <optional> $simple ] + } + } + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Class [ <internal:hprose> class HproseResultMode ] { + + - Constants [4] { + Constant [ integer Normal ] { 0 } + Constant [ integer Serialized ] { 1 } + Constant [ integer Raw ] { 2 } + Constant [ integer RawWithEndTag ] { 3 } + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [0] { + } + } + + Interface [ <internal:hprose> interface HproseFilter ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [2] { + Method [ <internal:hprose> abstract public method inputFilter ] { + + - Parameters [2] { + Parameter #0 [ <required> $data ] + Parameter #1 [ <required> $context ] + } + } + + Method [ <internal:hprose> abstract public method outputFilter ] { + + - Parameters [2] { + Parameter #0 [ <required> $data ] + Parameter #1 [ <required> $context ] + } + } + } + } + + Class [ <internal:hprose> class HproseProxy ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [4] { + Method [ <internal:hprose, ctor> public method __construct ] { + + - Parameters [2] { + Parameter #0 [ <required> HproseClient $client ] + Parameter #1 [ <optional> $ns ] + } + } + + Method [ <internal:hprose, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method __call ] { + + - Parameters [2] { + Parameter #0 [ <required> $name ] + Parameter #1 [ <required> array $args ] + } + } + + Method [ <internal:hprose> public method __get ] { + + - Parameters [1] { + Parameter #0 [ <required> $name ] + } + } + } + } + + Class [ <internal:hprose> abstract class HproseClient extends HproseProxy ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [1] { + Property [ <default> protected $url ] + } + + - Methods [15] { + Method [ <internal:hprose, overwrites HproseProxy, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <optional> $url ] + } + } + + Method [ <internal:hprose, overwrites HproseProxy, prototype HproseProxy, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> protected method sendAndReceive ] { + + - Parameters [1] { + Parameter #0 [ <required> $request ] + } + } + + Method [ <internal:hprose> protected method asyncSendAndReceive ] { + + - Parameters [2] { + Parameter #0 [ <required> $request ] + Parameter #1 [ <required> $use ] + } + } + + Method [ <internal:hprose> protected method sendAndReceiveCallback ] { + + - Parameters [3] { + Parameter #0 [ <required> $response ] + Parameter #1 [ <required> Exception or NULL $err ] + Parameter #2 [ <required> array $use ] + } + } + + Method [ <internal:hprose> public method useService ] { + + - Parameters [2] { + Parameter #0 [ <optional> $url ] + Parameter #1 [ <optional> $ns ] + } + } + + Method [ <internal:hprose> public method invoke ] { + + - Parameters [6] { + Parameter #0 [ <required> $name ] + Parameter #1 [ <optional> array &$args ] + Parameter #2 [ <optional> $byref ] + Parameter #3 [ <optional> $mode ] + Parameter #4 [ <optional> $simple ] + Parameter #5 [ <optional> $callback ] + } + } + + Method [ <internal:hprose> public method getFilter ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method setFilter ] { + + - Parameters [1] { + Parameter #0 [ <required> HproseFilter or NULL $filter ] + } + } + + Method [ <internal:hprose> public method addFilter ] { + + - Parameters [1] { + Parameter #0 [ <required> HproseFilter $filter ] + } + } + + Method [ <internal:hprose> public method removeFilter ] { + + - Parameters [1] { + Parameter #0 [ <required> HproseFilter $filter ] + } + } + + Method [ <internal:hprose> public method getSimple ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method setSimple ] { + + - Parameters [1] { + Parameter #0 [ <optional> $simple ] + } + } + + Method [ <internal:hprose, inherits HproseProxy> public method __call ] { + + - Parameters [2] { + Parameter #0 [ <required> $name ] + Parameter #1 [ <required> array $args ] + } + } + + Method [ <internal:hprose, inherits HproseProxy> public method __get ] { + + - Parameters [1] { + Parameter #0 [ <required> $name ] + } + } + } + } + + Class [ <internal:hprose> abstract class HproseService ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [5] { + Property [ <default> protected $debug ] + Property [ <default> protected $error_types ] + Property [ <default> public $onBeforeInvoke ] + Property [ <default> public $onAfterInvoke ] + Property [ <default> public $onSendError ] + } + + - Methods [25] { + Method [ <internal:hprose, ctor> public method __construct ] { + + - Parameters [1] { + Parameter #0 [ <optional> $url ] + } + } + + Method [ <internal:hprose, dtor> public method __destruct ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> protected method getErrorTypeString ] { + + - Parameters [1] { + Parameter #0 [ <required> $errno ] + } + } + + Method [ <internal:hprose> protected method sendError ] { + + - Parameters [2] { + Parameter #0 [ <required> $error ] + Parameter #1 [ <required> $context ] + } + } + + Method [ <internal:hprose> protected method doInvoke ] { + + - Parameters [2] { + Parameter #0 [ <required> HproseBytesIO $input ] + Parameter #1 [ <required> $context ] + } + } + + Method [ <internal:hprose> protected method doFunctionList ] { + + - Parameters [1] { + Parameter #0 [ <required> $context ] + } + } + + Method [ <internal:hprose> public method isDebugEnabled ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method setDebugEnabled ] { + + - Parameters [1] { + Parameter #0 [ <optional> $enable ] + } + } + + Method [ <internal:hprose> public method getErrorTypes ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method setErrorTypes ] { + + - Parameters [1] { + Parameter #0 [ <required> $error_types ] + } + } + + Method [ <internal:hprose> public method getFilter ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method setFilter ] { + + - Parameters [1] { + Parameter #0 [ <required> HproseFilter or NULL $filter ] + } + } + + Method [ <internal:hprose> public method addFilter ] { + + - Parameters [1] { + Parameter #0 [ <required> HproseFilter $filter ] + } + } + + Method [ <internal:hprose> public method removeFilter ] { + + - Parameters [1] { + Parameter #0 [ <required> HproseFilter $filter ] + } + } + + Method [ <internal:hprose> public method getSimple ] { + + - Parameters [0] { + } + } + + Method [ <internal:hprose> public method setSimple ] { + + - Parameters [1] { + Parameter #0 [ <optional> $simple ] + } + } + + Method [ <internal:hprose> public method defaultHandle ] { + + - Parameters [2] { + Parameter #0 [ <required> $request ] + Parameter #1 [ <required> $context ] + } + } + + Method [ <internal:hprose> public method addMissingFunction ] { + + - Parameters [3] { + Parameter #0 [ <required> $func ] + Parameter #1 [ <optional> $mode ] + Parameter #2 [ <optional> $simple ] + } + } + + Method [ <internal:hprose> public method addFunction ] { + + - Parameters [4] { + Parameter #0 [ <required> $func ] + Parameter #1 [ <optional> $alias ] + Parameter #2 [ <optional> $mode ] + Parameter #3 [ <optional> $simple ] + } + } + + Method [ <internal:hprose> public method addFunctions ] { + + - Parameters [4] { + Parameter #0 [ <required> array $funcs ] + Parameter #1 [ <optional> array or NULL $aliases ] + Parameter #2 [ <optional> $mode ] + Parameter #3 [ <optional> $simple ] + } + } + + Method [ <internal:hprose> public method addMethod ] { + + - Parameters [5] { + Parameter #0 [ <required> $methodname ] + Parameter #1 [ <required> $belongto ] + Parameter #2 [ <optional> $alias ] + Parameter #3 [ <optional> $mode ] + Parameter #4 [ <optional> $simple ] + } + } + + Method [ <internal:hprose> public method addMethods ] { + + - Parameters [5] { + Parameter #0 [ <required> array $methods ] + Parameter #1 [ <required> $belongto ] + Parameter #2 [ <optional> $aliases ] + Parameter #3 [ <optional> $mode ] + Parameter #4 [ <optional> $simple ] + } + } + + Method [ <internal:hprose> public method addInstanceMethods ] { + + - Parameters [5] { + Parameter #0 [ <required> $obj ] + Parameter #1 [ <optional> $class_name ] + Parameter #2 [ <optional> $alias_prefix ] + Parameter #3 [ <optional> $mode ] + Parameter #4 [ <optional> $simple ] + } + } + + Method [ <internal:hprose> public method addClassMethods ] { + + - Parameters [5] { + Parameter #0 [ <required> $class_name ] + Parameter #1 [ <optional> $exec_class ] + Parameter #2 [ <optional> $alias_prefix ] + Parameter #3 [ <optional> $mode ] + Parameter #4 [ <optional> $simple ] + } + } + + Method [ <internal:hprose> public method add ] { + + - Parameters [3] { + Parameter #0 [ <required> $arg1 ] + Parameter #1 [ <optional> $arg2 ] + Parameter #2 [ <optional> $arg3 ] + } + } + } + } + } +} + |