Beispiel #1
0
        internal SipContextSource(IPEndPoint ipEndPoint, SmartThreadPool threadPool, SipMessageFactory messageFactory, SipHeaderFactory headerFactory)
        {
            Check.Require(ipEndPoint, "ipEndPoint");
            Check.Require(threadPool, "threadPool");
            Check.Require(messageFactory, "messageFactory");
            Check.Require(headerFactory, "headerFactory");

            _ipEndPoint = ipEndPoint;
            _threadPool = threadPool;
            _messageFactory = messageFactory;
            _headerFactory = headerFactory;
            _logger.Trace("Constructor called.");

            _sender = new DatagramSender(_ipEndPoint);
        }