case TICK_PRICE:
consumer = new CompositeTickEventCreatingInputStreamConsumer(inputStream, serverCurrentVersion);
break;
case TICK_SIZE:
consumer = new TickSizeEventCreatingInputStreamConsumer(inputStream, serverCurrentVersion);
break;
case ORDER_STATE_UPDATE:
consumer = new OrderStateUpdateEventCreatingInputStreamConsumer(inputStream, serverCurrentVersion);
break;