Skip to content

Commit

Permalink
Merge branch 'protocol'
Browse files Browse the repository at this point in the history
  • Loading branch information
skelterjohn committed Oct 3, 2012
2 parents ee6f2a7 + 105f47a commit e807ca2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Service: **ServiceHandshake**

Client: **ClientHandshake**

2) Begin sending requests. When done sending requests, the stream may be closed by the client.
2) Client may begin sending requests. When done sending requests, the stream may be closed by the client.

Client: **RequestHeader**
* **ServiceMethod**: Use "**Name**.Forward", where **Name** is the service's reported name.
Expand All @@ -80,7 +80,7 @@ Client: **RequestIn**
* **RequestInfo**.**OriginAddress**: If this request originated from another machine, that machine's address may be used. If left blank, the service will fill it in with the client's remote address.
* **In**: The BSON-encoded buffer representing the RPC's in parameter.

3) Synchronously receive responses. When the stream is closed by the client and all responses have been issued, the stream may be closed by the service.
3) Service may synchronously send responses, in any order as long as the response corresponds to a request sent by the client. When the stream is closed by the client and all responses have been issued, the stream may be closed by the service.

Service: **ResponseHeader**
* **ServiceMethod**: Will be the same "**Name**.Forward" provided in the request.
Expand Down

0 comments on commit e807ca2

Please sign in to comment.