Package eu.antidotedb.client.messages
Interface AntidoteResponse.Handler<V>
-
- Type Parameters:
V- the return type of the handle methods
- All Known Implementing Classes:
AntidoteResponse.MsgCommitResp.Extractor,AntidoteResponse.MsgErrorResp.Extractor,AntidoteResponse.MsgGetConnectionDescriptorResponse.Extractor,AntidoteResponse.MsgOperationResp.Extractor,AntidoteResponse.MsgReadObjectsResp.Extractor,AntidoteResponse.MsgStartTransactionResp.Extractor,AntidoteResponse.MsgStaticReadObjectsResp.Extractor
- Enclosing class:
- AntidoteResponse
public static interface AntidoteResponse.Handler<V>A transformer for all possible cases of Antidote responses.Uses double-dispatch to choose the correct implementation.
- See Also:
AntidoteResponse.accept(Handler)
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Vhandle(AntidotePB.ApbCommitResp op)default Vhandle(AntidotePB.ApbErrorResp op)default Vhandle(AntidotePB.ApbGetConnectionDescriptorResponse op)default Vhandle(AntidotePB.ApbOperationResp op)default Vhandle(AntidotePB.ApbReadObjectsResp op)default Vhandle(AntidotePB.ApbStartTransactionResp op)default Vhandle(AntidotePB.ApbStaticReadObjectsResp op)
-
-
-
Method Detail
-
handle
default V handle(AntidotePB.ApbErrorResp op)
-
handle
default V handle(AntidotePB.ApbOperationResp op)
-
handle
default V handle(AntidotePB.ApbStartTransactionResp op)
-
handle
default V handle(AntidotePB.ApbReadObjectsResp op)
-
handle
default V handle(AntidotePB.ApbCommitResp op)
-
handle
default V handle(AntidotePB.ApbStaticReadObjectsResp op)
-
handle
default V handle(AntidotePB.ApbGetConnectionDescriptorResponse op)
-
-