Hidden terminal and Exposed terminal

Exposed terminal

Exposed terminal problem.svg

[figure from https://en.wikipedia.org/wiki/Exposed_node_problem]

S1 is transmitting packages to R1, S2 is prevented from sending packages to R2, because the carrier sense tells R2 it will interfere with the transmission of S1. But in fact, such an interference would not occur because S2 is sending packages to R2, not R1. 


Hidden terminal:


[figure from https://en.wikipedia.org/wiki/Hidden_node_problem]

There is a transmission from A to B. At the same time C attempts to send packages to B. Because A is outside of the signal range of C, the carrier sense will tell C it's OK to initial a transmission to B. But in fact, such a transmission will interfere the transmission from A to B. In this case, A is called the hidden terminal of C.



  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
在 Vue 中,"exposed" 一词不是一个官方的概念。可能是你在其他上下文中看到了这个词,可以提供更多的上下文信息,以便我能更好地回答你的问题。"exposed" 一词通常用于表示将某些属性、方法或状态暴露给父组件、子组件或其他相关组件的操作。 如果你是指如何在 Vue 组件中暴露属性或方法给其他组件使用,可以使用 `props` 和 `$emit` 来实现。通过在父组件中使用 `props` 将数据传递给子组件,子组件可以通过 `this.$emit` 触发事件,将数据传递回父组件。这样就可以实现组件之间的通信。 以下是一个简单的示例: ```vue <template> <div> <child-component :message="message" @update-message="updateMessage"></child-component> </div> </template> <script> import ChildComponent from './ChildComponent.vue'; export default { components: { ChildComponent }, data() { return { message: 'Hello' }; }, methods: { updateMessage(newMessage) { this.message = newMessage; } } } </script> ``` 在上面的示例中,父组件通过 `props` 将 `message` 属性传递给子组件 `<child-component>`。子组件可以在需要的时候通过 `this.$emit('update-message', newMessage)` 触发名为 `update-message` 的自定义事件,并将新的消息作为参数传递给父组件。 这样,父组件就可以监听子组件触发的事件,在事件处理方法中更新 `message` 数据。这就实现了父子组件之间的数据通信。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值