public void action() { if (_tcpClient_.Call(_c0)) { return; } throw new Exception(); }
public void actionAsynchronous(action <fastCSharp.setup.cSharp.tcpBase.asynchronousReturn> _onReturn_) { bool _isCall_ = false; try { fastCSharp.net.tcpClient _client_ = _tcpClient_; if (_client_ != null) { _isCall_ = true; _client_.Call(new fastCSharp.setup.cSharp.tcpBase.asyncReturn { OnReturn = _onReturn_ }.CallOnReturn, _c1); } } catch (Exception _error_) { fastCSharp.log.Default.Add(_error_, null, false); } finally { if (!_isCall_) { _onReturn_(new fastCSharp.setup.cSharp.tcpBase.asynchronousReturn { IsReturn = false }); } } }