Yet Another RPC FrameworkTable of Contents
The Yar_Server classIntroduction
Class synopsisYar_Server
class Yar_Server
{
/* Properties */
protected
$_executor
;
/* Methods */
final public __construct
( Object
$obj
)
public boolean handle
( void
)
}Properties
The Yar_Client classIntroduction
Class synopsisYar_Client
class Yar_Client
{
/* Properties */
protected
$_protocol
;
protected
$_uri
;
protected
$_options
;
protected
$_running
;
/* Methods */
public void __call
( string
$method
, array $parameters
)
final public __construct
( string
$url
)
public boolean setOpt
( number
}$name
, mixed $value
)Properties
The Yar_Concurrent_Client classIntroduction
Class synopsisYar_Concurrent_Client
class Yar_Concurrent_Client
{
/* Properties */
static
$_callstack
;
static
$_callback
;
static
$_error_callback
;
/* Methods */
public static int call
( string
$uri
, string $method
, array $parameters
[, callable $callback
] )
public static boolean loop
([ callable
$callback
[, callable $error_callback
]] )
public static boolean reset
( void
)
}Properties
The Yar_Server_Exception classIntroductionIf service threw exceptions, A Yar_Server_Exception will be threw in client side. Class synopsisYar_Server_Exception
class Yar_Server_Exception
extends
Exception
{
/* Properties */
protected
$_type
;
/* Methods */
public string getType
( void
)
/* Inherited methods */
final public string Exception::getMessage
( void
)
final public Throwable Exception::getPrevious
( void
)
final public mixed Exception::getCode
( void
)
final public string Exception::getFile
( void
)
final public int Exception::getLine
( void
)
final public array Exception::getTrace
( void
)
final public string Exception::getTraceAsString
( void
)
public string Exception::__toString
( void
)
final private void Exception::__clone
( void
)
}Properties
The Yar_Client_Exception classIntroduction
Class synopsisYar_Client_Exception
class Yar_Client_Exception
extends
Exception
{
/* Properties */
/* Methods */
public void getType
( void
)
/* Inherited methods */
final public string Exception::getMessage
( void
)
final public Throwable Exception::getPrevious
( void
)
final public mixed Exception::getCode
( void
)
final public string Exception::getFile
( void
)
final public int Exception::getLine
( void
)
final public array Exception::getTrace
( void
)
final public string Exception::getTraceAsString
( void
)
public string Exception::__toString
( void
)
final private void Exception::__clone
( void
)
}Properties
|