public final class StreamableObject extends Object
Constructor and Description |
---|
StreamableObject(byte type,
long size,
long id)
Constructs the StreamableObject.
|
Modifier and Type | Method and 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 © 2015. All rights reserved.