org.fusesource.stomp.codec
Class StompProtocolCodec

java.lang.Object
  extended by org.fusesource.hawtdispatch.transport.AbstractProtocolCodec
      extended by org.fusesource.stomp.codec.StompProtocolCodec
All Implemented Interfaces:
org.fusesource.hawtdispatch.transport.ProtocolCodec, org.fusesource.hawtdispatch.transport.TransportAware

public class StompProtocolCodec
extends org.fusesource.hawtdispatch.transport.AbstractProtocolCodec

Author:
Hiram Chirino

Nested Class Summary
 
Nested classes/interfaces inherited from class org.fusesource.hawtdispatch.transport.AbstractProtocolCodec
org.fusesource.hawtdispatch.transport.AbstractProtocolCodec.Action
 
Nested classes/interfaces inherited from interface org.fusesource.hawtdispatch.transport.ProtocolCodec
org.fusesource.hawtdispatch.transport.ProtocolCodec.BufferState
 
Field Summary
 int max_data_length
           
 int max_header_length
           
 int max_headers
           
 boolean trim
           
 
Fields inherited from class org.fusesource.hawtdispatch.transport.AbstractProtocolCodec
bufferPools, directReadBuffer, lastReadIoSize, lastWriteIoSize, nextDecodeAction, nextWriteBuffer, readBuffer, readBufferPool, readBufferSize, readChannel, readCounter, readEnd, readStart, writeBuffer, writeBufferPool, writeBufferSize, writeChannel, writeCounter
 
Constructor Summary
StompProtocolCodec()
           
 
Method Summary
protected  void encode(java.lang.Object value)
           
protected  org.fusesource.hawtdispatch.transport.AbstractProtocolCodec.Action initialDecodeAction()
           
 
Methods inherited from class org.fusesource.hawtdispatch.transport.AbstractProtocolCodec
flush, flushNextWriteBuffer, full, getBufferPools, getLastReadSize, getLastWriteSize, getReadBufferSize, getReadCounter, getWriteBufferSize, getWriteCounter, isEmpty, onBufferFlushed, peekBytes, read, readBytes, readDirect, readUntil, readUntil, readUntil, setBufferPools, setReadableByteChannel, setTransport, setWritableByteChannel, unread, write, writeDirect
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

max_header_length

public int max_header_length

max_headers

public int max_headers

max_data_length

public int max_data_length

trim

public boolean trim
Constructor Detail

StompProtocolCodec

public StompProtocolCodec()
Method Detail

encode

protected void encode(java.lang.Object value)
               throws java.io.IOException
Specified by:
encode in class org.fusesource.hawtdispatch.transport.AbstractProtocolCodec
Throws:
java.io.IOException

initialDecodeAction

protected org.fusesource.hawtdispatch.transport.AbstractProtocolCodec.Action initialDecodeAction()
Specified by:
initialDecodeAction in class org.fusesource.hawtdispatch.transport.AbstractProtocolCodec


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