MqttRpcApiInfo 类 |
命名空间: HslCommunication.MQTT
MqttRpcApiInfo 类型公开以下成员。
名称 | 说明 | |
---|---|---|
![]() | MqttRpcApiInfo | 初始化 MqttRpcApiInfo 类的一个新实例 |
名称 | 说明 | |
---|---|---|
![]() | ApiTopic |
当前的Api的路由信息,对于注册服务来说,是类名/方法名
|
![]() | CalledCount |
当前Api的调用次数
|
![]() | Description |
当前的Api的路由说明
|
![]() | ExamplePayload |
示例的
|
![]() | HttpMethod |
如果当前的API接口是支持Http的请求方式,当前属性有效,例如GET,POST
|
![]() | IsMethodApi |
当前Api是否为方法,如果是方法,就为true,否则为false
|
![]() | IsOperateResultApi |
当前的Api的方法是否是异步的Task类型
|
![]() | Method |
当前的Api关联的方法反射,本属性在JSON中将会忽略
|
![]() | MethodSignature |
当前方法的签名
|
![]() | PermissionAttribute |
当前Api的方法的权限访问反射,本属性在JSON中将会忽略
|
![]() | Property |
当前的Api关联的方法反射,本属性在JSON中将会忽略
|
![]() | SourceObject |
当前Api绑定的对象的,实际的接口请求,将会从对象进行调用,本属性在JSON中将会忽略
|
![]() | SpendTotalTime |
当前Api的调用总耗时,单位是秒
|
名称 | 说明 | |
---|---|---|
![]() | CalledCountAddOne |
使用原子的操作增加一次调用次数的数据信息,需要传入当前的消耗的时间,单位为100倍毫秒
|
![]() | Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) |
![]() | GetHashCode | Serves as the default hash function. (继承自 Object。) |
![]() | GetType | Gets the Type of the current instance. (继承自 Object。) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) |
![]() | ToString | Returns a string that represents the current object. (重写 ObjectToString.) |
名称 | 说明 | |
---|---|---|
![]() | ToJsonString |
获取当前对象的JSON格式表示的字符串。 (由 HslExtension 定义。)Gets the string represented by the JSON format of the current object. |