protected sealed class ConnectionDirection
object Inbound : ConnectionDirection
class Outbound : ConnectionDirection