Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
system
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
_site-res
system
Commits
4491d6e0
Commit
4491d6e0
authored
May 04, 2018
by
tufengqi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完成底层异步框架
parent
9f18ca35
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
10 deletions
+4
-10
ThriftAsyncDetailInstanse.php
classes/fpf/thrift/ThriftAsyncDetailInstanse.php
+4
-10
No files found.
classes/fpf/thrift/ThriftAsyncDetailInstanse.php
View file @
4491d6e0
<?php
namespace
fpf\thrift
;
use
Thrift\Type\TMessageType
;
class
ThriftAsyncDetailInstanse
{
private
$protocol
=
null
;
private
$promise
=
null
;
private
$class_name
=
''
;
private
$func_name
=
''
;
public
function
__
_construct
(
$protocol
,
$promise
,
$class_name
,
$func_name
)
public
function
__
construct
(
$promise
,
$protocol
,
$class_name
,
$func_name
)
{
$this
->
protocol
=
$protocol
;
$this
->
promise
=
$promise
;
$this
->
protocol
=
$protocol
;
$this
->
class_name
=
$class_name
;
$this
->
func_name
=
$func_name
;
}
public
function
getProtocol
()
{
return
$this
->
protocol
;
}
public
function
getPromise
()
{
return
$this
->
promise
;
}
public
function
wait
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment