| Overview Package Tree | HessianPHP |
| FRAMES NO FRAMES | |
| SUMMARY: FIELD METHOD | DETAIL: FIELD METHOD |
HessianPHP.Filters.FilterContainer
|
+--HessianPHP.Client.HessianProxy
class HessianProxy
extends FilterContainer
Represents a remote Hessian service endpoint with things such as url, remote methods, security and several connection options
| Field Summary |
|---|
| public var | $url |
| public var | $remoteMethods |
| public var | $options |
| public var | $error |
| public var | $parser |
| public var | $writer |
| public var | $http |
| public var | $callingContext |
| Fields inherited from HessianPHP.Filters.FilterContainer | |
|---|---|
| $filters | |
| Method Summary |
|---|
| public void | HessianProxy |
| public void | remoteMethod Registers a remote method name. |
| public string | resolveMethod Returns the exact case sesitive name of a registered remote method |
| public void | setOption Sets a connection option that will be passed to the Hessian proxy when called. |
| public void | getOption |
| public void | call Performs a remote call taking in account whatever filters have been defined for this proxy |
| public void | executeCall Performs the actual remote call |
| public boolean | notifyError Notifies the HessianErrorLog object that handles the error |
| Methods inherited from HessianPHP.Filters.FilterContainer | |
|---|---|
| addFilter, removeFilter | |
| Field Detail |
|---|
public var $urlpublic var $remoteMethods = array()public var $optionspublic var $error = falsepublic var $parserpublic var $writerpublic var $httppublic var $callingContext = array()
| Method Detail |
|---|
public void HessianProxy(var $url,
var $options = false)$url$optionspublic void remoteMethod(string name)
Registers a remote method name.
Useful for store description of services and resolve naming conflicts due to case sensitivity
name - Name of the remote method public string resolveMethod(string method)
Returns the exact case sesitive name of a registered remote method
method - case insensitive name of the method public void setOption(string name,
string value)Sets a connection option that will be passed to the Hessian proxy when called.
Format is a pair key/value
name - Key value - Value public void getOption(var $name)
$namepublic void call(string method,
array params)Performs a remote call taking in account whatever filters have been defined for this proxy
method - name of the remote method params - Array containing the values to send public void executeCall(string method,
array params)Performs the actual remote call
method - name of the remote method params - Array containing the values to send public boolean notifyError(Object error)
Notifies the HessianErrorLog object that handles the error
error - An error object | Overview Package Tree | HessianPHP |
| FRAMES NO FRAMES | |
| SUMMARY: FIELD METHOD | DETAIL: FIELD METHOD |