Class SimpleObjectInput
- java.lang.Object
-
- org.wildfly.clustering.marshalling.protostream.SimpleDataInput
-
- org.wildfly.clustering.marshalling.protostream.SimpleObjectInput
-
- All Implemented Interfaces:
DataInput,ObjectInput,AutoCloseable
public class SimpleObjectInput extends SimpleDataInput implements ObjectInput
ObjectInputimplementation used to write the unexposed fields of anExternalizableobject.- Author:
- Paul Ferraro
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSimpleObjectInput.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intavailable()voidclose()intread()intread(byte[] bytes)intread(byte[] bytes, int offset, int length)ObjectreadObject()longskip(long n)-
Methods inherited from class org.wildfly.clustering.marshalling.protostream.SimpleDataInput
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.io.DataInput
readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, skipBytes
-
-
-
-
Method Detail
-
readObject
public Object readObject()
- Specified by:
readObjectin interfaceObjectInput
-
read
public int read()
- Specified by:
readin interfaceObjectInput
-
read
public int read(byte[] bytes)
- Specified by:
readin interfaceObjectInput
-
read
public int read(byte[] bytes, int offset, int length)- Specified by:
readin interfaceObjectInput
-
skip
public long skip(long n)
- Specified by:
skipin interfaceObjectInput
-
available
public int available()
- Specified by:
availablein interfaceObjectInput
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceObjectInput
-
-