Interface Producer
- All Superinterfaces:
Client
The Kafka producer interface.
Provides ability to send message.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
sendMessage
(byte[] message) Send a message to a client asynchronous.default void
sendMessage
(byte[] message, boolean async) Send a message to a client.Methods inherited from interface com.btobits.fixengine.adaptor.client.Client
close, connect, destroy, getClientState, init, setClientStateListener, setEventListener
-
Method Details
-
sendMessage
void sendMessage(byte[] message) Send a message to a client asynchronous.- Parameters:
message
- raw message
-
sendMessage
Send a message to a client.- Parameters:
message
- raw messageasync
- sending mode- Throws:
ExecutionException
-