com.neeve.link
Interface ILnkEventHandler


public interface ILnkEventHandler

The Link Event Handler interface.

An event handler is a sink for events generated by a link. Link events contain:
- An event type field (an integer value)
- An event data object (a type specific object).
Event types and their associated structure that are defined in the LnkEvents class are applicable to all link implementations. An implementation is free to add more implementation specific event types.


Method Summary
 void onEvent(IEmxDispatcher dispatcher, ILnkEndpoint ep, int type, Object data)
          The event handler method
 

Method Detail

onEvent

void onEvent(IEmxDispatcher dispatcher,
             ILnkEndpoint ep,
             int type,
             Object data)
The event handler method

Parameters:
dispatcher - The dispatcher owned by the calling thread.
ep - The endpoint from where this event originated.
type - The event type.
data - The type specific event event data.
Threading:
Refer to the description of each event for the threading context in which the event is dispatched


Copyright © 2015 Neeve Research, LLC. All Rights Reserved.