MercuryServiceBase constructor
MercuryServiceBase()
Implementation
MercuryServiceBase() {
$addMethod($grpc.ServiceMethod<$1.MercuryRequest, $1.MercuryResponse>(
'Heartbeat',
heartbeat_Pre,
false,
false,
($core.List<$core.int> value) => $1.MercuryRequest.fromBuffer(value),
($1.MercuryResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.MercuryRequest, $1.MercuryResponse>(
'Ping',
ping_Pre,
false,
false,
($core.List<$core.int> value) => $1.MercuryRequest.fromBuffer(value),
($1.MercuryResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.MercuryRequest, $1.MercuryResponse>(
'CreateUser',
createUser_Pre,
false,
false,
($core.List<$core.int> value) => $1.MercuryRequest.fromBuffer(value),
($1.MercuryResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.MercuryRequest, $1.MercuryResponse>(
'DeleteUser',
deleteUser_Pre,
false,
false,
($core.List<$core.int> value) => $1.MercuryRequest.fromBuffer(value),
($1.MercuryResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.MercuryRequest, $1.MercuryResponse>(
'GetAllUsers',
getAllUsers_Pre,
false,
false,
($core.List<$core.int> value) => $1.MercuryRequest.fromBuffer(value),
($1.MercuryResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.MercuryRequest, $1.MercuryResponse>(
'GetUser',
getUser_Pre,
false,
false,
($core.List<$core.int> value) => $1.MercuryRequest.fromBuffer(value),
($1.MercuryResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.MercuryRequest, $1.MercuryResponse>(
'AddUserToConversation',
addUserToConversation_Pre,
false,
false,
($core.List<$core.int> value) => $1.MercuryRequest.fromBuffer(value),
($1.MercuryResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.MercuryRequest, $1.MercuryResponse>(
'CreateConversation',
createConversation_Pre,
false,
false,
($core.List<$core.int> value) => $1.MercuryRequest.fromBuffer(value),
($1.MercuryResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.MercuryRequest, $1.MercuryResponse>(
'DeleteConversation',
deleteConversation_Pre,
false,
false,
($core.List<$core.int> value) => $1.MercuryRequest.fromBuffer(value),
($1.MercuryResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.MercuryRequest, $1.MercuryResponse>(
'GetConversationById',
getConversationById_Pre,
false,
false,
($core.List<$core.int> value) => $1.MercuryRequest.fromBuffer(value),
($1.MercuryResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.MercuryRequest, $1.MercuryResponse>(
'ListConversations',
listConversations_Pre,
false,
false,
($core.List<$core.int> value) => $1.MercuryRequest.fromBuffer(value),
($1.MercuryResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.MercuryRequest, $1.MercuryResponse>(
'RemoveUserFromConversation',
removeUserFromConversation_Pre,
false,
false,
($core.List<$core.int> value) => $1.MercuryRequest.fromBuffer(value),
($1.MercuryResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.MercuryRequest, $1.MercuryResponse>(
'GetConversationByUsers',
getConversationByUsers_Pre,
false,
false,
($core.List<$core.int> value) => $1.MercuryRequest.fromBuffer(value),
($1.MercuryResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.MercuryRequest, $1.MercuryResponse>(
'AddReactionToMessage',
addReactionToMessage_Pre,
false,
false,
($core.List<$core.int> value) => $1.MercuryRequest.fromBuffer(value),
($1.MercuryResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.MercuryRequest, $1.MercuryResponse>(
'DeleteReactionFromMessage',
deleteReactionFromMessage_Pre,
false,
false,
($core.List<$core.int> value) => $1.MercuryRequest.fromBuffer(value),
($1.MercuryResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.MercuryRequest, $1.MercuryResponse>(
'EditMessage',
editMessage_Pre,
false,
false,
($core.List<$core.int> value) => $1.MercuryRequest.fromBuffer(value),
($1.MercuryResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.MercuryRequest, $1.MercuryResponse>(
'GetMessage',
getMessage_Pre,
false,
false,
($core.List<$core.int> value) => $1.MercuryRequest.fromBuffer(value),
($1.MercuryResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.MercuryRequest, $1.MercuryResponse>(
'ListMessages',
listMessages_Pre,
false,
false,
($core.List<$core.int> value) => $1.MercuryRequest.fromBuffer(value),
($1.MercuryResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.MercuryRequest, $1.MercuryResponse>(
'Receive',
receive_Pre,
false,
true,
($core.List<$core.int> value) => $1.MercuryRequest.fromBuffer(value),
($1.MercuryResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.MercuryRequest, $1.MercuryResponse>(
'Send',
send_Pre,
false,
false,
($core.List<$core.int> value) => $1.MercuryRequest.fromBuffer(value),
($1.MercuryResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.MercuryRequest, $1.MercuryResponse>(
'DeleteMessage',
deleteMessage_Pre,
false,
false,
($core.List<$core.int> value) => $1.MercuryRequest.fromBuffer(value),
($1.MercuryResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.MercuryRequest, $1.MercuryResponse>(
'ListContacts',
listContacts_Pre,
false,
false,
($core.List<$core.int> value) => $1.MercuryRequest.fromBuffer(value),
($1.MercuryResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.MercuryRequest, $1.MercuryResponse>(
'UploadFile',
uploadFile,
true,
false,
($core.List<$core.int> value) => $1.MercuryRequest.fromBuffer(value),
($1.MercuryResponse value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$1.MercuryRequest, $1.MercuryResponse>(
'UploadImage',
uploadImage,
true,
false,
($core.List<$core.int> value) => $1.MercuryRequest.fromBuffer(value),
($1.MercuryResponse value) => value.writeToBuffer()));
}