com.dyuproject.protostuff.runtime
Class RuntimePipeSchema<T>

java.lang.Object
  extended by com.dyuproject.protostuff.Pipe.Schema<T>
      extended by com.dyuproject.protostuff.runtime.RuntimePipeSchema<T>
All Implemented Interfaces:
Schema<Pipe>

public final class RuntimePipeSchema<T>
extends Pipe.Schema<T>

Runtime pipe schema.

Author:
David Yu
Date created:
Nov 9, 2012

Field Summary
 
Fields inherited from class com.dyuproject.protostuff.Pipe.Schema
wrappedSchema
 
Constructor Summary
RuntimePipeSchema(Schema<T> schema, MappedSchema.Field<T>[] fieldsByNumber)
           
 
Method Summary
protected  void transfer(Pipe pipe, Input input, Output output)
           
 
Methods inherited from class com.dyuproject.protostuff.Pipe.Schema
getFieldName, getFieldNumber, isInitialized, mergeFrom, messageFullName, messageName, newMessage, typeClass, writeTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuntimePipeSchema

public RuntimePipeSchema(Schema<T> schema,
                         MappedSchema.Field<T>[] fieldsByNumber)
Method Detail

transfer

protected void transfer(Pipe pipe,
                        Input input,
                        Output output)
                 throws java.io.IOException
Specified by:
transfer in class Pipe.Schema<T>
Throws:
java.io.IOException


Copyright © 2009-2014. All Rights Reserved.