quickfix.fix42
Class MessageCracker

java.lang.Object
  extended by quickfix.fix42.MessageCracker

public class MessageCracker
extends java.lang.Object


Constructor Summary
MessageCracker()
           
 
Method Summary
 void crack(Message message, SessionID sessionID)
           
 void crack42(Message message, SessionID sessionID)
          Cracker method for 42 messages
 void onMessage(Advertisement message, SessionID sessionID)
          Callback for FIXAdvertisement message
 void onMessage(AllocationACK message, SessionID sessionID)
          Callback for FIXAllocationACK message
 void onMessage(Allocation message, SessionID sessionID)
          Callback for FIXAllocation message
 void onMessage(BidRequest message, SessionID sessionID)
          Callback for FIXBidRequest message
 void onMessage(BidResponse message, SessionID sessionID)
          Callback for FIXBidResponse message
 void onMessage(BusinessMessageReject message, SessionID sessionID)
          Callback for FIXBusinessMessageReject message
 void onMessage(DontKnowTrade message, SessionID sessionID)
          Callback for FIXDontKnowTrade message
 void onMessage(Email message, SessionID sessionID)
          Callback for FIXEmail message
 void onMessage(ExecutionReport message, SessionID sessionID)
          Callback for FIXExecutionReport message
 void onMessage(Heartbeat message, SessionID sessionID)
          Callback for FIXHeartbeat message
 void onMessage(IndicationofInterest message, SessionID sessionID)
          Callback for FIXIndicationofInterest message
 void onMessage(ListCancelRequest message, SessionID sessionID)
          Callback for FIXListCancelRequest message
 void onMessage(ListExecute message, SessionID sessionID)
          Callback for FIXListExecute message
 void onMessage(ListStatusRequest message, SessionID sessionID)
          Callback for FIXListStatusRequest message
 void onMessage(ListStatus message, SessionID sessionID)
          Callback for FIXListStatus message
 void onMessage(ListStrikePrice message, SessionID sessionID)
          Callback for FIXListStrikePrice message
 void onMessage(Logon message, SessionID sessionID)
          Callback for FIXLogon message
 void onMessage(Logout message, SessionID sessionID)
          Callback for FIXLogout message
 void onMessage(MarketDataIncrementalRefresh message, SessionID sessionID)
          Callback for FIXMarketDataIncrementalRefresh message
 void onMessage(MarketDataRequestReject message, SessionID sessionID)
          Callback for FIXMarketDataRequestReject message
 void onMessage(MarketDataRequest message, SessionID sessionID)
          Callback for FIXMarketDataRequest message
 void onMessage(MarketDataSnapshotFullRefresh message, SessionID sessionID)
          Callback for FIXMarketDataSnapshotFullRefresh message
 void onMessage(MassQuote message, SessionID sessionID)
          Callback for FIXMassQuote message
 void onMessage(Message message, SessionID sessionID)
          Callback for quickfix.Message message
 void onMessage(NewOrderList message, SessionID sessionID)
          Callback for FIXNewOrderList message
 void onMessage(NewOrderSingle message, SessionID sessionID)
          Callback for FIXNewOrderSingle message
 void onMessage(News message, SessionID sessionID)
          Callback for FIXNews message
 void onMessage(OrderCancelReject message, SessionID sessionID)
          Callback for FIXOrderCancelReject message
 void onMessage(OrderCancelReplaceRequest message, SessionID sessionID)
          Callback for FIXOrderCancelReplaceRequest message
 void onMessage(OrderCancelRequest message, SessionID sessionID)
          Callback for FIXOrderCancelRequest message
 void onMessage(OrderStatusRequest message, SessionID sessionID)
          Callback for FIXOrderStatusRequest message
 void onMessage(QuoteAcknowledgement message, SessionID sessionID)
          Callback for FIXQuoteAcknowledgement message
 void onMessage(QuoteCancel message, SessionID sessionID)
          Callback for FIXQuoteCancel message
 void onMessage(QuoteRequest message, SessionID sessionID)
          Callback for FIXQuoteRequest message
 void onMessage(Quote message, SessionID sessionID)
          Callback for FIXQuote message
 void onMessage(QuoteStatusRequest message, SessionID sessionID)
          Callback for FIXQuoteStatusRequest message
 void onMessage(Reject message, SessionID sessionID)
          Callback for FIXReject message
 void onMessage(ResendRequest message, SessionID sessionID)
          Callback for FIXResendRequest message
 void onMessage(SecurityDefinitionRequest message, SessionID sessionID)
          Callback for FIXSecurityDefinitionRequest message
 void onMessage(SecurityDefinition message, SessionID sessionID)
          Callback for FIXSecurityDefinition message
 void onMessage(SecurityStatusRequest message, SessionID sessionID)
          Callback for FIXSecurityStatusRequest message
 void onMessage(SecurityStatus message, SessionID sessionID)
          Callback for FIXSecurityStatus message
 void onMessage(SequenceReset message, SessionID sessionID)
          Callback for FIXSequenceReset message
 void onMessage(SettlementInstructions message, SessionID sessionID)
          Callback for FIXSettlementInstructions message
 void onMessage(TestRequest message, SessionID sessionID)
          Callback for FIXTestRequest message
 void onMessage(TradingSessionStatusRequest message, SessionID sessionID)
          Callback for FIXTradingSessionStatusRequest message
 void onMessage(TradingSessionStatus message, SessionID sessionID)
          Callback for FIXTradingSessionStatus message
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageCracker

