public final class StreamableObject
extends java.lang.Object
Constructor | Description |
---|---|
StreamableObject(byte type,
long size,
long id) |
Constructs the StreamableObject.
|
Modifier and Type | Method | Description |
---|---|---|
long |
getIdentifier() |
Returns an identifier that can identify this object within some context.
|
long |
getSize() |
Returns the size of the object stream, or -1 if the size is unknown.
|
byte |
getType() |
Returns the type of object this stub represents.
|
public StreamableObject(byte type, long size, long id)
public byte getType()
public long getSize()
public long getIdentifier()
Copyright © 2018. All rights reserved.