private void handleVideoStart(byte[] cRPData) { Body4ResponseVideoStart body = Body4ResponseVideoStart.nullBody; body.readBytes(cRPData); startVideoHandler.Invoke(body.IsSuccess, body.Info); }
private void handleLogin(byte[] data) { Body4ResponseLogin body = Body4ResponseLogin.nullBody; body.readBytes(data); if (!body.IsSuccess) { tcpSocket.stopListening(); udpListener.stopListening(); } loginHandler.Invoke(body.IsSuccess, body.Info); }