private EventImpl getEventImpl ( final String fullName ) { if ( ! isInitialized ) { return null ; } // Check if subscribed EventImpl eventImpl = eventImplMap . get ( fullName ) ; // Check if subscription is out of time if ( eventImpl != null && ! eventImpl . isStillSubscribed ( ) ) { logger . debug ( "{} not subscribed any more" , fullName ) ; // System.out.println(fullName + "Not Subscribed any more"); eventImplMap . remove ( fullName ) ; // if no subscribers, close sockets if ( eventImplMap . isEmpty ( ) ) { logger . debug ( "no subscribers on server, closing resources" ) ; close ( ) ; } eventImpl = null ; } return eventImpl ; }
Search the specified EventImpl object