Redigera

Dela via


IGrainReferenceRuntime Interface

Definition

Runtime logic for GrainReferences to be usable. This service is not meant to be used directly by user code.

public interface IGrainReferenceRuntime
type IGrainReferenceRuntime = interface
Public Interface IGrainReferenceRuntime

Methods

Cast(IAddressable, Type)

Converts the provided grain to the provided interfaceType.

Convert(IAddressable, Type)

Converts the provided grain to the provided interfaceType.

Convert<TGrainInterface>(IAddressable)

Converts the provided grain to the specified interface.

InvokeMethod(GrainReference, IInvokable, InvokeMethodOptions)

Invokes the specified void-returning method on the provided grain interface without waiting for a response.

InvokeMethodAsync(GrainReference, IInvokable, InvokeMethodOptions)

Invokes the specified method on the provided grain interface.

InvokeMethodAsync<T>(GrainReference, IInvokable, InvokeMethodOptions)

Invokes the specified method on the provided grain interface.

InvokeMethodAsync<T>(GrainReference, Int32, Object[], InvokeMethodOptions, SiloAddress)

Invokes a method on a remote object.

InvokeOneWayMethod(GrainReference, Int32, Object[], InvokeMethodOptions, SiloAddress)

Invokes a fire and forget method on a remote object.

Applies to