org.psepr.jClient
Interface EventReceiver
- All Known Implementing Classes:
- ConnectionHandler, EventQueue, LeaseManager, SimpleLeaseManager
public interface EventReceiver
When a PsEPR event is received and it has been parse, it must be
given to someone for processing. This interface is called with
the packaged event and the user can either process or queue the event.
- Author:
- Robert.Adams@intel.com
receiveEvent
boolean receiveEvent(PsEPREvent pEvent)
- Handle the received event. This is called by the reception thread
of the library so, if you are going to do alot of processing, pass
this event off to another processing thread.
- Parameters:
pEvent -
- Returns:
- true if something useful was done with the event