internal override void SendMsg(SocketMsgTypeE type, SocketConnectStatusE status, IDevice device) { if (Monitor.TryEnter(mMsgMod, TimeSpan.FromSeconds(2))) { try { mMsgMod.MsgType = type; mMsgMod.ConnStatus = status; mMsgMod.Device = device; Messenger.Default.Send(mMsgMod, MsgToken.FerryMsgUpdate); } finally { Monitor.Exit(mMsgMod); } } }
internal abstract void SendMsg(SocketMsgTypeE type, SocketConnectStatusE status, IDevice device);