public class StompFrameHandlerV12 extends StompFrameHandlerV11
| Modifier and Type | Class and Description |
|---|---|
protected class |
StompFrameHandlerV12.StompDecoderV12 |
StompFrameHandlerV11.StompDecoderV11ESC_CHARconnection, decoder, executorFactory, scheduledExecutorService| Constructor and Description |
|---|
StompFrameHandlerV12(StompConnection connection,
ScheduledExecutorService scheduledExecutorService,
ExecutorFactory factory) |
| Modifier and Type | Method and Description |
|---|---|
StompFrame |
createMessageFrame(ServerMessage serverMessage,
StompSubscription subscription,
int deliveryCount) |
StompFrame |
createStompFrame(String command) |
StompFrame |
onAck(StompFrame request)
Version 1.2's ACK frame only requires 'id' header
here we use id = messageID
|
createPingFrame, initDecoder, onConnect, onDisconnect, onNack, onStomp, onUnsubscribe, replySent, requestAccepteddecode, getDecoder, getHandler, handleFrame, handleReceipt, hasBytes, onAbort, onBegin, onCommit, onError, onSend, onSubscribe, onUnknown, postprocesspublic StompFrameHandlerV12(StompConnection connection, ScheduledExecutorService scheduledExecutorService, ExecutorFactory factory)
public StompFrame createStompFrame(String command)
createStompFrame in class StompFrameHandlerV11public StompFrame createMessageFrame(ServerMessage serverMessage, StompSubscription subscription, int deliveryCount) throws Exception
createMessageFrame in class VersionedStompFrameHandlerExceptionpublic StompFrame onAck(StompFrame request)
onAck in class StompFrameHandlerV11Copyright © 2023 The Apache Software Foundation. All Rights Reserved.