메소드 |
설명 |
|
addRequest ( string $pid, RequestRecord $request ) |
Add new RequestRecord to storage. |
|
cancelRequest ( string $pid, Erro\Error | Exceptio\Exception | ThrowableProxy $ex ) |
Cancel RequestRecord if it exists that has protocol ID equal to $pid. |
|
createRequest ( string $pid, callable $success = null, callable $failure = null, callable $cancel = null, float $timeout ) : RequestRecord |
Create RequestRecord. |
|
existsRequest ( string $pid ) : boolean |
Check if RequestRecord with given protocol ID exists. |
|
expireRequests ( ) |
Cancel overdue Requests. |
|
getRequest ( string $pid ) : RequestRecord | null |
Return RequestRecord if it exists or null if it does not exist. |
|
rejectRequest ( string $pid, Erro\Error | Exceptio\Exception | ThrowableProxy $ex ) |
Reject RequestRecord if it exists that has protocol ID equal to $pid. |
|
resolveRequest ( string $pid, string $message ) |
Resolve RequestRecord if it exists that has protocol ID equal to $pid. |
|