Skip to content

Commit

Permalink
Update .bond files
Browse files Browse the repository at this point in the history
  • Loading branch information
lalo committed Jun 22, 2016
1 parent 646a1c3 commit 3370f37
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions cs/src/comm/epoxy-transport/EpoxyTransport.bond
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ enum PayloadType
struct EpoxyHeaders
{
0: uint64 conversation_id;
1: required PayloadType payload_type;
1: required PayloadType payload_type = Request;
2: string method_name;
3: int32 error_code;
}
Expand Down Expand Up @@ -64,6 +64,6 @@ enum ProtocolErrorCode

struct ProtocolError
{
0: ProtocolErrorCode error_code;
0: ProtocolErrorCode error_code = GENERIC_ERROR;
1: nullable<bonded<bond.comm.Error>> details;
}
2 changes: 1 addition & 1 deletion cs/src/comm/interfaces/Comm.bond
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ struct ConnectionMetrics
0: string connection_id;
1: string local_endpoint;
2: string remote_endpoint;
3: ConnectionShutdownReason shutdown_reason;
3: ConnectionShutdownReason shutdown_reason = Unknown;
4: double duration_millis;
}

Expand Down
2 changes: 1 addition & 1 deletion examples/cs/core/import/schema.bond
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ struct Message
{
// To use a type from a different namespace, use its fully qualified name.
0: Examples.Common.Protocol.Header Header;
1: Examples.Common.Priority Priority;
1: Examples.Common.Priority Priority = Normal;
2: uint32 MessagePayload;
}

0 comments on commit 3370f37

Please sign in to comment.