use enum for state in EmbeddedChannel
use enum for state in LocalChannel