| // Copyright 2020 The Pigweed Authors |
| // Licensed 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 |
| // https://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 |
| // RPC packets correspond with an RPC request or response. |
| // CANCEL packets indicate cancellation of an ongoing streaming RPC. They are |
| // sent by the client to request cancellation and by the server to signal that |
| // an RPC was cancelled. The server sends a CANCEL packet when an RPC is |
| // cancelled server-side and in response to a client's request. |
| // The type of packet. Either a general RPC packet or a specific control |
| // Channel through which the packet is sent. Required. |
| // Tokenized fully-qualified name of the service with which this packet is |
| // associated. For RPC packets, this is the service that processes the packet. |
| // Tokenized name of the method which should process this packet. |
| // RPC response status code. |