org.msgpack.template
Class MessagePackableTemplate

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

public class MessagePackableTemplate
extends AbstractTemplate<MessagePackable>


Method Summary
 MessagePackable read(Unpacker u, MessagePackable to, boolean required)
           
 void write(Packer pk, MessagePackable 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,
                  MessagePackable target,
                  boolean required)
           throws IOException
Throws:
IOException

read

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


Copyright © 2011. All Rights Reserved.