org.apgrid.grpc.ng
Class XDROutputStream

java.lang.Object
  extended byjava.io.OutputStream
      extended byjava.io.FilterOutputStream
          extended byjava.io.DataOutputStream
              extended byorg.apgrid.grpc.ng.XDROutputStream
All Implemented Interfaces:
java.io.DataOutput, NgDataOutputStream

public class XDROutputStream
extends java.io.DataOutputStream
implements NgDataOutputStream


Constructor Summary
XDROutputStream(java.io.OutputStream stream)
           
 
Method Summary
 void close()
           
 void writeBytes(byte[] buffer)
           
 void writeBytes(byte[] buffer, int offset, int length)
           
 void writeString(java.lang.String string)
           
 
Methods inherited from class java.io.DataOutputStream
flush, size, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
 
Methods inherited from class java.io.FilterOutputStream
write
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apgrid.grpc.ng.NgDataOutputStream
writeInt
 
Methods inherited from interface java.io.DataOutput
write
 

Constructor Detail

XDROutputStream

public XDROutputStream(java.io.OutputStream stream)
Parameters:
stream -
Method Detail

close

public void close()
Specified by:
close in interface NgDataOutputStream

writeString

public void writeString(java.lang.String string)
                 throws GrpcException
Specified by:
writeString in interface NgDataOutputStream
Parameters:
string -
Throws:
GrpcException

writeBytes

public void writeBytes(byte[] buffer)
                throws GrpcException
Specified by:
writeBytes in interface NgDataOutputStream
Parameters:
buffer -
Throws:
GrpcException

writeBytes

public void writeBytes(byte[] buffer,
                       int offset,
                       int length)
                throws GrpcException
Specified by:
writeBytes in interface NgDataOutputStream
Parameters:
buffer -
offset -
length -
Throws:
GrpcException