com.sun.grizzly.smart.transformers
Class ShortDecoder

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<Short>
              extended by com.sun.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 com.sun.grizzly.smart.transformers.AbstractSmartMemberDecoder
messageProcessingTreeAttribute
 
Fields inherited from class com.sun.grizzly.AbstractTransformer
attributeBuilder, incompletedResult, inputBufferAttribute, lastResultAttribute, outputBufferAttribute
 
Constructor Summary
ShortDecoder()
           
 
Method Summary
 Short 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

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.