SessionServiceBase constructor
SessionServiceBase()
Implementation
SessionServiceBase() {
$addMethod($grpc.ServiceMethod<$0.ListSessionsRequest, $0.ListSessionsResponse>(
'ListSessions',
listSessions_Pre,
false,
false,
($core.List<$core.int> value) => $0.ListSessionsRequest.fromBuffer(value),
($0.ListSessionsResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.GetSessionRequest, $0.GetSessionResponse>(
'GetSession',
getSession_Pre,
false,
false,
($core.List<$core.int> value) => $0.GetSessionRequest.fromBuffer(value),
($0.GetSessionResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.CreateSessionRequest, $0.CreateSessionResponse>(
'CreateSession',
createSession_Pre,
false,
false,
($core.List<$core.int> value) => $0.CreateSessionRequest.fromBuffer(value),
($0.CreateSessionResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.SetSessionRequest, $0.SetSessionResponse>(
'SetSession',
setSession_Pre,
false,
false,
($core.List<$core.int> value) => $0.SetSessionRequest.fromBuffer(value),
($0.SetSessionResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.DeleteSessionRequest, $0.DeleteSessionResponse>(
'DeleteSession',
deleteSession_Pre,
false,
false,
($core.List<$core.int> value) => $0.DeleteSessionRequest.fromBuffer(value),
($0.DeleteSessionResponse value) => value.writeToBuffer()));
}