com.sun.grizzly.smart.transformers
Class ByteDecoder

java.lang.Object
  extended by com.sun.grizzly.AbstractTransformer<Buffer,E>
      extended by com.sun.grizzly.smart.transformers.AbstractSmartMemberDecoder<E>
          extended by com.sun.grizzly.smart.transformers.PrimitiveDecoder<Byte>
              extended by com.sun.grizzly.smart.transformers.ByteDecoder
All Implemented Interfaces:
SmartMemberTransformer<Buffer,Byte>, Transformer<Buffer,Byte>

public class ByteDecoder
extends PrimitiveDecoder<Byte>

Author:
Alexey Stashok

Field Summary
 
Fields inherited from class com.sun.grizzly.smart.transformers.AbstractSmartMemberDecoder
messageProcessingTreeAttribute
 
Fields inherited from class com.sun.grizzly.AbstractTransformer
attributeBuilder, incompletedResult, inputBufferAttribute, lastResultAttribute, outputBufferAttribute
 
Constructor Summary
ByteDecoder()
           
 
Method Summary
 Byte get(Buffer input)
           
 int sizeOf()
           
 
Methods inherited from class com.sun.grizzly.smart.transformers.PrimitiveDecoder
transform
 
Methods inherited from class com.sun.grizzly.smart.transformers.AbstractSmartMemberDecoder
getCurrentMessageProcessingObject, getMessageProcessingTree, initialize
 
Methods inherited from class com.sun.grizzly.AbstractTransformer
getInput, getLastResult, getMemoryManager, getOutput, getProperties, getValue, hibernate, obtainMemoryManager, release, setInput, setMemoryManager, setOutput, transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.sun.grizzly.Transformer
getInput, getLastResult, getOutput, getProperties, hibernate, release, setInput, setOutput, transform
 

Constructor Detail

ByteDecoder

public ByteDecoder()
Method Detail

sizeOf

public int sizeOf()
Specified by:
sizeOf in class PrimitiveDecoder<Byte>

get

public Byte get(Buffer input)
Specified by:
get in class PrimitiveDecoder<Byte>


Copyright © 2009 SUN Microsystems. All Rights Reserved.