added a `gateways` getting in GatewayManager and `isListening()` in BroadcastListener