Table of Contents

Delegate FileTransferRequestedDelegate

Namespace
VAST.Media
Assembly
VAST.Common.dll

Represents a delegate that handles file transfer requests received by a server.

public delegate Task FileTransferRequestedDelegate(object caller, FileTransferRequestedArgs args)

Parameters

caller object

The object that invoked the delegate, typically the server that received the file transfer request.

args FileTransferRequestedArgs

The arguments containing details about the requested file transfer.

Returns

Task

A task representing the asynchronous handling of the file transfer request.

Constructors

FileTransferRequestedDelegate(object, nint)

public FileTransferRequestedDelegate(object @object, nint method)

Parameters

object object
method nint

Methods

BeginInvoke(object, FileTransferRequestedArgs, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(object caller, FileTransferRequestedArgs args, AsyncCallback callback, object @object)

Parameters

caller object
args FileTransferRequestedArgs
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual Task EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Returns

Task

Invoke(object, FileTransferRequestedArgs)

public virtual Task Invoke(object caller, FileTransferRequestedArgs args)

Parameters

caller object
args FileTransferRequestedArgs

Returns

Task