(uuid string, processor *EventProcessor)
| 42 | } |
| 43 | |
| 44 | func (this *eventWorker) init(uuid string, processor *EventProcessor) { |
| 45 | this.ticker = time.NewTicker(time.Millisecond * 100) |
| 46 | this.incoming = make(chan event.IEventStruct, MAX_CHAN_LEN) |
| 47 | this.UUID = uuid |
| 48 | this.processor = processor |
| 49 | } |
| 50 | |
| 51 | func (this *eventWorker) GetUUID() string { |
| 52 | return this.UUID |