org.softamis.net.exchange.spi
Interface RegistryEventProcessor<K extends java.io.Serializable,V extends java.io.Serializable>

Type Parameters:
K - type of keys used to identify registry items
V - type of values stored in the registry
All Known Implementing Classes:
DefaultConsumingRegistry, DefaultConsumingRegistry, DefaultDistributedCache, DefaultDistributedCache, DefaultProvidingRegistry, DefaultProvidingRegistry, LoggingRegistryEventProcessor

public interface RegistryEventProcessor<K extends java.io.Serializable,V extends java.io.Serializable>

Interface that defines listener that performes processing of parsed network notifications. This processor will be called by CommunicationHelper when external network notification is received.

Author:
Andrew Sazonov
See Also:
CommunicationHelper

Method Summary
 void processItemInvalid(ItemEntry<K,V> aEntry)
          Callback for processing CommunicationHelper.COMMAND_ITEM_INVALID notification
 void processItemRegistered(ItemEntry<K,V> aEntry)
          Callback for processing CommunicationHelper.COMMAND_ITEM_REGISTERED notification
 void processItemsRequest(ItemEntry<K,V> aEntry)
          Callback for processing CommunicationHelper.COMMAND_ITEM_REQUEST notification - typically will be processed by ProvidingRegistry
 void processItemUnregistered(ItemEntry<K,V> aEntry)
          Callback for processing CommunicationHelper.COMMAND_ITEM_UNREGISTERED notification
 

Method Detail

processItemUnregistered

void processItemUnregistered(ItemEntry<K,V> aEntry)
Callback for processing CommunicationHelper.COMMAND_ITEM_UNREGISTERED notification

Parameters:
aEntry - recevied item entry

processItemRegistered

void processItemRegistered(ItemEntry<K,V> aEntry)
Callback for processing CommunicationHelper.COMMAND_ITEM_REGISTERED notification

Parameters:
aEntry - recevied item entry

processItemsRequest

void processItemsRequest(ItemEntry<K,V> aEntry)
Callback for processing CommunicationHelper.COMMAND_ITEM_REQUEST notification - typically will be processed by ProvidingRegistry

Parameters:
aEntry - recevied item entry

processItemInvalid

void processItemInvalid(ItemEntry<K,V> aEntry)
Callback for processing CommunicationHelper.COMMAND_ITEM_INVALID notification

Parameters:
aEntry - recevied item entry