Package joynr

Class MutableMessage


  • public class MutableMessage
    extends Message
    Represents a joynr message which is about to be transmitted. It will be converted to an ImmutableMessage before it is passed to a sub-class of MessageRouter.
    • Constructor Detail

      • MutableMessage

        public MutableMessage()
    • Method Detail

      • getImmutableMessage

        public ImmutableMessage getImmutableMessage()
                                             throws SecurityException,
                                                    io.joynr.smrf.EncodingException,
                                                    io.joynr.smrf.UnsuppportedVersionException
        Throws:
        SecurityException
        io.joynr.smrf.EncodingException
        io.joynr.smrf.UnsuppportedVersionException
      • getSender

        public String getSender()
      • setSender

        public void setSender​(String sender)
      • getRecipient

        public String getRecipient()
      • setRecipient

        public void setRecipient​(String recipient)
      • getTtlMs

        public long getTtlMs()
      • setTtlMs

        public void setTtlMs​(long ttlMs)
      • isTtlAbsolute

        public boolean isTtlAbsolute()
      • setTtlAbsolute

        public void setTtlAbsolute​(boolean ttlAbsolute)
      • getId

        public String getId()
      • getPayload

        public byte[] getPayload()
      • setPayload

        public void setPayload​(byte[] payload)
      • getReplyTo

        public String getReplyTo()
      • setReplyTo

        public void setReplyTo​(String replyTo)
      • getEffort

        public String getEffort()
      • setEffort

        public void setEffort​(String effort)
      • setCustomHeaders

        public void setCustomHeaders​(Map<String,​String> customHeaders)
      • setCompressed

        public void setCompressed​(boolean compressed)
      • getCompressed

        public boolean getCompressed()
      • isStatelessAsync

        public boolean isStatelessAsync()
      • setStatelessAsync

        public void setStatelessAsync​(boolean statelessAsync)