org.apgrid.grpc.ng
Class XDRInputStream
java.lang.Object
java.io.InputStream
java.io.FilterInputStream
org.apgrid.grpc.ng.XDRInputStream
- All Implemented Interfaces:
- NgDataInputStream
- public class XDRInputStream
- extends java.io.FilterInputStream
- implements NgDataInputStream
Methods inherited from class java.io.FilterInputStream |
available, mark, markSupported, read, read, read, reset, skip |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XDRInputStream
public XDRInputStream(java.io.InputStream stream)
- Parameters:
stream
-
close
public void close()
- Specified by:
close
in interface NgDataInputStream
readBytes
public int readBytes(byte[] buffer,
int offset,
int length)
throws GrpcException
- Specified by:
readBytes
in interface NgDataInputStream
- Parameters:
buffer
- offset
- length
-
- Returns:
-
- Throws:
GrpcException
readChar
public char readChar()
throws GrpcException
- Returns:
-
- Throws:
GrpcException
readDouble
public double readDouble()
throws GrpcException
- Returns:
-
- Throws:
GrpcException
readFloat
public double readFloat()
throws GrpcException
- Returns:
-
- Throws:
GrpcException
readInt
public int readInt()
throws GrpcException
- Specified by:
readInt
in interface NgDataInputStream
- Returns:
-
- Throws:
GrpcException
readLong
public long readLong()
throws GrpcException
- Returns:
-
- Throws:
GrpcException
readShort
public short readShort()
throws GrpcException
- Returns:
-
- Throws:
GrpcException
readString
public java.lang.String readString()
throws GrpcException
- Specified by:
readString
in interface NgDataInputStream
- Returns:
-
- Throws:
GrpcException