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
Exceptionpublic Event handleEvent(Event event, InjectionContext context)
EventHandlerhandleEvent in interface EventHandlerevent - the event to handlecontext - the contextnull if the event
should not be passed to the next handler.public void dispose()
dispose in interface EventHandlerprotected void handleWork(byte[] data)
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.