A class that handles async calls and callbacks
| C# | Visual Basic | Visual C++ |
public class AsyncRequestHandler<TIdentifier, TResponse> : IDisposable
Public Class AsyncRequestHandler(Of TIdentifier, TResponse) _ Implements IDisposable
generic<typename TIdentifier, typename TResponse> public ref class AsyncRequestHandler : IDisposable
- TIdentifier
- TResponse
| All Members | Constructors | Methods | Properties | Fields | |
| Icon | Member | Description |
|---|---|---|
| AsyncRequestHandler<(Of <(<'TIdentifier, TResponse>)>)>()()()() | Initializes a new instance of the AsyncRequestHandler<(Of <(<'TIdentifier, TResponse>)>)> class | |
| AddResponse(TResponse) | ||
| DebugMode | ||
| Dispose()()()() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
| |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()()() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetId |
Delegate for getting ID from response
| |
| GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
| MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Process()()()() |
A heartbeat function
| |
| Send(TIdentifier, AsyncRequestHandler<(Of <<'(TIdentifier, TResponse>)>>)..::..Callback) | ||
| ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
| UpdateSlot(array<Object>[]()[][]) |
Author: Danko Kozar
| Object | |
| AsyncRequestHandler<(Of <(<'TIdentifier, TResponse>)>)> | |