public interface MessageHandler
Modifier and Type | Method and Description |
---|---|
void |
onMessage(RequestID id,
int workerId,
Message message)
Handles a specific message type
|
void onMessage(RequestID id, int workerId, Message message)
id
- request idworkerId
- worker idmessage
- protbuf message