IoT CAS Frameworks/IOT_Server/Multi-point_Event_Router_Framework/Event_Receiver_Mapper/EventReceiverMapper/src/com/prokosha/eventreceivermapper/assoc/AddressMap.java
public void sendEvent(String eventType, String event) {
        List<EventProcessor> group = (List<EventProcessor>) map.get(eventType);
        if (group != null) {
            //log.info("processor group length for eventType '" + eventType + "' : " + group.size());
            for (EventProcessor processor : group) {
                if (processor != null) {
                    processor.sendEvent(eventType, event);
                }
            }
        } else {
            System.out.println("processor group is null for eventType '" + eventType + "'");
        }
    }
/**
     * sends events to corresponding hosts according to configuration
     * @param eventType parameter as name of event
     * @param event the String value of event
     */
sends events to corresponding hosts according to configuration
@param eventType parameter as name of event
@param event the String value of event
sends events to corresponding hosts according to configuration @param eventType parameter as name of event @param event the String value of event
public void sendEvent(String eventType, String event) {
        List<EventProcessor> group = (List<EventProcessor>) map.get(eventType);
        if (group != null) {
            for (EventProcessor processor : group) {
                if (processor != null) {
                    processor.sendEvent(eventType, event);
                }
            }
        } else {
            System.out.println("processor group is null for eventType '" + eventType + "'");
        }
    }
public void sendEvent ( String eventType , String event ) { List < EventProcessor > group = ( List < EventProcessor > ) map . get ( eventType ) ; if ( group != null ) { for ( EventProcessor processor : group ) { if ( processor != null ) { processor . sendEvent ( eventType , event ) ; } } } else { System . out . println ( "processor group is null for eventType '" + eventType + "'" ) ; } }
sends events to corresponding hosts according to configuration
 @param eventType parameter as name of event
 @param event the String value of event
sends events to corresponding hosts according to configuration @param eventType parameter as name of event @param event the String value of event
//log.info("processor group length for eventType '" + eventType + "' : " + group.size());