Skip to content

Commit

Permalink
Remove RpcServer Interface (#84)
Browse files Browse the repository at this point in the history
* Remove RpcServer Interface

the following change merges the UTransport::registerListener() with the RpcServer::registerRpcListener() as the APIs did the same thing to register a listener based on a given URI.

#73

* minor change to remove comma
  • Loading branch information
Steven Hartley authored Mar 15, 2024
1 parent 5848d7b commit b12f0bb
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 184 deletions.
6 changes: 3 additions & 3 deletions languages.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ SPDX-License-Identifier: Apache-2.0
----

== Overview
Language specific uProtocol libraries (_the library_), builds the protobuf defined data model from https://github.com/eclipse-uprotocol/up-core-api[Eclipse-uProtocol Core-API] project and adds validators, serializers, and builders specific to the protocol for said data model not covered in protobuf generated code. The library is also responsible to declare the language specific uP-L1 & uP-L2 interfaces uTransport, RpcClient, and RpcServer.
Language specific uProtocol libraries (_the library_), builds the protobuf defined data model from https://github.com/eclipse-uprotocol/up-core-api[Eclipse-uProtocol Core-API] project and adds validators, serializers, and builders specific to the protocol for said data model not covered in protobuf generated code. The library is also responsible to declare the language specific uP-L1 & uP-L2 interfaces uTransport and RpcClient.


NOTE: All projects/libraries *MUST* be released under a permissive license (Apache 2.0, MIT, etc..) and located in https://github.com/eclipse-uprotocol[GitHub Eclipse-uProtocol] project and **MUST** also depend only on other permissive license libraries.
Expand Down Expand Up @@ -89,8 +89,8 @@ a| uP-L1 Transport Interface & data model.
* *MUST* declare the interface & data model where as link:../upclient.adoc[uProtocol Client Library] implement the said interface.

| `rpc`
| link:up-l2/rpcclient.adoc[uP-L2 RPC Client] & link:up-l2/rpcserver.adoc[uP-L2 RPC Server]
a|APIs used to invokemethods() (for clients) and register RpcRequest Listeners (servers) to simplify implementation of the RPC design pattern.
| link:up-l2/rpcclient.adoc[uP-L2 RPC Client]
a|APIs used by clients to invoke methods to simplify implementation of the RPC design pattern.

|===

Expand Down
3 changes: 0 additions & 3 deletions up-l2/README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,4 @@ uProtocol Communication layer defines message processing, i.e. routing/ dispatch
| link:rpcclient.adoc[*RpcClient*]
| Interface for the generation of client-side boundary objects for uP-L3 services

| link:rpcserver.adoc[*RpcServer*]
| Interface for registering request handlers for a uP-L3 service

|===
113 changes: 0 additions & 113 deletions up-l2/rpcserver.adoc

This file was deleted.

Loading

0 comments on commit b12f0bb

Please sign in to comment.