Joel Stanley
|
9408745254
|
Streaming interface tweaks (i.e., StreamSend/Recv ops in IO) (#58)
* Add clientRW', StreamRecv', StreamSend' placeholders for IO-based stream ops (instead of Streaming); concurrent hellos Haskell client; hellos client cleanup
* Fix typo
* Rename clientRW' => clientRW; fix unreg bidi testcase
* Replace serverRW operation with one that uses the IO-based stream ops instead of the Pipes.Proxy.Client ops; modify examples accordingly
* Misc formatting, minor restructuring wibbles
* Replace remaining stream send/recv operations with IO-based ops instead of
Pipes.Proxy.Client; DCR; minor style consistency tweaks.
|
2016-08-09 11:30:47 -05:00 |
|
Joel Stanley
|
c1fa7956c7
|
"Hellos" C++/Haskell programs for exercising interop for streaming modes (#49)
* Hellos example: skeleton and server-streaming mode use
* Catch IO exceptions in dispatchLoop
* Distinguish decoding errors from other errors; convert error calls to explicit throws of GRPCIOErrors
* instance Exception GRPCIOError
* Add error checks and error messages to hellos cpp client
* Change fixed32 to uint32
* Add prelim hellos-client, hellos-server executables
* Hellos cpp example: add client-streaming mode use
* In unregistered high-level server, aggressively catch all exceptions raised in
handlers and promote then to a new GRPCIOError constructor.
* Hellos hs example: add client-streaming mode use
* Hellos cpp example: add simple bidi mode use
* Hellos hs example: add simple bidi mode use
* wibbles
* Add GRPCIOErrorEq newtype wrapper w/ Eq instance for testing purposes
* Refactoring wibbles
* README wibbles
* DCR
* Fix rebase derp
* Remove libdl dep, update protobuf github link in hellos cpp Makefile.
* Use Data.Coerce.coerce for GRPCIOErrorEq; remove warnings
* Report expected/got errors in Haskell hellos client/server
* Report expected/got errors in cpp hellos client/server
* Add some instructions for running the hellos client/server
* Fix warnings
* Rename logShow to logMsg and use stderr for logging
* Tweak compliation parameters for hellos hs executables; increase constant workload
* Remove unnecessary type annotation
* Simplify handleError in dispatchLoop
* Remove GRPCIOErrorEq and coerce use; change GRPCIOHandlerException type
|
2016-07-26 15:21:35 -07:00 |
|