org.apache.hadoop.yarn.ipc
Class ProtoOverHadoopRpcEngine.ProtoSpecificResponseWritable

java.lang.Object
  extended by org.apache.hadoop.yarn.ipc.ProtoOverHadoopRpcEngine.ProtoSpecificResponseWritable
All Implemented Interfaces:
org.apache.hadoop.io.Writable
Enclosing class:
ProtoOverHadoopRpcEngine

public static class ProtoOverHadoopRpcEngine.ProtoSpecificResponseWritable
extends Object
implements org.apache.hadoop.io.Writable

Writable Wrapper for Protocol Buffer Responses


Constructor Summary
ProtoOverHadoopRpcEngine.ProtoSpecificResponseWritable()
           
ProtoOverHadoopRpcEngine.ProtoSpecificResponseWritable(RpcProtos.ProtoSpecificRpcResponse message)
           
 
Method Summary
 void readFields(DataInput in)
           
 void write(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProtoOverHadoopRpcEngine.ProtoSpecificResponseWritable

public ProtoOverHadoopRpcEngine.ProtoSpecificResponseWritable()

ProtoOverHadoopRpcEngine.ProtoSpecificResponseWritable

public ProtoOverHadoopRpcEngine.ProtoSpecificResponseWritable(RpcProtos.ProtoSpecificRpcResponse message)
Method Detail

write

public void write(DataOutput out)
           throws IOException
Specified by:
write in interface org.apache.hadoop.io.Writable
Throws:
IOException

readFields

public void readFields(DataInput in)
                throws IOException
Specified by:
readFields in interface org.apache.hadoop.io.Writable
Throws:
IOException


Copyright © 2012 Apache Software Foundation. All Rights Reserved.