Record Class ChunkedDeserializingMessage.Chunk
java.lang.Object
java.lang.Record
io.fluxzero.sdk.common.serialization.ChunkedDeserializingMessage.Chunk
- Enclosing class:
ChunkedDeserializingMessage
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]bytes()Returns the value of thebytesrecord component.booleanend()Returns the value of theendrecord component.final booleanIndicates whether some other object is "equal to" this one.error()Returns the value of theerrorrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Chunk
Creates an instance of aChunkrecord class.- Parameters:
bytes- the value for thebytesrecord componenterror- the value for theerrorrecord componentend- the value for theendrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
bytes
public byte[] bytes()Returns the value of thebytesrecord component.- Returns:
- the value of the
bytesrecord component
-
error
Returns the value of theerrorrecord component.- Returns:
- the value of the
errorrecord component
-
end
public boolean end()Returns the value of theendrecord component.- Returns:
- the value of the
endrecord component
-