private void SendFakeListenRequest() { ListenRequest request = new ListenRequest(0); request.CIPMask = CIPMask.None; SendMessage(request); }
public IAsyncResult BeginListen(CIPMask service, AsyncCallback callback, object state) { try { ListenRequest request = new ListenRequest(_id); request.CIPMask = service; MessageAsyncResult result = new MessageAsyncResult(this, request, callback, state); _application.SendRequestMessage(result); return(result); } catch (Exception e) { Trace.TraceError("Controller#{0}::BeginListen, Exception = {1}", ValidationHelper.HashString(this), e); throw; } }