![]() |
Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
|
Event handler for token transfer events. More...
Public Member Functions | |
TokenTransferredEventHandler () | |
Event handler for token transfer events. More... | |
TokenTransferredEventHandler (EvaluationArguments Arguments, int EventIndex, TokenEventNode EventNode, string SellerVariable, string BuyerVariable, string ContractVariable, string ValueVariable, string AmountVariable, string CurrencyVariable) | |
Event handler for token transfer events. More... | |
override bool | Equals (object obj) |
override int | GetHashCode () |
async Task | AddToCache () |
Removes the event handler from the cache. More... | |
async Task | RemoveFromCache () |
Removes the event handler from the cache. More... | |
Static Public Member Functions | |
static async Task< CachedEventHandler[]> | GetEventHandlers (string EventType) |
Gets registered event handlers of a given event type. More... | |
Properties | |
string | SellerVariable [get, set] |
Optional seller variable. More... | |
string | BuyerVariable [get, set] |
Optional buyer variable. More... | |
string | ContractVariable [get, set] |
Optional contract variable. More... | |
string | ValueVariable [get, set] |
Optional value variable. More... | |
string | AmountVariable [get, set] |
Optional amount variable. More... | |
string | CurrencyVariable [get, set] |
Optional currency variable. More... | |
string | ObjectId [get, set] |
Object ID of event handler. More... | |
string | StateMachineId [get, set] |
ID of State-Machine. More... | |
string | State [get, set] |
ID of state in state-machine to which the event handler belongs. More... | |
int | EventIndex [get, set] |
Zero-based index of event handler in state. More... | |
string | EventType [get, set] |
Type of event. More... | |
DateTime | Expires [get, set] |
When state-machine expires More... | |
Duration? | ArchiveRequired [get, set] |
Duration after which token expires, the token is required to be archived. More... | |
Duration? | ArchiveOptional [get, set] |
Duration after which token expires, and the required archiving time, the token can optionally be archived. More... | |
int | ArchiveDays [get] |
Number of days to archive field. More... | |
Event handler for token transfer events.
Definition at line 10 of file TokenTransferredEventHandler.cs.
Waher.Service.IoTBroker.StateMachines.EventHandlers.TokenTransferredEventHandler.TokenTransferredEventHandler | ( | ) |
Event handler for token transfer events.
Definition at line 15 of file TokenTransferredEventHandler.cs.
Waher.Service.IoTBroker.StateMachines.EventHandlers.TokenTransferredEventHandler.TokenTransferredEventHandler | ( | EvaluationArguments | Arguments, |
int | EventIndex, | ||
TokenEventNode | EventNode, | ||
string | SellerVariable, | ||
string | BuyerVariable, | ||
string | ContractVariable, | ||
string | ValueVariable, | ||
string | AmountVariable, | ||
string | CurrencyVariable | ||
) |
Event handler for token transfer events.
Arguments | Evaluation arguments. |
EventIndex | Zero-based index of event, inside the current state. |
EventNode | Event node being registered. |
SellerVariable | Optional seller variable. |
BuyerVariable | Optional buyer variable. |
ContractVariable | Optional contract variable. |
ValueVariable | Optional value variable. |
AmountVariable | Optional amount variable (value-fees). |
CurrencyVariable | Optional currency variable. |
Definition at line 32 of file TokenTransferredEventHandler.cs.
|
inherited |
Removes the event handler from the cache.
Definition at line 46 of file CachedEventHandler.cs.
override bool Waher.Service.IoTBroker.StateMachines.EventHandlers.TokenTransferredEventHandler.Equals | ( | object | obj | ) |
Definition at line 83 of file TokenTransferredEventHandler.cs.
|
staticinherited |
Gets registered event handlers of a given event type.
EventType | Event type. |
Definition at line 105 of file CachedEventHandler.cs.
override int Waher.Service.IoTBroker.StateMachines.EventHandlers.TokenTransferredEventHandler.GetHashCode | ( | ) |
Definition at line 97 of file TokenTransferredEventHandler.cs.
|
inherited |
Removes the event handler from the cache.
Definition at line 81 of file CachedEventHandler.cs.
|
getset |
Optional amount variable.
Definition at line 74 of file TokenTransferredEventHandler.cs.
|
getinherited |
Number of days to archive field.
Definition at line 87 of file EventHandler.cs.
|
getsetinherited |
Duration after which token expires, and the required archiving time, the token can optionally be archived.
Definition at line 82 of file EventHandler.cs.
|
getsetinherited |
Duration after which token expires, the token is required to be archived.
Definition at line 76 of file EventHandler.cs.
|
getset |
Optional buyer variable.
Definition at line 56 of file TokenTransferredEventHandler.cs.
|
getset |
Optional contract variable.
Definition at line 62 of file TokenTransferredEventHandler.cs.
|
getset |
Optional currency variable.
Definition at line 80 of file TokenTransferredEventHandler.cs.
|
getsetinherited |
Zero-based index of event handler in state.
Definition at line 60 of file EventHandler.cs.
|
getsetinherited |
Type of event.
Definition at line 65 of file EventHandler.cs.
|
getsetinherited |
When state-machine expires
Definition at line 70 of file EventHandler.cs.
|
getsetinherited |
Object ID of event handler.
Definition at line 45 of file EventHandler.cs.
|
getset |
Optional seller variable.
Definition at line 50 of file TokenTransferredEventHandler.cs.
|
getsetinherited |
ID of state in state-machine to which the event handler belongs.
Definition at line 55 of file EventHandler.cs.
|
getsetinherited |
ID of State-Machine.
Definition at line 50 of file EventHandler.cs.
|
getset |
Optional value variable.
Definition at line 68 of file TokenTransferredEventHandler.cs.