/* */ package cn.cloudwalk.event.task; /* */ /* */ import cn.cloudwalk.cwos.client.event.event.BaseEvent; /* */ import cn.cloudwalk.event.handler.EventHandler; /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ /* */ public class EventHandleTask /* */ { /* */ private E event; /* */ private EventHandler handler; /* */ /* */ public EventHandleTask(E event, EventHandler 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 getHandler() { /* 46 */ return this.handler; /* */ } /* */ /* */ public void setHandler(EventHandler 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 */