public class MailEventHandler extends Object implements EventHandler
Constructor and Description |
---|
MailEventHandler(String id,
MailSender sender,
PipeService pipeService,
int retries) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
Event |
handleEvent(Event event,
InjectionContext context)
Handle an event
|
protected void |
handleWork(byte[] data) |
public MailEventHandler(String id, MailSender sender, PipeService pipeService, int retries) throws Exception
Exception
public Event handleEvent(Event event, InjectionContext context)
EventHandler
handleEvent
in interface EventHandler
event
- the event to handlecontext
- the contextnull
if the event
should not be passed to the next handler.public void dispose()
dispose
in interface EventHandler
protected void handleWork(byte[] data)
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.