org.fusesource.mqtt.codec
Class MessageSupport

java.lang.Object
  extended by org.fusesource.mqtt.codec.MessageSupport

public class MessageSupport
extends java.lang.Object

Author:
Hiram Chirino

Nested Class Summary
static class MessageSupport.AckBase
           
static interface MessageSupport.Acked
          All command objects that can get acked implement this interface.
static class MessageSupport.EmptyBase
           
static class MessageSupport.HeaderBase
          
static interface MessageSupport.Message
          All command objects implement this interface.
 
Constructor Summary
MessageSupport()
           
 
Method Summary
protected static org.fusesource.hawtbuf.UTF8Buffer readUTF(org.fusesource.hawtbuf.DataByteArrayInputStream is)
           
protected static void writeUTF(org.fusesource.hawtbuf.DataByteArrayOutputStream os, org.fusesource.hawtbuf.Buffer buffer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageSupport

public MessageSupport()
Method Detail

readUTF

protected static org.fusesource.hawtbuf.UTF8Buffer readUTF(org.fusesource.hawtbuf.DataByteArrayInputStream is)
                                                    throws java.net.ProtocolException
Throws:
java.net.ProtocolException

writeUTF

protected static void writeUTF(org.fusesource.hawtbuf.DataByteArrayOutputStream os,
                               org.fusesource.hawtbuf.Buffer buffer)
                        throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2010-2012 FuseSource, Corp.. All Rights Reserved.