createChannel

public static BaseChannel createChannel(ChannelIdentifier identifier)

Creates the appropriate BaseChannel subtype for the given ChannelIdentifier.

Return

a typed BaseChannel instance

Parameters

identifier

the channel identifier