Пример #1
0
        public void BindAsync(string activeEvent, string inactiveEvent, string readEvent, string exceptionEvent)
        {
            LazynetSocketEvent socketEvent = new LazynetSocketEvent()
            {
                ActiveEvent    = activeEvent,
                ExceptionEvent = exceptionEvent,
                InactiveEvent  = inactiveEvent,
                ReadEvent      = readEvent
            };

            ServiceContext.BindAsync(socketEvent);
        }