org.projectodd.stilts.stomp
Interface StompMessage
- All Known Implementing Classes:
- DefaultStompMessage
public interface StompMessage
getId
String getId()
getHeaders
Headers getHeaders()
getDestination
String getDestination()
setDestination
void setDestination(String destination)
getContentType
String getContentType()
setContentType
void setContentType(String contentType)
getContentAsString
String getContentAsString()
setContentAsString
void setContentAsString(String content)
getContent
org.jboss.netty.buffer.ChannelBuffer getContent()
setContent
void setContent(org.jboss.netty.buffer.ChannelBuffer content)
isError
boolean isError()
ack
void ack()
throws StompException
- Throws:
StompException
nack
void nack()
throws StompException
- Throws:
StompException
ack
void ack(String transactionId)
throws StompException
- Throws:
StompException
nack
void nack(String transactionId)
throws StompException
- Throws:
StompException
duplicate
StompMessage duplicate()
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.