Package io.deephaven.client.impl
Class ServerData
java.lang.Object
io.deephaven.client.impl.ServerData
- All Implemented Interfaces:
Closeable
,AutoCloseable
Data sent from the server to the client as part of a
fetch
or
bidirectional message stream
. The client is responsible for
closing
the exports()
when no longer needed.-
Method Details
-
data
The read-only data payload bytes. May be empty.- Returns:
- the data
-
exports
The exported server objects, may be empty.- Returns:
- the exported server objects
-
releaseExports
- Returns:
- the future
-
close
public void close()Closes all of theexports()
andthis
. For more control, callers may callreleaseExports()
or manageexports()
directly.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-