void start ( ) throws IOException , TooManyListenersException { inputStream = port . getInputStream ( ) ; outputStream = port . getOutputStream ( ) ; ReadWorker w = new ReadWorker ( ) ; w . start ( ) ; port . addEventListener ( this ) ; service . getIdleStatusChecker0 ( ) . addSession ( this ) ; try { getService ( ) . getFilterChainBuilder ( ) . buildFilterChain ( getFilterChain ( ) ) ; serviceListeners . fireSessionCreated ( this ) ; } catch ( Throwable e ) { getFilterChain ( ) . fireExceptionCaught ( e ) ; processor . remove ( this ) ; } }
start handling streams