Refactored the "Channel" class into "ConnectedChannel" and "BroadcastChannel"