Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update codegen #710

Merged
merged 1 commit into from
Apr 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions eventstream_rpc/tests/include/awstest/EchoTestRpcClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,18 +40,36 @@ namespace Awstest
void Close() noexcept;
void WithLaunchMode(std::launch mode) noexcept;

/**
* Fetches all products, indexed by SKU
*/
std::shared_ptr<GetAllProductsOperation> NewGetAllProducts() noexcept;

/**
* Throws a ServiceError instead of returning a response.
*/
std::shared_ptr<CauseServiceErrorOperation> NewCauseServiceError() noexcept;

/**
* Responds to initial request normally then throws a ServiceError on stream response
*/
std::shared_ptr<CauseStreamServiceToErrorOperation> NewCauseStreamServiceToError(
std::shared_ptr<CauseStreamServiceToErrorStreamHandler> streamHandler) noexcept;

/**
* Initial request and response are empty, but echos streaming messages sent by client
*/
std::shared_ptr<EchoStreamMessagesOperation> NewEchoStreamMessages(
std::shared_ptr<EchoStreamMessagesStreamHandler> streamHandler) noexcept;

/**
* Returns the same data sent in the request to the response
*/
std::shared_ptr<EchoMessageOperation> NewEchoMessage() noexcept;

/**
* Fetches all customers
*/
std::shared_ptr<GetAllCustomersOperation> NewGetAllCustomers() noexcept;

~EchoTestRpcClient() noexcept;
Expand Down
Loading
Loading