implemented UdpChannel class