当前位置:网站首页>Laravel listening mode
Laravel listening mode
2022-06-11 16:07:00 【Chenqing Nuo language】
Monitor mode (monitor mode), or RFMON(Radio Frequency MONitor), Refer to wireless network card Can receive all the data flow through it , Corresponding to IEEE 802.11 Other modes of network card , Such as Master( Router )、Managed( Normal mode network card )、Ad-hoc etc. . The listener mode does not distinguish between the received Data packets The goal of MAC Address , This and Hybrid mode similar . However , Unlike the hybrid model , Listener mode does not need and Wireless access point (AP) or Ad-hoc Network connection . Monitoring mode is a special mode of wireless network card , Hybrid mode is applied to wired network card and wireless network card .
Listener mode is usually used for network discovery 、 Traffic monitoring and Group analysis .Linux、Mac OS X、Windows And other things Unix-like The platform has network discovery using listener mode 、 Caught tools , Such as KisMAC、Kismet、Wireshark、Aircrack-NG etc. .
2.laravel Chinese document The event system | further |《Laravel 8 Chinese document 8.5》| Laravel China Community
The event system
Generate events and listeners
Add listeners and events to EventServiceProvider And use event:generate Artisan command . This command will generate EventServiceProvider Listed in the 、 Any events or listeners that do not yet exist :
php artisan event:generate You can use make:event as well as make:listener For generating single events and listeners Artisan command :
php artisan make:event PodcastProcessed
php artisan make:listener SendPodcastNotification --event=PodcastProcessedThe discovery of events
Event discovery is disabled by default , But you can override the application's EventServiceProvider Of shouldDiscoverEvents Method to enable it :
/**
* Determine whether to apply autodiscover events and listeners .
*
* @return bool
*/
public function shouldDiscoverEvents()
{
return true;
}Test the controller call

PodcastProcessed

EventServiceProvider

SendPodcastNotification



Ook \(^o^)/~
边栏推荐
- Hands on, how should selenium deal with pseudo elements?
- PostgreSQL create table
- 09-最小生成树 公路村村通
- The difference between go language array and slice
- MAUI 入门教程系列(1.框架简介)
- 前沿科技探究之AI在索引推荐的应用
- Code farming essential SQL tuning (Part 2)
- GO語言-值類型和引用類型
- Discussion on opengauss parallel decoding
- [golang] leetcode special training - array and slice
猜你喜欢

Discussion on opengauss parallel decoding

使用Cloud DB构建APP 快速入门-快游戏篇

Tianjin Port coke wharf hand in hand map flapping software to visually unlock the smart coke port

Yiwenjiaohui your database system tuning

Using cloud DB to build apps quick start - quick games

Go language slice

Learn automatic testing of postman interface from 0 to 1

推开混合云市场大门,Lenovo xCloud的破局之道

Elk enterprise log analysis system

With an average annual salary of 20W, automated test engineers are so popular?
随机推荐
Database design recommendations
GO语言数组和切片的区别
如何管理并发写入操作?带你快速上手
【愚公系列】2022年06月 .NET架构班 076-分布式中间件 ScheduleMaster的执行原理
无心剑英汉双语诗001. 《春游》
AutoRunner自动化测试工具如何创建项目-Alltesting|泽众云测试
Transfer learning
Detailed explanation of opengauss multi thread architecture startup process
问题 AC: 中国象棋中的跳马问题
Overview and operation of database dense equivalent query
laravel 8 通过 任务调度 实现 数据库备份
AI function of cutting-edge technology exploration: slow SQL discovery
Using cloud DB to build app quick start - quick application
Golang map basic operations
(湖南科技大学oj作业)问题 G: 串的模式匹配
Opengauss database JDBC environment connection configuration (eclipse)
GO语言-值类型和引用类型
Take you in-depth understanding of AGC cloud database
From repeatedly rejected manuscripts to post-90s assistant professor, Wang Hao of Rutgers University: curiosity drives me to constantly explore
With an average annual salary of 20W, automated test engineers are so popular?