IoT CAS Frameworks/IOT_Server/Multi-point_Event_Router_Framework/TCP_Event_Receiver/source/TCPEventReceiver/src/com/prokosha/tcp/eventlistener/TCPEventReceiver.java
public static void main(String[] args) {
        // TODO code application logic here
        try {
            PropertyConfigurator.configure("logger.properties");
            TCPEventReceiver obj = new TCPEventReceiver();
            //obj.ini();
            EventReceiverMapper.initialize();
            obj.setClientsLifeSpan();
            obj.initReceiver();
            //obj.initProcessorObjectGroup();
            //obj.initAddressMap();
            obj.eventReceiver.startListener();
            //obj.closeProcessorGroup();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
/**
     * @param args the command line arguments
     */
@param args the command line arguments
@param args the command line arguments
public static void main(String[] args) {
        try {
            PropertyConfigurator.configure("logger.properties");
            TCPEventReceiver obj = new TCPEventReceiver();
            EventReceiverMapper.initialize();
            obj.setClientsLifeSpan();
            obj.initReceiver();
            obj.eventReceiver.startListener();
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
public static void main ( String [ ] args ) { try { PropertyConfigurator . configure ( "logger.properties" ) ; TCPEventReceiver obj = new TCPEventReceiver ( ) ; EventReceiverMapper . initialize ( ) ; obj . setClientsLifeSpan ( ) ; obj . initReceiver ( ) ; obj . eventReceiver . startListener ( ) ; } catch ( Exception e ) { e . printStackTrace ( ) ; } }
@param args the command line arguments
@param args the command line arguments
// TODO code application logic here //obj.ini(); //obj.initProcessorObjectGroup(); //obj.initAddressMap(); //obj.closeProcessorGroup();