Overview Package Tree | HessianPHP |
FRAMES NO FRAMES | |
SUMMARY: FIELD METHOD | DETAIL: FIELD METHOD |
HessianPHP.Protocol.HessianProtocolHandler
|
+--HessianPHP.Protocol.HessianParser
class HessianParser
extends HessianProtocolHandler
Hessian protocol parser, inspired and partially based on hessianlib.py by Caucho.
TODO:
- Handling of 'headers'
Field Summary |
---|
public var | $lastCode |
Fields inherited from HessianPHP.Protocol.HessianProtocolHandler | |
---|---|
$stream $pos $len $refs $error $dateProvider $typemap |
Method Summary |
---|
private string | read Reads n bytes of the stream and increases internal pointer by that number |
public mixed | parseObject Main parsing function that reads the head code from the stream and returns the appropriate PHP value Thanks to Radu-Adrian Popescu for his patch to 'long' and 'date' deserializing. |
public void | parseCall |
public void | endStream |
public void | parseReply |
public void | parseFault |
public void | parseMap |
public void | parseList |
public void | readLong |
public void | readString |
public void | readBinary |
Methods inherited from HessianPHP.Protocol.HessianProtocolHandler | |
---|---|
HessianProtocolHandler, clearRefs, setStream, setDateProvider, setTypeMap |
Field Detail |
---|
public var $lastCode = false
Method Detail |
---|
private string read(int num)
Reads n bytes of the stream and increases internal pointer by that number
num
- Number of bytes to read public mixed parseObject(string code = '')
Main parsing function that reads the head code from the stream and returns the appropriate PHP value Thanks to Radu-Adrian Popescu for his patch to 'long' and 'date' deserializing.
code
- Hessian object code public void parseCall()
public void endStream()
public void parseReply()
public void parseFault()
public void parseMap()
public void parseList()
public void readLong()
public void readString()
public void readBinary()
Overview Package Tree | HessianPHP |
FRAMES NO FRAMES | |
SUMMARY: FIELD METHOD | DETAIL: FIELD METHOD |