Interface Producer
- All Superinterfaces:
Client
The Kafka producer interface.
Provides ability to send message.
-
Method Summary
Modifier and TypeMethodDescriptionvoidsendMessage(byte[] message) Send a message to a client asynchronous.default voidsendMessage(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
-