public class ApplicationAdapter extends Object implements Application
Constructor and Description |
---|
ApplicationAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
fromAdmin(Message message,
SessionID sessionId)
This callback notifies you when an administrative message is sent from a
counterparty to your FIX engine.
|
void |
fromApp(Message message,
SessionID sessionId)
This callback receives messages for the application.
|
void |
onCreate(SessionID sessionId)
This method is called when quickfix creates a new session.
|
void |
onLogon(SessionID sessionId)
This callback notifies you when a valid logon has been established with a
counter party.
|
void |
onLogout(SessionID sessionId)
This callback notifies you when an FIX session is no longer online.
|
void |
toAdmin(Message message,
SessionID sessionId)
This callback provides you with a peek at the administrative messages
that are being sent from your FIX engine to the counter party.
|
void |
toApp(Message message,
SessionID sessionId)
This is a callback for application messages that you are sending to a
counterparty.
|
public void fromAdmin(Message message, SessionID sessionId) throws FieldNotFound, IncorrectDataFormat, IncorrectTagValue, RejectLogon
Application
fromAdmin
in interface Application
message
- QuickFIX messagesessionId
- QuickFIX session IDFieldNotFound
IncorrectDataFormat
IncorrectTagValue
RejectLogon
- causes a logon rejectpublic void fromApp(Message message, SessionID sessionId) throws FieldNotFound, IncorrectDataFormat, IncorrectTagValue, UnsupportedMessageType
Application
fromApp
in interface Application
message
- QuickFIX messagesessionId
- QuickFIX session IDFieldNotFound
IncorrectDataFormat
IncorrectTagValue
UnsupportedMessageType
public void onCreate(SessionID sessionId)
Application
onCreate
in interface Application
public void onLogon(SessionID sessionId)
Application
onLogon
in interface Application
sessionId
- QuickFIX session IDpublic void onLogout(SessionID sessionId)
Application
onLogout
in interface Application
sessionId
- QuickFIX session IDpublic void toAdmin(Message message, SessionID sessionId)
Application
toAdmin
in interface Application
message
- QuickFIX messagesessionId
- QuickFIX session IDpublic void toApp(Message message, SessionID sessionId) throws DoNotSend
Application
toApp
in interface Application
message
- QuickFIX messagesessionId
- QuickFIX session IDDoNotSend
- This exception aborts message transmissionCopyright © 2021. All rights reserved.