Skip to content

Commit

Permalink
revise tateyama/proto/endpoint/request.proto
Browse files Browse the repository at this point in the history
  • Loading branch information
t-horikawa committed Jan 15, 2024
1 parent 6386771 commit f49899c
Showing 1 changed file with 30 additions and 12 deletions.
42 changes: 30 additions & 12 deletions src/tateyama/proto/endpoint/request.proto
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,21 @@ message Request {

// handshake operation.
message Handshake {
// the auth info.
AuthInfo auth_info = 1;
// the credential.
Credential credential = 1;

// the client information.
ClientInformation client_information = 2;

// reserved for system use
reserved 3 to 10;

// the wire information.
WireInformation wire_information = 11;
}

// the credential
message Credential {
}

// client information
Expand All @@ -43,17 +53,25 @@ message ClientInformation {
string application_name = 2;

// the user name.
string user_name = 4;
string user_name = 3;
}

// the connection information
string connection_information = 5;
// wire information
message WireInformation {
oneof wire_information {
IpcInformation ipc_information = 1;
StreamInformation stream_information = 2;
}

// reserved for future use
reserved 6 to 10;
// ipc information
message IpcInformation {
// the connection information
string connection_information = 1;
}

// the maximum concurrent result sets
uint64 maximum_concurrent_result_sets = 11;
// stream information
message StreamInformation {
// the maximum concurrent result sets
uint64 maximum_concurrent_result_sets = 1;
}
}

// auto info.
message AuthInfo {}

0 comments on commit f49899c

Please sign in to comment.