public class FIXIncomingMessageHandler extends Object implements quickfix.Application
Constructor and Description |
---|
FIXIncomingMessageHandler(org.apache.axis2.context.ConfigurationContext cfgCtx,
org.apache.axis2.transport.base.threads.WorkerPool workerPool,
org.apache.axis2.description.AxisService service,
boolean acceptor) |
Modifier and Type | Method and Description |
---|---|
void |
acquire() |
void |
fromAdmin(quickfix.Message message,
quickfix.SessionID sessionID)
This callback notifies when an administrative message is sent from a
counterparty to the FIX engine.
|
void |
fromApp(quickfix.Message message,
quickfix.SessionID sessionID)
This callback receives messages for the application.
|
void |
onCreate(quickfix.SessionID sessionID)
This method is called when quickfix creates a new session.
|
void |
onLogon(quickfix.SessionID sessionID)
This callback notifies when a valid logon has been established with a
counter party.
|
void |
onLogout(quickfix.SessionID sessionID)
This callback notifies when a FIX session is no longer online.
|
void |
processMessage(quickfix.Message message,
quickfix.SessionID sessionID,
int counter) |
void |
setOutgoingMessageContext(org.apache.axis2.context.MessageContext msgCtx) |
void |
toAdmin(quickfix.Message message,
quickfix.SessionID sessionID)
This callback provides Synapse with a peek at the administrative messages
that are being sent from your FIX engine to the counter party.
|
void |
toApp(quickfix.Message message,
quickfix.SessionID sessionID)
This is a callback for application messages that are being sent to a
counter party.
|
public FIXIncomingMessageHandler(org.apache.axis2.context.ConfigurationContext cfgCtx, org.apache.axis2.transport.base.threads.WorkerPool workerPool, org.apache.axis2.description.AxisService service, boolean acceptor)
public void setOutgoingMessageContext(org.apache.axis2.context.MessageContext msgCtx)
public void acquire() throws InterruptedException
InterruptedException
public void onCreate(quickfix.SessionID sessionID)
onCreate
in interface quickfix.Application
sessionID
- QuickFIX session IDpublic void onLogon(quickfix.SessionID sessionID)
onLogon
in interface quickfix.Application
sessionID
- QuickFIX session IDpublic void onLogout(quickfix.SessionID sessionID)
onLogout
in interface quickfix.Application
sessionID
- QuickFIX session IDpublic void toAdmin(quickfix.Message message, quickfix.SessionID sessionID)
toAdmin
in interface quickfix.Application
message
- QuickFIX messagesessionID
- QuickFIX session IDpublic void fromAdmin(quickfix.Message message, quickfix.SessionID sessionID) throws quickfix.FieldNotFound, quickfix.IncorrectDataFormat, quickfix.IncorrectTagValue, quickfix.RejectLogon
fromAdmin
in interface quickfix.Application
message
- QuickFIX messagesessionID
- QuickFIX session IDquickfix.FieldNotFound
quickfix.IncorrectDataFormat
quickfix.IncorrectTagValue
quickfix.RejectLogon
- causes a logon rejectpublic void toApp(quickfix.Message message, quickfix.SessionID sessionID) throws quickfix.DoNotSend
toApp
in interface quickfix.Application
message
- QuickFIX messagesessionID
- QuickFIX session IDquickfix.DoNotSend
- This exception aborts message transmissionpublic void fromApp(quickfix.Message message, quickfix.SessionID sessionID) throws quickfix.FieldNotFound, quickfix.IncorrectDataFormat, quickfix.IncorrectTagValue, quickfix.UnsupportedMessageType
fromApp
in interface quickfix.Application
message
- QuickFIX messagesessionID
- QuickFIX session IDquickfix.FieldNotFound
quickfix.IncorrectDataFormat
quickfix.IncorrectTagValue
quickfix.UnsupportedMessageType
public void processMessage(quickfix.Message message, quickfix.SessionID sessionID, int counter)
Copyright © 2005-2017 Apache Software Foundation. All Rights Reserved.