case SERVER_CURRENT_TIME:
consumer = new ServerCurrentTimeEventCreatingInputStreamConsumer(inputStream, serverCurrentVersion);
break;
case REAL_TIME_BAR:
consumer = new RealTimeBarEventCreatingInputStreamConsumer(inputStream, serverCurrentVersion);
break;
case FUNDAMENTAL_DATA:
consumer = new FundamentalDataEventCreatingInputStreamConsumer(inputStream, serverCurrentVersion);
break;