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