public interface MessageConsumer
MessageConsumer
processes incoming QTP messages.
It shall be implemented by an agent of some entity to be used by standard QTP connectors.
Its methods are invoked by incoming events, usually from threads allocated internally
by used QTP connector.
Implementations of this inteface shall extend MessageConsumerAdapter
.
void handleCorruptedStream()
void handleCorruptedMessage(int messageTypeId)
void handleUnknownMessage(int messageTypeId)
void processDescribeProtocol(ProtocolDescriptor desc, boolean logging)
true
if this message
consumer understands the protocol that remote peer intends to use.void processHeartbeat(HeartbeatPayload heartbeatPayload)
void processTickerData(DataIterator iterator)
void processTickerAddSubscription(SubscriptionIterator iterator)
void processTickerRemoveSubscription(SubscriptionIterator iterator)
void processStreamData(DataIterator iterator)
void processStreamAddSubscription(SubscriptionIterator iterator)
void processStreamRemoveSubscription(SubscriptionIterator iterator)
void processHistoryData(DataIterator iterator)
void processHistoryAddSubscription(SubscriptionIterator iterator)
void processHistoryRemoveSubscription(SubscriptionIterator iterator)
void processOtherMessage(int messageTypeId, byte[] bytes, int ofs, int len)
MessageConsumerAdapter.processOtherMessage(int, BufferedInput, int)
Copyright © 2002–2025 Devexperts LLC. All rights reserved.