Stilts 0.1.0-SNAPSHOT

org.projectodd.stilts.stomp
Interface StompMessage

All Known Implementing Classes:
DefaultStompMessage

public interface StompMessage


Method Summary
 void ack()
           
 void ack(String transactionId)
           
 StompMessage duplicate()
           
 org.jboss.netty.buffer.ChannelBuffer getContent()
           
 String getContentAsString()
           
 String getContentType()
           
 String getDestination()
           
 Headers getHeaders()
           
 String getId()
           
 boolean isError()
           
 void nack()
           
 void nack(String transactionId)
           
 void setContent(org.jboss.netty.buffer.ChannelBuffer content)
           
 void setContentAsString(String content)
           
 void setContentType(String contentType)
           
 void setDestination(String destination)
           
 

Method Detail

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()

Stilts 0.1.0-SNAPSHOT

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.