|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mckoi.database.global.StreamableObject
public final class StreamableObject
An object that is streamable (such as a long binary object, or a long string object). This is passed between client and server and contains basic primitive information about the object it represents. The actual contents of the object itself must be obtained through other means (see com.mckoi.database.jdbc.DatabaseInterface).
Constructor Summary | |
---|---|
StreamableObject(byte type,
long size,
long id)
Constructs the StreamableObject. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StreamableObject(byte type, long size, long id)
Method Detail |
---|
public byte getType()
public long getSize()
public long getIdentifier()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |