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 void
close()
default void
default void
onEndOfBatch
(IChannelContext<T> ctx) void
onLogon
(IChannelContext<T> sender) void
onLogout
(IChannelContext<T> sender) void
onMessage
(ImmutableMessage incoming, IChannelContext<T> ctx)
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-
onEndOfBatch
-
onDisconnection
default void onDisconnection() -
onLogon
-
onLogout
-
onMessage
- Throws:
InvalidFixException
-