org.glassfish.grizzly.smart.transformers
Class ShortDecoder

java.lang.Object
  extended by org.glassfish.grizzly.AbstractTransformer<Buffer,E>
      extended by org.glassfish.grizzly.smart.transformers.AbstractSmartMemberDecoder<E>
          extended by org.glassfish.grizzly.smart.transformers.PrimitiveDecoder<Short>
              extended by org.glassfish.grizzly.smart.transformers.ShortDecoder
All Implemented Interfaces:
SmartMemberTransformer<Buffer,Short>, Transformer<Buffer,Short>

public class ShortDecoder
extends PrimitiveDecoder<Short>

Author:
Alexey Stashok

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

Constructor Detail

ShortDecoder

public ShortDecoder()
Method Detail

sizeOf

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

get

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


Copyright © 2009 SUN Microsystems. All Rights Reserved.