Skip to content

Latest commit

 

History

History
49 lines (35 loc) · 2.5 KB

upclient.adoc

File metadata and controls

49 lines (35 loc) · 2.5 KB

uProtocol Client Library

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in IETF BCP14 (RFC2119 & RFC8174)

Copyright (c) 2023 General Motors GTO LLC

Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.  See the NOTICE file
distributed with this work for additional information
regarding copyright ownership.  The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License.  You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.  See the License for the
specific language governing permissions and limitations
under the License.

SPDX-FileType: DOCUMENTATION
SPDX-FileCopyrightText: 2023 General Motors GTO LLC
SPDX-License-Identifier: Apache-2.0

1. Overview

uPClient library is the application facing library that uEs use to communicate to a given implementation of uProtocol (ex. up-android, up-zenoh, etc…​). The library contains a transport specific implementation of the uTransport, RpcClient, and RpcServer interfaces declared in uProtocol Language Specific Library Specifications. The library also includes implementation specific client-side implementations of the core uServices uDiscovery, uTwin, and uSubscription.

2. Requirements

  • MUST implement the uProtocol uP-L1 & uP-L2 protocol specific interfaces uTransport, RpcClient, and RpcServer

  • MUST implement (client-side) uProtocol uP-L3 core uService interfaces uSubscription, uTwin, and uDiscovery

  • MUST Follow the naming convention up-client-[IMPLEMENTATION]-[LANGUAGE]

3. Class Diagram

upClient Class Diagram below illustrates how the upClient implements the interfaces that are declared in the language libraries.

upClient Class Diagram

up libraries.drawio