Imports System.Threading
Imports System.Threading.Tasks
Imports Rpc.MessageProtocol
Namespace Rpc
'''
''' creates tasks for the control request to the RPC server
'''
Public Interface IRpcClient
'''
''' creates the task for the control request to the RPC server
'''
'''
''' the runned task
'''
''' call body structure
''' instance of request arguments
''' task creation options
''' cancellation token
''' type of request
''' type of response
Function CreateTask(Of TReq, TResp)(ByVal callBody As call_body, ByVal reqArgs As TReq, ByVal options As TaskCreationOptions, ByVal token As CancellationToken) As Task(Of TResp)
'''
''' Close this connection and cancel all queued tasks
'''
Sub Close()
End Interface
End Namespace