Class Call
Describes a flow of events originating from a Glue client call
Inheritance
System.Object
Call
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: NFX.Glue
Assembly: NFX.dll
Syntax
public class Call
Constructors
Call(CallSlot)
Declaration
public Call(CallSlot call)
Parameters
Type | Name | Description |
---|---|---|
CallSlot | call |
Call(CallSlot, Action<CallReactor, Call>)
Declaration
public Call(CallSlot call, Action<CallReactor, Call> callback)
Parameters
Type | Name | Description |
---|---|---|
CallSlot | call | |
System.Action<CallReactor, Call> | callback |
Call(CallSlot, Object, Action<CallReactor, Call, Object>)
Declaration
public Call(CallSlot call, object context, Action<CallReactor, Call, object> callback)
Parameters
Type | Name | Description |
---|---|---|
CallSlot | call | |
System.Object | context | |
System.Action<CallReactor, Call, System.Object> | callback |
Properties
CallbackException
Returns exception that was thrown from callback or null if no exception happened
Declaration
public Exception CallbackException { get; }
Property Value
Type | Description |
---|---|
System.Exception |
CallSlot
Returns CallSlot that represents this call
Declaration
public CallSlot CallSlot { get; }
Property Value
Type | Description |
---|---|
CallSlot |
Context
Retruns call-dependent context object if one was supplied in call .ctor, or null
Declaration
public object Context { get; }
Property Value
Type | Description |
---|---|
System.Object |
Ended
Returns true when call has ended with all attached events/callbacks
Declaration
public bool Ended { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Reactor
Returns the reactor that services this call
Declaration
public CallReactor Reactor { get; }
Property Value
Type | Description |
---|---|
CallReactor |