Interface IFixIncomingHandler<T extends IMessage>
- Type Parameters:
T- a message implementation
- All Superinterfaces:
AutoCloseable
This interface is the core of a FIX server or client implementation with simple hooks for logon/logout
and a general hook for all other valid business messages. The context is passed on as argument
The close method is called when the connection is closed, in case the business logic needs to release resources.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidclose()default voiddefault voidonEndOfBatch(IChannelContext<T> ctx) voidonLogon(IChannelContext<T> sender) voidonLogout(IChannelContext<T> sender) voidonMessage(ImmutableMessage incoming, IChannelContext<T> ctx)
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-
onEndOfBatch
-
onDisconnection
default void onDisconnection() -
onLogon
-
onLogout
-
onMessage
- Throws:
InvalidFixException
-