public class StompFrameHandlerV12 extends StompFrameHandlerV11 implements FrameEventListener
| Modifier and Type | Class and Description |
|---|---|
protected class |
StompFrameHandlerV12.StompDecoderV12 |
StompFrameHandlerV11.StompDecoderV11ESC_CHARconnection, decoder| Constructor and Description |
|---|
StompFrameHandlerV12(StompConnection connection) |
| 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, postprocessclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreplySent, requestAcceptedpublic StompFrameHandlerV12(StompConnection connection)
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 © 2016 JBoss, a division of Red Hat. All rights reserved.