RMCLink C++ Wrapper Class CRMCLink::CancelRequest Method |
This method can be used in multi-threaded applications to cancel the currently-in-progress read, write, or connect request.
C++ |
void CancelRequest(); |
This method is only for use in multi-threaded applications.
This method signals the current read, write, or connection attempt (if one is in progress) to fail immediately with an RMCLINK_E_CANCELLED error code. If no transaction is in progress when this method is called, then this method will do nothing and return.
This method affects, at most, one transaction (read, write, or connection attempt), so requests made after this method returns will behave normally.
See Also
CRMCLink Class | RMCLink C++ Wrapper Class
Copyright (c) 2024 Delta Computer Systems, Inc. dba Delta Motion