SwooleDistributed2
Introduction
导言
用户案例
基于Swoole扩展分布式全栈开发框架
捐赠SwooleDistributed项目
框架性能报告
安装与配置
环境要求
使用Composer安装/更新SD框架
代码结构
启动命令
服务器配置
服务器基础配置server.php
客户端协议配置client.php
business.php
log.php
微服务及集群配置consul.php
fileHeader.php
mysql.php
redis.php
定时任务配置timerTask.php
服务器端口配置ports.php
验证服务启动成功
微服务-Consul
日志工具-GrayLog
集群-Cluster
开发流程
开发前必读
开放规范
基本流程
协程
初识协程
迭代器
调度器
使用协程的优势
通过协程的方法屏蔽异步同步的区别
Select多路选择器
增强的协程
设置超时
设置无异常
设置降级函数
封装器与路由器
封装器
路由器
入门教学
框架入口
Controller控制器
Model数据模型
类介绍
AppServer
clearState
onOpenServiceInitialization
onUidCloseClear
initAsynPools
SwooleDistributedServer
get_instance
sendToUid
sendToUids
kickUid
bindUid
unBindUid
coroutineUidIsOnline
coroutineCountOnline
sendToAll
setTemplateEngine
isWebSocket
isTaskWorker
getSocketName
initAsynPools
addAsynPool
getAsynPool
stopTask
getServerAllTaskMessage
Loader
model
task
view
Controller
initialization
onExceptionHandle
destory
send
sendToUid
sendToUids
sendToAll
sendToGroup
kickUid
bindUid
unBindUid
close
getContext
defaultMethod
$redis_pool
$mysql_pool
$http_input
$http_output
$request_type
$fd
$uid
$client_data
$request
$response
$loader
$logger
$server
$config
Model
initialization
destory
$redis_pool
$mysql_pool
View
Task
stopTask
getServerAllTaskMessage
HttpInput
postGet
post
get
getPost
getAllPostGet
getAllHeader
getRawContent
cookie
getRequestHeader
server信息
getRequestMethod
getRequestUri
getPathInfo
HttpOutput
setStatusHeader
setContentType
setHeader
end
setCookie
endFile
Redis使用介绍
RedisAsynPool
Redis具体使用
Mysql使用介绍
MysqlAsynPool
Mysql返回值
如何获取构建的mysql语句
如何执行一个SQL
如何执行事务
跨进程的高速内存缓存
异步客户端
MqttClient
SdTcpRpcPool
HttpClientPool
HttpClient
TcpClientPool
AMQP
HTTP专栏
TCP专栏
基础知识
WebSocket专栏
微服务
Consul配置
RPC
REST
单元测试
Powered by
GitBook
getServerAllTaskMessage
getServerAllTaskMessage
获取服务器上正在运行的Task
get_instance->getServerAllTaskMessage();
results matching "
"
No results matching "
"