mod connection class