public class XdrBufferDecodingStream
extends org.acplt.oncrpc.XdrDecodingStream
| Constructor and Description |
|---|
XdrBufferDecodingStream(BufferSupplier buf_supplier) |
XdrBufferDecodingStream(ByteBuffer buf) |
XdrBufferDecodingStream(ByteBuffer buf,
BufferSupplier buf_supplier) |
XdrBufferDecodingStream(int bufsize,
BufferSupplier buf_supplier) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
atEof() |
long |
avail() |
void |
beginDecoding() |
void |
endDecoding() |
InetAddress |
getSenderAddress() |
int |
getSenderPort() |
long |
readBytes() |
int |
xdrDecodeInt() |
void |
xdrDecodeOpaque(byte[] opaque,
int offset,
int length) |
byte[] |
xdrDecodeOpaque(int length) |
close, getCharacterEncoding, setCharacterEncoding, xdrDecodeBoolean, xdrDecodeBooleanFixedVector, xdrDecodeBooleanVector, xdrDecodeByte, xdrDecodeByteFixedVector, xdrDecodeByteVector, xdrDecodeDouble, xdrDecodeDoubleFixedVector, xdrDecodeDoubleVector, xdrDecodeDynamicOpaque, xdrDecodeFloat, xdrDecodeFloatFixedVector, xdrDecodeFloatVector, xdrDecodeIntFixedVector, xdrDecodeIntVector, xdrDecodeLong, xdrDecodeLongFixedVector, xdrDecodeLongVector, xdrDecodeOpaque, xdrDecodeShort, xdrDecodeShortFixedVector, xdrDecodeShortVector, xdrDecodeString, xdrDecodeStringFixedVector, xdrDecodeStringVectorpublic XdrBufferDecodingStream(ByteBuffer buf, BufferSupplier buf_supplier) throws IOException
IOExceptionpublic XdrBufferDecodingStream(BufferSupplier buf_supplier) throws IOException
IOExceptionpublic XdrBufferDecodingStream(int bufsize,
BufferSupplier buf_supplier)
throws IOException
IOExceptionpublic XdrBufferDecodingStream(ByteBuffer buf)
public void beginDecoding()
beginDecoding in class org.acplt.oncrpc.XdrDecodingStreampublic void endDecoding()
endDecoding in class org.acplt.oncrpc.XdrDecodingStreampublic InetAddress getSenderAddress()
getSenderAddress in class org.acplt.oncrpc.XdrDecodingStreampublic int getSenderPort()
getSenderPort in class org.acplt.oncrpc.XdrDecodingStreampublic int xdrDecodeInt()
throws org.acplt.oncrpc.OncRpcException,
IOException
xdrDecodeInt in class org.acplt.oncrpc.XdrDecodingStreamorg.acplt.oncrpc.OncRpcExceptionIOExceptionpublic byte[] xdrDecodeOpaque(int length)
throws org.acplt.oncrpc.OncRpcException,
IOException
xdrDecodeOpaque in class org.acplt.oncrpc.XdrDecodingStreamorg.acplt.oncrpc.OncRpcExceptionIOExceptionpublic void xdrDecodeOpaque(byte[] opaque,
int offset,
int length)
throws org.acplt.oncrpc.OncRpcException,
IOException
xdrDecodeOpaque in class org.acplt.oncrpc.XdrDecodingStreamorg.acplt.oncrpc.OncRpcExceptionIOExceptionpublic long readBytes()
public long avail()
public boolean atEof()
throws IOException
IOExceptionCopyright © 2017. All rights reserved.