Interface TableDataProtocol.ResponseHandler
- Enclosing class:
- TableDataProtocol
public static interface TableDataProtocol.ResponseHandler
Interface to a handler that processes table data responses.
-
Method Summary
Modifier and TypeMethodDescriptionvoidhandleColumnFileData(@NotNull TableDataProtocol.Server peer, long requestKey, long startOffset, int length, @NotNull com.fishlib.io.streams.ByteBufferInputStream dataSource) voidhandleColumnFileSize(@NotNull TableDataProtocol.Server peer, long requestKey, long columnFileSize) voidhandleColumnLocationExistence(@NotNull TableDataProtocol.Server peer, long requestKey, boolean exists, boolean littleEndianByteOrder, boolean symbolTableExists) voidhandleRequestCompletion(@NotNull TableDataProtocol.Server peer, long requestKey) voidhandleRequestRejection(@NotNull TableDataProtocol.Server peer, long requestKey, @NotNull TableDataProtocol.RequestRejectionType requestRejectionType, @NotNull CharSequence rejectText) voidhandleTableLocationAdded(@NotNull TableDataProtocol.Server peer, long requestKey, @NotNull TableLocationKey locationKey) voidhandleTableLocationRemoved(@NotNull TableDataProtocol.Server peer, long requestKey, @NotNull TableLocationKey locationKey) voidhandleTableLocationUpdate(@NotNull TableDataProtocol.Server peer, long requestKey, @NotNull TableLocationState locationState) voidlostConnection(@NotNull TableDataProtocol.Server peer)
-
Method Details
-
handleRequestRejection
void handleRequestRejection(@NotNull @NotNull TableDataProtocol.Server peer, long requestKey, @NotNull @NotNull TableDataProtocol.RequestRejectionType requestRejectionType, @NotNull @NotNull CharSequence rejectText) -
handleRequestCompletion
-
handleTableLocationAdded
void handleTableLocationAdded(@NotNull @NotNull TableDataProtocol.Server peer, long requestKey, @NotNull @NotNull TableLocationKey locationKey) -
handleTableLocationRemoved
void handleTableLocationRemoved(@NotNull @NotNull TableDataProtocol.Server peer, long requestKey, @NotNull @NotNull TableLocationKey locationKey) -
handleTableLocationUpdate
void handleTableLocationUpdate(@NotNull @NotNull TableDataProtocol.Server peer, long requestKey, @NotNull @NotNull TableLocationState locationState) -
handleColumnLocationExistence
void handleColumnLocationExistence(@NotNull @NotNull TableDataProtocol.Server peer, long requestKey, boolean exists, boolean littleEndianByteOrder, boolean symbolTableExists) -
handleColumnFileSize
void handleColumnFileSize(@NotNull @NotNull TableDataProtocol.Server peer, long requestKey, long columnFileSize) -
handleColumnFileData
void handleColumnFileData(@NotNull @NotNull TableDataProtocol.Server peer, long requestKey, long startOffset, int length, @NotNull @NotNull com.fishlib.io.streams.ByteBufferInputStream dataSource) -
lostConnection
-