public MessageCracker()
Method Detail

onMessage

public void onMessage(Message message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for quickfix.Message message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(Heartbeat message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXHeartbeat message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(Logon message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXLogon message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(TestRequest message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXTestRequest message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(ResendRequest message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXResendRequest message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(Reject message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXReject message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(SequenceReset message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXSequenceReset message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(Logout message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXLogout message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(Advertisement message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXAdvertisement message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(IndicationofInterest message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXIndicationofInterest message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(News message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXNews message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(Email message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXEmail message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(QuoteRequest message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXQuoteRequest message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(Quote message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXQuote message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(MassQuote message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXMassQuote message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(QuoteCancel message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXQuoteCancel message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(QuoteStatusRequest message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXQuoteStatusRequest message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(QuoteAcknowledgement message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXQuoteAcknowledgement message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(MarketDataRequest message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXMarketDataRequest message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(MarketDataSnapshotFullRefresh message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXMarketDataSnapshotFullRefresh message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(MarketDataIncrementalRefresh message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXMarketDataIncrementalRefresh message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(MarketDataRequestReject message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXMarketDataRequestReject message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(SecurityDefinitionRequest message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXSecurityDefinitionRequest message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(SecurityDefinition message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXSecurityDefinition message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(SecurityStatusRequest message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXSecurityStatusRequest message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(SecurityStatus message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXSecurityStatus message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(TradingSessionStatusRequest message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXTradingSessionStatusRequest message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(TradingSessionStatus message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXTradingSessionStatus message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(NewOrderSingle message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXNewOrderSingle message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(ExecutionReport message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXExecutionReport message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(DontKnowTrade message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXDontKnowTrade message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(OrderCancelReplaceRequest message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXOrderCancelReplaceRequest message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(OrderCancelRequest message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXOrderCancelRequest message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(OrderCancelReject message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXOrderCancelReject message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(OrderStatusRequest message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXOrderStatusRequest message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(Allocation message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXAllocation message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(AllocationACK message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXAllocationACK message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(SettlementInstructions message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXSettlementInstructions message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(BidRequest message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXBidRequest message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(BidResponse message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXBidResponse message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(NewOrderList message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXNewOrderList message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(ListStrikePrice message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXListStrikePrice message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(ListStatus message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXListStatus message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(ListExecute message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXListExecute message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(ListCancelRequest message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXListCancelRequest message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(ListStatusRequest message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXListStatusRequest message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

onMessage

public void onMessage(BusinessMessageReject message,
                      SessionID sessionID)
               throws FieldNotFound,
                      UnsupportedMessageType,
                      IncorrectTagValue
Callback for FIXBusinessMessageReject message

Parameters:
message -
sessionID -
Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue

crack

public void crack(Message message,
                  SessionID sessionID)
           throws UnsupportedMessageType,
                  FieldNotFound,
                  IncorrectTagValue
Throws:
UnsupportedMessageType
FieldNotFound
IncorrectTagValue

crack42

public void crack42(Message message,
                    SessionID sessionID)
             throws UnsupportedMessageType,
                    FieldNotFound,
                    IncorrectTagValue
Cracker method for 42 messages

Throws:
FieldNotFound
UnsupportedMessageType
IncorrectTagValue