Class MessageReceiver
- java.lang.Object
-
- nl.harm27.obs.websocket.processor.MessageReceiver
-
public class MessageReceiver extends Object
-
-
Constructor Summary
Constructors Constructor Description MessageReceiver(ListenerRegistry listenerRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMessage(String messageId, Class<?> responseType, Consumer<BaseResponse> responseConsumer)
void
receiveMessage(String data)
-
-
-
Constructor Detail
-
MessageReceiver
public MessageReceiver(ListenerRegistry listenerRegistry)
-
-
Method Detail
-
receiveMessage
public void receiveMessage(String data)
-
addMessage
public void addMessage(String messageId, Class<?> responseType, Consumer<BaseResponse> responseConsumer)
-
-