public void packparse_over(packArgs p) { if (MsgResponse != null) { MsgResponse(this, p); } }
private void OnMessage(object sender, WebSocketSharp.MessageEventArgs e) { packArgs pack = parser.paser(e.Data); packparse_over(pack); }