| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private final WebSocketMessageConsumer. | |
| private final MessageJsonHandler | |
| private static final Logger | |
| private final ConcurrentLinkedQueue | |
| private final Session |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | consume(Message message)
Implements org. Consume a single message. |
| public Session | |
| protected void |
| handler | back to summary |
|---|---|
| private final WebSocketMessageConsumer. | |
| jsonHandler | back to summary |
|---|---|
| private final MessageJsonHandler jsonHandler | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| messageQueue | back to summary |
|---|---|
| private final ConcurrentLinkedQueue<String> messageQueue | |
| session | back to summary |
|---|---|
| private final Session session | |
| WebSocketMessageConsumer | back to summary |
|---|---|
| public WebSocketMessageConsumer(Session session, MessageJsonHandler jsonHandler) | |
| consume | back to summary |
|---|---|
| public void consume(Message message) Implements org. Doc from org. Consume a single message.
| |
| getSession | back to summary |
|---|---|
| public Session getSession() | |
| sendMessage | back to summary |
|---|---|
| protected void sendMessage(String message) throws IOException | |
| Modifier and Type | Field and Description |
|---|---|
| private final AtomicBoolean |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| public void | onResult(SendResult result)
Implements jakarta. Called once the message has been transmitted. |
| isSending | back to summary |
|---|---|
| private final AtomicBoolean isSending | |
| WebSocketSendHandler | back to summary |
|---|---|
| private WebSocketSendHandler() | |
| handleNextMessage | back to summary |
|---|---|
| pack-priv void handleNextMessage() | |
| onResult | back to summary |
|---|---|
| public void onResult(SendResult result) Implements jakarta. Doc from jakarta. Called once the message has been transmitted.
| |