org.apgrid.grpc.ng
Interface NgDataOutputStream

All Known Implementing Classes:
XDROutputStream

public interface NgDataOutputStream


Method Summary
 void close()
           
 void writeBytes(byte[] buffer)
           
 void writeBytes(byte[] buffer, int offset, int length)
           
 void writeInt(int intValue)
           
 void writeString(java.lang.String string)
           
 

Method Detail

close

public void close()

writeString

public void writeString(java.lang.String string)
                 throws GrpcException
Parameters:
string -
Throws:
GrpcException

writeBytes

public void writeBytes(byte[] buffer)
                throws GrpcException
Parameters:
buffer -
Throws:
GrpcException

writeBytes

public void writeBytes(byte[] buffer,
                       int offset,
                       int length)
                throws GrpcException
Parameters:
buffer -
Throws:
GrpcException

writeInt

public void writeInt(int intValue)
              throws java.io.IOException
Parameters:
intValue -
Throws:
GrpcException
java.io.IOException