protected void config ( EventStreamConfig config ) { if ( config . hasSecretKey ( ) ) { secretKey = config . getSecretKey ( ) ; } if ( config . hasKeepAlivePeriod ( ) ) { keepAlivePeriod = config . getKeepAlivePeriod ( ) ; } parameters = config . getParameters ( ) ; }
Configure events stream instance from configuration object .