mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-09 08:20:31 +08:00
27c3949045
- .gitignore:显式放行全部 maven-*、scripts、dev-support、frontend、反1、artifacts、历史导出目录
- 新增跟踪:device-manager/device-sdk/legacy-public、davinci-manager、cwos-*、cwos-resource 等源码与附属资源
- davinci FileStorageManagerImpl:Feign Response 关闭、绝对 URL 拉流 SSRF 校验(协议/主机/解析地址)
- davinci OuterCallFeignClient:补充契约说明
- cwos-common-aks AksConstant:final 类 + 私有构造防误实例化
- device-manager DeviceConstant:沿用 DEFAULT_APPLICATIONID 拼写修正
Made-with: Cursor
Former-commit-id: 0a34c76a82
58 lines
1.6 KiB
Java
58 lines
1.6 KiB
Java
/* */ package cn.cloudwalk.event.task;
|
|
/* */
|
|
/* */ import cn.cloudwalk.cwos.client.event.event.BaseEvent;
|
|
/* */ import cn.cloudwalk.event.handler.EventHandler;
|
|
/* */
|
|
/* */
|
|
/* */
|
|
/* */
|
|
/* */
|
|
/* */
|
|
/* */
|
|
/* */
|
|
/* */
|
|
/* */
|
|
/* */
|
|
/* */
|
|
/* */
|
|
/* */
|
|
/* */
|
|
/* */
|
|
/* */
|
|
/* */ public class EventHandleTask<E extends BaseEvent>
|
|
/* */ {
|
|
/* */ private E event;
|
|
/* */ private EventHandler<E> handler;
|
|
/* */
|
|
/* */ public EventHandleTask(E event, EventHandler<E> handler) {
|
|
/* 28 */ this.event = event;
|
|
/* 29 */ this.handler = handler;
|
|
/* */ }
|
|
/* */
|
|
/* */ public String start() {
|
|
/* 33 */ this.handler.onEvent((BaseEvent)this.event);
|
|
/* 34 */ return this.event.getMessageId();
|
|
/* */ }
|
|
/* */
|
|
/* */ public E getEvent() {
|
|
/* 38 */ return this.event;
|
|
/* */ }
|
|
/* */
|
|
/* */ public void setEvent(E event) {
|
|
/* 42 */ this.event = event;
|
|
/* */ }
|
|
/* */
|
|
/* */ public EventHandler<E> getHandler() {
|
|
/* 46 */ return this.handler;
|
|
/* */ }
|
|
/* */
|
|
/* */ public void setHandler(EventHandler<E> handler) {
|
|
/* 50 */ this.handler = handler;
|
|
/* */ }
|
|
/* */ }
|
|
|
|
|
|
/* Location: D:\星中心\cw-elevator-application-V1.0.0.20211103\cw-elevator-application-V1.0.0.20211103\lib\cloudwalk-common-event-3.7.2-Brussels-SRX.jar!\cn\cloudwalk\event\task\EventHandleTask.class
|
|
* Java compiler version: 7 (51.0)
|
|
* JD-Core Version: 1.1.3
|
|
*/ |