org.msgpack.template
Class ShortTemplate

java.lang.Object
  extended by org.msgpack.template.AbstractTemplate<Short>
      extended by org.msgpack.template.ShortTemplate
All Implemented Interfaces:
Template<Short>

public class ShortTemplate
extends AbstractTemplate<Short>


Method Summary
static ShortTemplate getInstance()
           
 Short read(Unpacker u, Short to, boolean required)
           
 void write(Packer pk, Short target, boolean required)
           
 
Methods inherited from class org.msgpack.template.AbstractTemplate
read, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

write

public void write(Packer pk,
                  Short target,
                  boolean required)
           throws IOException
Throws:
IOException

read

public Short read(Unpacker u,
                  Short to,
                  boolean required)
           throws IOException
Throws:
IOException

getInstance

public static ShortTemplate getInstance()


Copyright © 2011. All Rights Reserved.