Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
NeuroFeatures.NeuroFeaturesClient Class Reference

eDaler XMPP client. More...

Inheritance diagram for NeuroFeatures.NeuroFeaturesClient:
Waher.Networking.XMPP.XmppExtension Waher.Networking.XMPP.IXmppExtension Waher.Networking.ICommunicationLayer Waher.Networking.XMPP.IXmppExtension Waher.Networking.ICommunicationLayer Waher.Events.IObservableLayer Waher.Events.IObservableLayer Waher.Events.IObservableLayer Waher.Events.IObservableLayer

Public Member Functions

 NeuroFeaturesClient (XmppClient Client, ContractsClient ContractsClient, string ComponentAddress)
 Neuro-Features XMPP client. More...
 
override void Dispose ()
 IDisposable.Dispose More...
 
Task GetToken (string TokenId, EventHandlerAsync< TokenResultEventArgs > Callback, object State)
 Gets a token, given its full ID. More...
 
async Task< TokenGetTokenAsync (string TokenId)
 Gets a token, given its full ID. More...
 
Task GetTokenReferences (EventHandlerAsync< IdReferencesEventArgs > Callback, object State)
 Get references to tokens the account owns. More...
 
Task GetTokenReferences (string Address, EventHandlerAsync< IdReferencesEventArgs > Callback, object State)
 Get references to tokens the account owns. More...
 
Task GetTokenReferences (int Offset, int MaxCount, EventHandlerAsync< IdReferencesEventArgs > Callback, object State)
 Get references to tokens the account owns. More...
 
Task GetTokenReferences (string Address, int Offset, int MaxCount, EventHandlerAsync< IdReferencesEventArgs > Callback, object State)
 Get references to tokens the account owns. More...
 
Task< string[]> GetTokenReferencesAsync ()
 Get references to tokens the account owns. More...
 
Task< string[]> GetTokenReferencesAsync (string Address)
 Get references to tokens the account owns. More...
 
Task< string[]> GetTokenReferencesAsync (int Offset, int MaxCount)
 Get references to tokens the account owns. More...
 
async Task< string[]> GetTokenReferencesAsync (string Address, int Offset, int MaxCount)
 Get references to tokens the account owns. More...
 
Task GetTokens (EventHandlerAsync< TokensEventArgs > Callback, object State)
 Get tokens the account owns. More...
 
Task GetTokens (string Address, EventHandlerAsync< TokensEventArgs > Callback, object State)
 Get tokens the account owns. More...
 
Task GetTokens (int Offset, int MaxCount, EventHandlerAsync< TokensEventArgs > Callback, object State)
 Get tokens the account owns. More...
 
Task GetTokens (string Address, int Offset, int MaxCount, EventHandlerAsync< TokensEventArgs > Callback, object State)
 Get tokens the account owns. More...
 
Task< TokensEventArgsGetTokensAsync ()
 Get tokens the account owns. More...
 
Task< TokensEventArgsGetTokensAsync (string Address)
 Get tokens the account owns. More...
 
Task< TokensEventArgsGetTokensAsync (int Offset, int MaxCount)
 Get tokens the account owns. More...
 
async Task< TokensEventArgsGetTokensAsync (string Address, int Offset, int MaxCount)
 Get tokens the account owns. More...
 
Task GetContractTokenReferences (string ContractId, EventHandlerAsync< IdReferencesEventArgs > Callback, object State)
 Get references to tokens created by a contract the account has access to. More...
 
Task GetContractTokenReferences (string Address, string ContractId, EventHandlerAsync< IdReferencesEventArgs > Callback, object State)
 Get references to tokens created by a contract the account has access to. More...
 
Task GetContractTokenReferences (string ContractId, int Offset, int MaxCount, EventHandlerAsync< IdReferencesEventArgs > Callback, object State)
 Get references to tokens created by a contract the account has access to. More...
 
Task GetContractTokenReferences (string Address, string ContractId, int Offset, int MaxCount, EventHandlerAsync< IdReferencesEventArgs > Callback, object State)
 Get references to tokens created by a contract the account has access to. More...
 
Task< string[]> GetContractTokenReferencesAsync (string ContractId)
 Get references to tokens created by a contract the account has access to. More...
 
Task< string[]> GetContractTokenReferencesAsync (string Address, string ContractId)
 Get references to tokens created by a contract the account has access to. More...
 
Task< string[]> GetContractTokenReferencesAsync (string ContractId, int Offset, int MaxCount)
 Get references to tokens created by a contract the account has access to. More...
 
async Task< string[]> GetContractTokenReferencesAsync (string Address, string ContractId, int Offset, int MaxCount)
 Get references to tokens created by a contract the account has access to. More...
 
Task GetContractTokens (string ContractId, EventHandlerAsync< TokensEventArgs > Callback, object State)
 Get tokens created by a contract the account has access to. More...
 
Task GetContractTokens (string Address, string ContractId, EventHandlerAsync< TokensEventArgs > Callback, object State)
 Get tokens created by a contract the account has access to. More...
 
Task GetContractTokens (string ContractId, int Offset, int MaxCount, EventHandlerAsync< TokensEventArgs > Callback, object State)
 Get tokens created by a contract the account has access to. More...
 
Task GetContractTokens (string Address, string ContractId, int Offset, int MaxCount, EventHandlerAsync< TokensEventArgs > Callback, object State)
 Get tokens created by a contract the account has access to. More...
 
Task< TokensEventArgsGetContractTokensAsync (string ContractId)
 Get tokens created by a contract the account has access to. More...
 
Task< TokensEventArgsGetContractTokensAsync (string Address, string ContractId)
 Get tokens created by a contract the account has access to. More...
 
Task< TokensEventArgsGetContractTokensAsync (string ContractId, int Offset, int MaxCount)
 Get tokens created by a contract the account has access to. More...
 
async Task< TokensEventArgsGetContractTokensAsync (string Address, string ContractId, int Offset, int MaxCount)
 Get tokens created by a contract the account has access to. More...
 
Task GetTotals (EventHandlerAsync< TokenTotalsEventArgs > Callback, object State)
 Get totals of tokens the sender owns. More...
 
Task GetTotals (string Address, EventHandlerAsync< TokenTotalsEventArgs > Callback, object State)
 Get totals of tokens the sender owns. More...
 
Task< TokenTotalsEventArgsGetTotalsAsync ()
 Get totals of tokens the sender owns. More...
 
async Task< TokenTotalsEventArgsGetTotalsAsync (string Address)
 Get totals of tokens the sender owns. More...
 
Task AddTextNote (string TokenId, string Note, EventHandlerAsync< IqResultEventArgs > Callback, object State)
 Adds a text note to a token. Notes attached to a token can be retrieved by calling GetEvents. More...
 
Task AddTextNote (string TokenId, string Note, bool Personal, EventHandlerAsync< IqResultEventArgs > Callback, object State)
 Adds a text note to a token. Notes attached to a token can be retrieved by calling GetEvents. More...
 
Task AddTextNoteAsync (string TokenId, string Note)
 Adds a text note to a token. Notes attached to a token can be retrieved by calling GetEvents. More...
 
async Task AddTextNoteAsync (string TokenId, string Note, bool Personal)
 Adds a text note to a token. Notes attached to a token can be retrieved by calling GetEvents. More...
 
Task AddXmlNote (string TokenId, string Note, EventHandlerAsync< IqResultEventArgs > Callback, object State)
 Adds a xml note to a token. Notes attached to a token can be retrieved by calling GetEvents. More...
 
Task AddXmlNote (string TokenId, string Note, bool Personal, EventHandlerAsync< IqResultEventArgs > Callback, object State)
 Adds a xml note to a token. Notes attached to a token can be retrieved by calling GetEvents. More...
 
Task AddXmlNoteAsync (string TokenId, string Note)
 Adds a xml note to a token. Notes attached to a token can be retrieved by calling GetEvents. More...
 
async Task AddXmlNoteAsync (string TokenId, string Note, bool Personal)
 Adds a xml note to a token. Notes attached to a token can be retrieved by calling GetEvents. More...
 
Task GetEvents (string TokenId, EventHandlerAsync< EventsEventArgs > Callback, object State)
 Get events registered for a token the account owns. More...
 
Task GetEvents (string TokenId, int Offset, int MaxCount, EventHandlerAsync< EventsEventArgs > Callback, object State)
 Get events registered for a token the account owns. More...
 
Task< TokenEvent[]> GetEventsAsync (string TokenId)
 Get events registered for a token the account owns. More...
 
async Task< TokenEvent[]> GetEventsAsync (string TokenId, int Offset, int MaxCount)
 Get events registered for a token the account owns. More...
 
Task GetCreationAttributes (EventHandlerAsync< CreationAttributesEventArgs > Callback, object State)
 Gets attributes relevant for creating tokens on the broker. More...
 
async Task< CreationAttributesEventArgsGetCreationAttributesAsync ()
 Gets attributes relevant for creating tokens on the broker. More...
 
Task GenerateDescription (string TokenId, ReportFormat Format, EventHandlerAsync< ReportEventArgs > Callback, object State)
 Gets a description of a token. More...
 
async Task< ReportEventArgsGenerateDescriptionAsync (string TokenId, ReportFormat Format)
 Gets a description of a token. More...
 
Task GetCurrentState (string TokenId, EventHandlerAsync< CurrentStateEventArgs > Callback, object State)
 Gets the current state of a state-machine belonging to a token. More...
 
async Task< CurrentStateEventArgsGetCurrentStateAsync (string TokenId)
 Gets the current state of a state-machine belonging to a token. More...
 
Task GenerateProfilingReport (string TokenId, ReportFormat Format, EventHandlerAsync< ReportEventArgs > Callback, object State)
 Gets a profiling report of a state-machine belonging to a token. More...
 
async Task< ReportEventArgsGenerateProfilingReportAsync (string TokenId, ReportFormat Format)
 Generates a profiling report of a state-machine belonging to a token. More...
 
Task GeneratePresentReport (string TokenId, ReportFormat Format, EventHandlerAsync< ReportEventArgs > Callback, object State)
 Gets a present report of a state-machine belonging to a token. More...
 
async Task< ReportEventArgsGeneratePresentReportAsync (string TokenId, ReportFormat Format)
 Generates a present report of a state-machine belonging to a token. More...
 
Task GenerateHistoryReport (string TokenId, ReportFormat Format, EventHandlerAsync< ReportEventArgs > Callback, object State)
 Gets a history report of a state-machine belonging to a token. More...
 
async Task< ReportEventArgsGenerateHistoryReportAsync (string TokenId, ReportFormat Format)
 Generates a history report of a state-machine belonging to a token. More...
 
Task GenerateStateDiagram (string TokenId, ReportFormat Format, EventHandlerAsync< ReportEventArgs > Callback, object State)
 Gets a state diagram of a state-machine belonging to a token. More...
 
async Task< ReportEventArgsGenerateStateDiagramAsync (string TokenId, ReportFormat Format)
 Generates a state diagram of a state-machine belonging to a token. More...
 
void Add (ISniffer Sniffer)
 Adds a sniffer to the node. More...
 
void Add (ISniffer Sniffer)
 Adds a sniffer to the node. More...
 
void AddRange (IEnumerable< ISniffer > Sniffers)
 Adds a range of sniffers to the node. More...
 
void AddRange (IEnumerable< ISniffer > Sniffers)
 Adds a range of sniffers to the node. More...
 
void AddRange (IEnumerable< ISniffer > Sniffers)
 Adds a range of sniffers to the node. More...
 
bool Remove (ISniffer Sniffer)
 Removes a sniffer, if registered. More...
 
bool Remove (ISniffer Sniffer)
 Removes a sniffer, if registered. More...
 
IEnumerator< ISnifferGetEnumerator ()
 Gets a typed enumerator.
 
IEnumerator< ISnifferGetEnumerator ()
 Gets a typed enumerator.
 
Task ReceiveBinary (byte[] Data)
 Called when binary data has been received. More...
 
Task ReceiveBinary (DateTime Timestamp, byte[] Data)
 Called when binary data has been received. More...
 
Task ReceiveBinary (byte[] Data)
 Called when binary data has been received. More...
 
Task ReceiveBinary (DateTime Timestamp, byte[] Data)
 Called when binary data has been received. More...
 
Task TransmitBinary (byte[] Data)
 Called when binary data has been transmitted. More...
 
Task TransmitBinary (DateTime Timestamp, byte[] Data)
 Called when binary data has been transmitted. More...
 
Task TransmitBinary (byte[] Data)
 Called when binary data has been transmitted. More...
 
Task TransmitBinary (DateTime Timestamp, byte[] Data)
 Called when binary data has been transmitted. More...
 
Task ReceiveText (string Text)
 Called when text has been received. More...
 
Task ReceiveText (DateTime Timestamp, string Text)
 Called when text has been received. More...
 
Task ReceiveText (string Text)
 Called when text has been received. More...
 
Task ReceiveText (DateTime Timestamp, string Text)
 Called when text has been received. More...
 
Task TransmitText (string Text)
 Called when text has been transmitted. More...
 
Task TransmitText (DateTime Timestamp, string Text)
 Called when text has been transmitted. More...
 
Task TransmitText (string Text)
 Called when text has been transmitted. More...
 
Task TransmitText (DateTime Timestamp, string Text)
 Called when text has been transmitted. More...
 
Task Information (string Comment)
 Called to inform the viewer of something. More...
 
Task Information (DateTime Timestamp, string Comment)
 Called to inform the viewer of something. More...
 
Task Information (string Comment)
 Called to inform the viewer of something. More...
 
Task Information (DateTime Timestamp, string Comment)
 Called to inform the viewer of something. More...
 
Task Warning (string Warning)
 Called to inform the viewer of a warning state. More...
 
Task Warning (DateTime Timestamp, string Warning)
 Called to inform the viewer of a warning state. More...
 
Task Warning (string Warning)
 Called to inform the viewer of a warning state. More...
 
Task Warning (DateTime Timestamp, string Warning)
 Called to inform the viewer of a warning state. More...
 
Task Error (string Error)
 Called to inform the viewer of an error state. More...
 
Task Error (DateTime Timestamp, string Error)
 Called to inform the viewer of an error state. More...
 
Task Error (string Error)
 Called to inform the viewer of an error state. More...
 
Task Error (DateTime Timestamp, string Error)
 Called to inform the viewer of an error state. More...
 
Task Exception (Exception Exception)
 Called to inform the viewer of an exception state. More...
 
Task Exception (string Exception)
 Called to inform the viewer of an exception state. More...
 
Task Exception (DateTime Timestamp, string Exception)
 Called to inform the viewer of an exception state. More...
 
Task Exception (DateTime Timestamp, Exception Exception)
 Called to inform the viewer of an exception state. More...
 
Task Exception (Exception Exception)
 Called to inform the viewer of an exception state. More...
 
Task Exception (string Exception)
 Called to inform the viewer of an exception state. More...
 
Task Exception (DateTime Timestamp, string Exception)
 Called to inform the viewer of an exception state. More...
 
Task Exception (DateTime Timestamp, Exception Exception)
 Called to inform the viewer of an exception state. More...
 

Static Public Attributes

const string NamespaceNeuroFeatures = "https://paiwise.tagroot.io/Schema/NeuroFeatures.xsd"
 Namespace for Neuro-Features. More...
 
const string NamespaceStateMachine = "https://paiwise.tagroot.io/Schema/StateMachines.xsd"
 Namespace for State-Machines. More...
 
const string DefinitionStateMachine = "StateMachine"
 Local name of state-machine definition More...
 

Protected Attributes

XmppClient client
 XMPP Client used by the extension. More...
 

Properties

ContractsClient ContractsClient [get]
 Reference to the Smart Contracts client. More...
 
string ComponentAddress [get]
 Address of eDaler component More...
 
override string[] Extensions [get]
 Implemented extensions. More...
 
XmppClient Client [get]
 XMPP Client. More...
 
bool ClientDisposed [get]
 If the client has been disposed. More...
 
bool DecoupledEvents [get]
 If events raised from the communication layer are decoupled, i.e. executed in parallel with the source that raised them. More...
 
ISniffer[] Sniffers [get]
 Registered sniffers. More...
 
bool HasSniffers [get]
 If there are sniffers registered on the object. More...
 

Events

EventHandlerAsync< TokenEventArgsTokenAdded
 Event raised when a token has been added to the account. More...
 
EventHandlerAsync< TokenEventArgsTokenRemoved
 Event raised when a token has been removed from the account. More...
 
EventHandlerAsync< NewStateEventArgsStateUpdated
 Event raised when the state of a state-machine has been updated. More...
 
EventHandlerAsync< VariablesUpdatedEventArgsVariablesUpdated
 Event raised when variables in a state-machine have been updated. More...
 

Detailed Description

eDaler XMPP client.

Definition at line 23 of file NeuroFeaturesClient.cs.

Constructor & Destructor Documentation

◆ NeuroFeaturesClient()

NeuroFeatures.NeuroFeaturesClient.NeuroFeaturesClient ( XmppClient  Client,
ContractsClient  ContractsClient,
string  ComponentAddress 
)

Neuro-Features XMPP client.

Parameters
ClientXMPP Client
ContractsClientContracts clients, for signing agreements.
ComponentAddressAddress of Neuro-Features component

Definition at line 51 of file NeuroFeaturesClient.cs.

Member Function Documentation

◆ Add() [1/2]

void Waher.Networking.XMPP.XmppExtension.Add ( ISniffer  Sniffer)
inherited

Adds a sniffer to the node.

Parameters
SnifferSniffer to add.

Implements Waher.Networking.ICommunicationLayer.

◆ Add() [2/2]

void Waher.Networking.XMPP.XmppExtension.Add ( ISniffer  Sniffer)
inherited

Adds a sniffer to the node.

Parameters
SnifferSniffer to add.

Implements Waher.Networking.ICommunicationLayer.

◆ AddRange() [1/3]

void Waher.Networking.XMPP.XmppExtension.AddRange ( IEnumerable< ISniffer Sniffers)
inherited

Adds a range of sniffers to the node.

Parameters
SniffersSniffers to add.

Implements Waher.Networking.ICommunicationLayer.

◆ AddRange() [2/3]

void Waher.Networking.XMPP.XmppExtension.AddRange ( IEnumerable< ISniffer Sniffers)
inherited

Adds a range of sniffers to the node.

Parameters
SniffersSniffers to add.

Implements Waher.Networking.ICommunicationLayer.

◆ AddRange() [3/3]

void Waher.Networking.ICommunicationLayer.AddRange ( IEnumerable< ISniffer Sniffers)
inherited

Adds a range of sniffers to the node.

Parameters
SniffersSniffers to add.

◆ AddTextNote() [1/2]

Task NeuroFeatures.NeuroFeaturesClient.AddTextNote ( string  TokenId,
string  Note,
bool  Personal,
EventHandlerAsync< IqResultEventArgs Callback,
object  State 
)

Adds a text note to a token. Notes attached to a token can be retrieved by calling GetEvents.

Parameters
TokenIdID of token.
NoteText note to add to the token.
PersonalIf the note is personal or not. Default=false. Personal notes are deleted when the token is transferred to another owner.
CallbackMethod to call when response is returned.
StateState object to pass on to the callback method.

Definition at line 930 of file NeuroFeaturesClient.cs.

◆ AddTextNote() [2/2]

Task NeuroFeatures.NeuroFeaturesClient.AddTextNote ( string  TokenId,
string  Note,
EventHandlerAsync< IqResultEventArgs Callback,
object  State 
)

Adds a text note to a token. Notes attached to a token can be retrieved by calling GetEvents.

Parameters
TokenIdID of token.
NoteText note to add to the token.
CallbackMethod to call when response is returned.
StateState object to pass on to the callback method.

Definition at line 916 of file NeuroFeaturesClient.cs.

◆ AddTextNoteAsync() [1/2]

Task NeuroFeatures.NeuroFeaturesClient.AddTextNoteAsync ( string  TokenId,
string  Note 
)

Adds a text note to a token. Notes attached to a token can be retrieved by calling GetEvents.

Parameters
TokenIdID of token.
NoteText note to add to the token.

Definition at line 953 of file NeuroFeaturesClient.cs.

◆ AddTextNoteAsync() [2/2]

async Task NeuroFeatures.NeuroFeaturesClient.AddTextNoteAsync ( string  TokenId,
string  Note,
bool  Personal 
)

Adds a text note to a token. Notes attached to a token can be retrieved by calling GetEvents.

Parameters
TokenIdID of token.
NoteText note to add to the token.
PersonalIf the note is personal or not. Default=false. Personal notes are deleted when the token is transferred to another owner.

Definition at line 965 of file NeuroFeaturesClient.cs.

◆ AddXmlNote() [1/2]

Task NeuroFeatures.NeuroFeaturesClient.AddXmlNote ( string  TokenId,
string  Note,
bool  Personal,
EventHandlerAsync< IqResultEventArgs Callback,
object  State 
)

Adds a xml note to a token. Notes attached to a token can be retrieved by calling GetEvents.

Parameters
TokenIdID of token.
NoteXML note to add to the token.
PersonalIf the note is personal or not. Default=false. Personal notes are deleted when the token is transferred to another owner.
CallbackMethod to call when response is returned.
StateState object to pass on to the callback method.

Definition at line 1007 of file NeuroFeaturesClient.cs.

◆ AddXmlNote() [2/2]

Task NeuroFeatures.NeuroFeaturesClient.AddXmlNote ( string  TokenId,
string  Note,
EventHandlerAsync< IqResultEventArgs Callback,
object  State 
)

Adds a xml note to a token. Notes attached to a token can be retrieved by calling GetEvents.

Parameters
TokenIdID of token.
NoteXML note to add to the token.
CallbackMethod to call when response is returned.
StateState object to pass on to the callback method.

Definition at line 993 of file NeuroFeaturesClient.cs.

◆ AddXmlNoteAsync() [1/2]

Task NeuroFeatures.NeuroFeaturesClient.AddXmlNoteAsync ( string  TokenId,
string  Note 
)

Adds a xml note to a token. Notes attached to a token can be retrieved by calling GetEvents.

Parameters
TokenIdID of token.
NoteXML note to add to the token.

Definition at line 1033 of file NeuroFeaturesClient.cs.

◆ AddXmlNoteAsync() [2/2]

async Task NeuroFeatures.NeuroFeaturesClient.AddXmlNoteAsync ( string  TokenId,
string  Note,
bool  Personal 
)

Adds a xml note to a token. Notes attached to a token can be retrieved by calling GetEvents.

Parameters
TokenIdID of token.
NoteXML note to add to the token.
PersonalIf the note is personal or not. Default=false. Personal notes are deleted when the token is transferred to another owner.

Definition at line 1045 of file NeuroFeaturesClient.cs.

◆ Dispose()

override void NeuroFeatures.NeuroFeaturesClient.Dispose ( )
virtual

IDisposable.Dispose

Reimplemented from Waher.Networking.XMPP.XmppExtension.

Definition at line 72 of file NeuroFeaturesClient.cs.

◆ Error() [1/4]

Task Waher.Networking.XMPP.XmppExtension.Error ( DateTime  Timestamp,
string  Error 
)
inherited

Called to inform the viewer of an error state.

Parameters
TimestampTimestamp of event.
ErrorError.

Implements Waher.Events.IObservableLayer.

◆ Error() [2/4]

Task Waher.Networking.XMPP.XmppExtension.Error ( DateTime  Timestamp,
string  Error 
)
inherited

Called to inform the viewer of an error state.

Parameters
TimestampTimestamp of event.
ErrorError.

Implements Waher.Events.IObservableLayer.

◆ Error() [3/4]

Task Waher.Networking.XMPP.XmppExtension.Error ( string  Error)
inherited

Called to inform the viewer of an error state.

Parameters
ErrorError.

Implements Waher.Events.IObservableLayer.

◆ Error() [4/4]

Task Waher.Networking.XMPP.XmppExtension.Error ( string  Error)
inherited

Called to inform the viewer of an error state.

Parameters
ErrorError.

Implements Waher.Events.IObservableLayer.

◆ Exception() [1/8]

Task Waher.Networking.XMPP.XmppExtension.Exception ( DateTime  Timestamp,
Exception  Exception 
)
inherited

Called to inform the viewer of an exception state.

Parameters
TimestampTimestamp of event.
ExceptionException.

Implements Waher.Events.IObservableLayer.

◆ Exception() [2/8]

Task Waher.Networking.XMPP.XmppExtension.Exception ( DateTime  Timestamp,
Exception  Exception 
)
inherited

Called to inform the viewer of an exception state.

Parameters
TimestampTimestamp of event.
ExceptionException.

Implements Waher.Events.IObservableLayer.

◆ Exception() [3/8]

Task Waher.Networking.XMPP.XmppExtension.Exception ( DateTime  Timestamp,
string  Exception 
)
inherited

Called to inform the viewer of an exception state.

Parameters
TimestampTimestamp of event.
ExceptionException.

Implements Waher.Events.IObservableLayer.

◆ Exception() [4/8]

Task Waher.Networking.XMPP.XmppExtension.Exception ( DateTime  Timestamp,
string  Exception 
)
inherited

Called to inform the viewer of an exception state.

Parameters
TimestampTimestamp of event.
ExceptionException.

Implements Waher.Events.IObservableLayer.

◆ Exception() [5/8]

Task Waher.Networking.XMPP.XmppExtension.Exception ( Exception  Exception)
inherited

Called to inform the viewer of an exception state.

Parameters
ExceptionException.

Implements Waher.Events.IObservableLayer.

◆ Exception() [6/8]

Task Waher.Networking.XMPP.XmppExtension.Exception ( Exception  Exception)
inherited

Called to inform the viewer of an exception state.

Parameters
ExceptionException.

Implements Waher.Events.IObservableLayer.

◆ Exception() [7/8]

Task Waher.Networking.XMPP.XmppExtension.Exception ( string  Exception)
inherited

Called to inform the viewer of an exception state.

Parameters
ExceptionException.

Implements Waher.Events.IObservableLayer.

◆ Exception() [8/8]

Task Waher.Networking.XMPP.XmppExtension.Exception ( string  Exception)
inherited

Called to inform the viewer of an exception state.

Parameters
ExceptionException.

Implements Waher.Events.IObservableLayer.

◆ GenerateDescription()

Task NeuroFeatures.NeuroFeaturesClient.GenerateDescription ( string  TokenId,
ReportFormat  Format,
EventHandlerAsync< ReportEventArgs Callback,
object  State 
)

Gets a description of a token.

Parameters
TokenIdToken ID
FormatDesired report format.
CallbackMethod to call when response is returned.
StateState object to pass on to callback method.

Definition at line 1220 of file NeuroFeaturesClient.cs.

◆ GenerateDescriptionAsync()

async Task< ReportEventArgs > NeuroFeatures.NeuroFeaturesClient.GenerateDescriptionAsync ( string  TokenId,
ReportFormat  Format 
)

Gets a description of a token.

Parameters
TokenIdToken ID
FormatDesired report format.

Definition at line 1266 of file NeuroFeaturesClient.cs.

◆ GenerateHistoryReport()

Task NeuroFeatures.NeuroFeaturesClient.GenerateHistoryReport ( string  TokenId,
ReportFormat  Format,
EventHandlerAsync< ReportEventArgs Callback,
object  State 
)

Gets a history report of a state-machine belonging to a token.

Parameters
TokenIdToken ID
FormatDesired report format.
CallbackMethod to call when response is returned.
StateState object to pass on to callback method.

Definition at line 1608 of file NeuroFeaturesClient.cs.

◆ GenerateHistoryReportAsync()

async Task< ReportEventArgs > NeuroFeatures.NeuroFeaturesClient.GenerateHistoryReportAsync ( string  TokenId,
ReportFormat  Format 
)

Generates a history report of a state-machine belonging to a token.

Parameters
TokenIdToken ID
FormatDesired report format.

Definition at line 1630 of file NeuroFeaturesClient.cs.

◆ GeneratePresentReport()

Task NeuroFeatures.NeuroFeaturesClient.GeneratePresentReport ( string  TokenId,
ReportFormat  Format,
EventHandlerAsync< ReportEventArgs Callback,
object  State 
)

Gets a present report of a state-machine belonging to a token.

Parameters
TokenIdToken ID
FormatDesired report format.
CallbackMethod to call when response is returned.
StateState object to pass on to callback method.

Definition at line 1558 of file NeuroFeaturesClient.cs.

◆ GeneratePresentReportAsync()

async Task< ReportEventArgs > NeuroFeatures.NeuroFeaturesClient.GeneratePresentReportAsync ( string  TokenId,
ReportFormat  Format 
)

Generates a present report of a state-machine belonging to a token.

Parameters
TokenIdToken ID
FormatDesired report format.

Definition at line 1580 of file NeuroFeaturesClient.cs.

◆ GenerateProfilingReport()

Task NeuroFeatures.NeuroFeaturesClient.GenerateProfilingReport ( string  TokenId,
ReportFormat  Format,
EventHandlerAsync< ReportEventArgs Callback,
object  State 
)

Gets a profiling report of a state-machine belonging to a token.

Parameters
TokenIdToken ID
FormatDesired report format.
CallbackMethod to call when response is returned.
StateState object to pass on to callback method.

Definition at line 1508 of file NeuroFeaturesClient.cs.

◆ GenerateProfilingReportAsync()

async Task< ReportEventArgs > NeuroFeatures.NeuroFeaturesClient.GenerateProfilingReportAsync ( string  TokenId,
ReportFormat  Format 
)

Generates a profiling report of a state-machine belonging to a token.

Parameters
TokenIdToken ID
FormatDesired report format.

Definition at line 1530 of file NeuroFeaturesClient.cs.

◆ GenerateStateDiagram()

Task NeuroFeatures.NeuroFeaturesClient.GenerateStateDiagram ( string  TokenId,
ReportFormat  Format,
EventHandlerAsync< ReportEventArgs Callback,
object  State 
)

Gets a state diagram of a state-machine belonging to a token.

Parameters
TokenIdToken ID
FormatDesired report format.
CallbackMethod to call when response is returned.
StateState object to pass on to callback method.

Definition at line 1658 of file NeuroFeaturesClient.cs.

◆ GenerateStateDiagramAsync()

async Task< ReportEventArgs > NeuroFeatures.NeuroFeaturesClient.GenerateStateDiagramAsync ( string  TokenId,
ReportFormat  Format 
)

Generates a state diagram of a state-machine belonging to a token.

Parameters
TokenIdToken ID
FormatDesired report format.

Definition at line 1680 of file NeuroFeaturesClient.cs.

◆ GetContractTokenReferences() [1/4]

Task NeuroFeatures.NeuroFeaturesClient.GetContractTokenReferences ( string  Address,
string  ContractId,
EventHandlerAsync< IdReferencesEventArgs Callback,
object  State 
)

Get references to tokens created by a contract the account has access to.

Parameters
AddressAddress of server (component).
ContractIdContract ID
CallbackMethod to call when response is returned.
StateState object to pass on to the callback method.

Definition at line 510 of file NeuroFeaturesClient.cs.

◆ GetContractTokenReferences() [2/4]

Task NeuroFeatures.NeuroFeaturesClient.GetContractTokenReferences ( string  Address,
string  ContractId,
int  Offset,
int  MaxCount,
EventHandlerAsync< IdReferencesEventArgs Callback,
object  State 
)

Get references to tokens created by a contract the account has access to.

Parameters
AddressAddress of server (component).
ContractIdContract ID
OffsetResult will start with the response at this offset into result set.
MaxCountResult will be limited to this number of items.
CallbackMethod to call when response is returned.
StateState object to pass on to the callback method.

Definition at line 538 of file NeuroFeaturesClient.cs.

◆ GetContractTokenReferences() [3/4]

Task NeuroFeatures.NeuroFeaturesClient.GetContractTokenReferences ( string  ContractId,
EventHandlerAsync< IdReferencesEventArgs Callback,
object  State 
)

Get references to tokens created by a contract the account has access to.

Parameters
ContractIdContract ID
CallbackMethod to call when response is returned.
StateState object to pass on to the callback method.

Definition at line 497 of file NeuroFeaturesClient.cs.

◆ GetContractTokenReferences() [4/4]

Task NeuroFeatures.NeuroFeaturesClient.GetContractTokenReferences ( string  ContractId,
int  Offset,
int  MaxCount,
EventHandlerAsync< IdReferencesEventArgs Callback,
object  State 
)

Get references to tokens created by a contract the account has access to.

Parameters
ContractIdContract ID
OffsetResult will start with the response at this offset into result set.
MaxCountResult will be limited to this number of items.
CallbackMethod to call when response is returned.
StateState object to pass on to the callback method.

Definition at line 523 of file NeuroFeaturesClient.cs.

◆ GetContractTokenReferencesAsync() [1/4]

Task< string[]> NeuroFeatures.NeuroFeaturesClient.GetContractTokenReferencesAsync ( string  Address,
string  ContractId 
)

Get references to tokens created by a contract the account has access to.

Parameters
AddressAddress of server (component).
ContractIdContract ID
Returns
Token IDs

Definition at line 587 of file NeuroFeaturesClient.cs.

◆ GetContractTokenReferencesAsync() [2/4]

async Task< string[]> NeuroFeatures.NeuroFeaturesClient.GetContractTokenReferencesAsync ( string  Address,
string  ContractId,
int  Offset,
int  MaxCount 
)

Get references to tokens created by a contract the account has access to.

Parameters
AddressAddress of server (component).
ContractIdContract ID
OffsetResult will start with the response at this offset into result set.
MaxCountResult will be limited to this number of items.
Returns
Token IDs

Definition at line 613 of file NeuroFeaturesClient.cs.

◆ GetContractTokenReferencesAsync() [3/4]

Task< string[]> NeuroFeatures.NeuroFeaturesClient.GetContractTokenReferencesAsync ( string  ContractId)

Get references to tokens created by a contract the account has access to.

Parameters
ContractIdContract ID
Returns
Token IDs

Definition at line 575 of file NeuroFeaturesClient.cs.

◆ GetContractTokenReferencesAsync() [4/4]

Task< string[]> NeuroFeatures.NeuroFeaturesClient.GetContractTokenReferencesAsync ( string  ContractId,
int  Offset,
int  MaxCount 
)

Get references to tokens created by a contract the account has access to.

Parameters
ContractIdContract ID
OffsetResult will start with the response at this offset into result set.
MaxCountResult will be limited to this number of items.
Returns
Token IDs

Definition at line 599 of file NeuroFeaturesClient.cs.

◆ GetContractTokens() [1/4]

Task NeuroFeatures.NeuroFeaturesClient.GetContractTokens ( string  Address,
string  ContractId,
EventHandlerAsync< TokensEventArgs Callback,
object  State 
)

Get tokens created by a contract the account has access to.

Parameters
AddressAddress of server (component).
ContractIdContract ID
CallbackMethod to call when response is returned.
StateState object to pass on to the callback method.

Definition at line 654 of file NeuroFeaturesClient.cs.

◆ GetContractTokens() [2/4]

Task NeuroFeatures.NeuroFeaturesClient.GetContractTokens ( string  Address,
string  ContractId,
int  Offset,
int  MaxCount,
EventHandlerAsync< TokensEventArgs Callback,
object  State 
)

Get tokens created by a contract the account has access to.

Parameters
AddressAddress of server (component).
ContractIdContract ID
OffsetResult will start with the response at this offset into result set.
MaxCountResult will be limited to this number of items.
CallbackMethod to call when response is returned.
StateState object to pass on to the callback method.

Definition at line 682 of file NeuroFeaturesClient.cs.

◆ GetContractTokens() [3/4]

Task NeuroFeatures.NeuroFeaturesClient.GetContractTokens ( string  ContractId,
EventHandlerAsync< TokensEventArgs Callback,
object  State 
)

Get tokens created by a contract the account has access to.

Parameters
ContractIdContract ID
CallbackMethod to call when response is returned.
StateState object to pass on to the callback method.

Definition at line 641 of file NeuroFeaturesClient.cs.

◆ GetContractTokens() [4/4]

Task NeuroFeatures.NeuroFeaturesClient.GetContractTokens ( string  ContractId,
int  Offset,
int  MaxCount,
EventHandlerAsync< TokensEventArgs Callback,
object  State 
)

Get tokens created by a contract the account has access to.

Parameters
ContractIdContract ID
OffsetResult will start with the response at this offset into result set.
MaxCountResult will be limited to this number of items.
CallbackMethod to call when response is returned.
StateState object to pass on to the callback method.

Definition at line 667 of file NeuroFeaturesClient.cs.

◆ GetContractTokensAsync() [1/4]

Task< TokensEventArgs > NeuroFeatures.NeuroFeaturesClient.GetContractTokensAsync ( string  Address,
string  ContractId 
)

Get tokens created by a contract the account has access to.

Parameters
AddressAddress of server (component).
ContractIdContract ID
Returns
Response with results.

Definition at line 731 of file NeuroFeaturesClient.cs.

◆ GetContractTokensAsync() [2/4]

async Task< TokensEventArgs > NeuroFeatures.NeuroFeaturesClient.GetContractTokensAsync ( string  Address,
string  ContractId,
int  Offset,
int  MaxCount 
)

Get tokens created by a contract the account has access to.

Parameters
AddressAddress of server (component).
ContractIdContract ID
OffsetResult will start with the response at this offset into result set.
MaxCountResult will be limited to this number of items.
Returns
Response with results.

Definition at line 757 of file NeuroFeaturesClient.cs.

◆ GetContractTokensAsync() [3/4]

Task< TokensEventArgs > NeuroFeatures.NeuroFeaturesClient.GetContractTokensAsync ( string  ContractId)

Get tokens created by a contract the account has access to.

Parameters
ContractIdContract ID
Returns
Response with results.

Definition at line 719 of file NeuroFeaturesClient.cs.

◆ GetContractTokensAsync() [4/4]

Task< TokensEventArgs > NeuroFeatures.NeuroFeaturesClient.GetContractTokensAsync ( string  ContractId,
int  Offset,
int  MaxCount 
)

Get tokens created by a contract the account has access to.

Parameters
ContractIdContract ID
OffsetResult will start with the response at this offset into result set.
MaxCountResult will be limited to this number of items.
Returns
Response with results.

Definition at line 743 of file NeuroFeaturesClient.cs.

◆ GetCreationAttributes()

Task NeuroFeatures.NeuroFeaturesClient.GetCreationAttributes ( EventHandlerAsync< CreationAttributesEventArgs Callback,
object  State 
)

Gets attributes relevant for creating tokens on the broker.

Parameters
CallbackMethod to call when response is returned.
StateState object to pass on to the callback method.

Definition at line 1180 of file NeuroFeaturesClient.cs.

◆ GetCreationAttributesAsync()

async Task< CreationAttributesEventArgs > NeuroFeatures.NeuroFeaturesClient.GetCreationAttributesAsync ( )

Gets attributes relevant for creating tokens on the broker.

Returns
Creation attributes

Definition at line 1192 of file NeuroFeaturesClient.cs.

◆ GetCurrentState()

Task NeuroFeatures.NeuroFeaturesClient.GetCurrentState ( string  TokenId,
EventHandlerAsync< CurrentStateEventArgs Callback,
object  State 
)

Gets the current state of a state-machine belonging to a token.

Parameters
TokenIdToken ID
CallbackMethod to call when response is returned.
StateState object to pass on to callback method.

Definition at line 1297 of file NeuroFeaturesClient.cs.

◆ GetCurrentStateAsync()

async Task< CurrentStateEventArgs > NeuroFeatures.NeuroFeaturesClient.GetCurrentStateAsync ( string  TokenId)

Gets the current state of a state-machine belonging to a token.

Parameters
TokenIdToken ID

Definition at line 1480 of file NeuroFeaturesClient.cs.

◆ GetEvents() [1/2]

Task NeuroFeatures.NeuroFeaturesClient.GetEvents ( string  TokenId,
EventHandlerAsync< EventsEventArgs Callback,
object  State 
)

Get events registered for a token the account owns.

Parameters
TokenIdToken ID.
CallbackMethod to call when response is returned.
StateState object to pass on to the callback method.

Definition at line 1072 of file NeuroFeaturesClient.cs.

◆ GetEvents() [2/2]

Task NeuroFeatures.NeuroFeaturesClient.GetEvents ( string  TokenId,
int  Offset,
int  MaxCount,
EventHandlerAsync< EventsEventArgs Callback,
object  State 
)

Get events registered for a token the account owns.

Parameters
TokenIdToken ID.
OffsetResult will start with the response at this offset into result set.
MaxCountResult will be limited to this number of items.
CallbackMethod to call when response is returned.
StateState object to pass on to the callback method.

Definition at line 1085 of file NeuroFeaturesClient.cs.

◆ GetEventsAsync() [1/2]

Task< TokenEvent[]> NeuroFeatures.NeuroFeaturesClient.GetEventsAsync ( string  TokenId)

Get events registered for a token the account owns.

Parameters
TokenIdToken ID.

Definition at line 1143 of file NeuroFeaturesClient.cs.

◆ GetEventsAsync() [2/2]

async Task< TokenEvent[]> NeuroFeatures.NeuroFeaturesClient.GetEventsAsync ( string  TokenId,
int  Offset,
int  MaxCount 
)

Get events registered for a token the account owns.

Parameters
TokenIdToken ID.
OffsetResult will start with the response at this offset into result set.
MaxCountResult will be limited to this number of items.

Definition at line 1154 of file NeuroFeaturesClient.cs.

◆ GetToken()

Task NeuroFeatures.NeuroFeaturesClient.GetToken ( string  TokenId,
EventHandlerAsync< TokenResultEventArgs Callback,
object  State 
)

Gets a token, given its full ID.

Parameters
TokenIdFull Token ID
CallbackMethod to call when response is returned.
StateState object to pass on to callback method.

Definition at line 105 of file NeuroFeaturesClient.cs.

◆ GetTokenAsync()

async Task< Token > NeuroFeatures.NeuroFeaturesClient.GetTokenAsync ( string  TokenId)

Gets a token, given its full ID.

Parameters
TokenIdFull Token ID

Definition at line 153 of file NeuroFeaturesClient.cs.

◆ GetTokenReferences() [1/4]

Task NeuroFeatures.NeuroFeaturesClient.GetTokenReferences ( EventHandlerAsync< IdReferencesEventArgs Callback,
object  State 
)

Get references to tokens the account owns.

Parameters
CallbackMethod to call when response is returned.
StateState object to pass on to the callback method.

Definition at line 179 of file NeuroFeaturesClient.cs.

◆ GetTokenReferences() [2/4]

Task NeuroFeatures.NeuroFeaturesClient.GetTokenReferences ( int  Offset,
int  MaxCount,
EventHandlerAsync< IdReferencesEventArgs Callback,
object  State 
)

Get references to tokens the account owns.

Parameters
OffsetResult will start with the response at this offset into result set.
MaxCountResult will be limited to this number of items.
CallbackMethod to call when response is returned.
StateState object to pass on to the callback method.

Definition at line 202 of file NeuroFeaturesClient.cs.

◆ GetTokenReferences() [3/4]

Task NeuroFeatures.NeuroFeaturesClient.GetTokenReferences ( string  Address,
EventHandlerAsync< IdReferencesEventArgs Callback,
object  State 
)

Get references to tokens the account owns.

Parameters
AddressAddress of server (component).
CallbackMethod to call when response is returned.
StateState object to pass on to the callback method.

Definition at line 190 of file NeuroFeaturesClient.cs.

◆ GetTokenReferences() [4/4]

Task NeuroFeatures.NeuroFeaturesClient.GetTokenReferences ( string  Address,
int  Offset,
int  MaxCount,
EventHandlerAsync< IdReferencesEventArgs Callback,
object  State 
)

Get references to tokens the account owns.

Parameters
AddressAddress of server (component).
OffsetResult will start with the response at this offset into result set.
MaxCountResult will be limited to this number of items.
CallbackMethod to call when response is returned.
StateState object to pass on to the callback method.

Definition at line 215 of file NeuroFeaturesClient.cs.

◆ GetTokenReferencesAsync() [1/4]

Task< string[]> NeuroFeatures.NeuroFeaturesClient.GetTokenReferencesAsync ( )

Get references to tokens the account owns.

Returns
Token IDs

Definition at line 274 of file NeuroFeaturesClient.cs.

◆ GetTokenReferencesAsync() [2/4]

Task< string[]> NeuroFeatures.NeuroFeaturesClient.GetTokenReferencesAsync ( int  Offset,
int  MaxCount 
)

Get references to tokens the account owns.

Parameters
OffsetResult will start with the response at this offset into result set.
MaxCountResult will be limited to this number of items.
Returns
Token IDs

Definition at line 295 of file NeuroFeaturesClient.cs.

◆ GetTokenReferencesAsync() [3/4]

Task< string[]> NeuroFeatures.NeuroFeaturesClient.GetTokenReferencesAsync ( string  Address)

Get references to tokens the account owns.

Parameters
AddressAddress of server (component).
Returns
Token IDs

Definition at line 284 of file NeuroFeaturesClient.cs.

◆ GetTokenReferencesAsync() [4/4]

async Task< string[]> NeuroFeatures.NeuroFeaturesClient.GetTokenReferencesAsync ( string  Address,
int  Offset,
int  MaxCount 
)

Get references to tokens the account owns.

Parameters
AddressAddress of server (component).
OffsetResult will start with the response at this offset into result set.
MaxCountResult will be limited to this number of items.
Returns
Token IDs

Definition at line 307 of file NeuroFeaturesClient.cs.

◆ GetTokens() [1/4]

Task NeuroFeatures.NeuroFeaturesClient.GetTokens ( EventHandlerAsync< TokensEventArgs Callback,
object  State 
)

Get tokens the account owns.

Parameters
CallbackMethod to call when response is returned.
StateState object to pass on to the callback method.

Definition at line 334 of file NeuroFeaturesClient.cs.

◆ GetTokens() [2/4]

Task NeuroFeatures.NeuroFeaturesClient.GetTokens ( int  Offset,
int  MaxCount,
EventHandlerAsync< TokensEventArgs Callback,
object  State 
)

Get tokens the account owns.

Parameters
OffsetResult will start with the response at this offset into result set.
MaxCountResult will be limited to this number of items.
CallbackMethod to call when response is returned.
StateState object to pass on to the callback method.

Definition at line 357 of file NeuroFeaturesClient.cs.

◆ GetTokens() [3/4]

Task NeuroFeatures.NeuroFeaturesClient.GetTokens ( string  Address,
EventHandlerAsync< TokensEventArgs Callback,
object  State 
)

Get tokens the account owns.

Parameters
AddressAddress of server (component).
CallbackMethod to call when response is returned.
StateState object to pass on to the callback method.

Definition at line 345 of file NeuroFeaturesClient.cs.

◆ GetTokens() [4/4]

Task NeuroFeatures.NeuroFeaturesClient.GetTokens ( string  Address,
int  Offset,
int  MaxCount,
EventHandlerAsync< TokensEventArgs Callback,
object  State 
)

Get tokens the account owns.

Parameters
AddressAddress of server (component).
OffsetResult will start with the response at this offset into result set.
MaxCountResult will be limited to this number of items.
CallbackMethod to call when response is returned.
StateState object to pass on to the callback method.

Definition at line 370 of file NeuroFeaturesClient.cs.

◆ GetTokensAsync() [1/4]

Task< TokensEventArgs > NeuroFeatures.NeuroFeaturesClient.GetTokensAsync ( )

Get tokens the account owns.

Returns
Response with results.

Definition at line 440 of file NeuroFeaturesClient.cs.

◆ GetTokensAsync() [2/4]

Task< TokensEventArgs > NeuroFeatures.NeuroFeaturesClient.GetTokensAsync ( int  Offset,
int  MaxCount 
)

Get tokens the account owns.

Parameters
OffsetResult will start with the response at this offset into result set.
MaxCountResult will be limited to this number of items.
Returns
Response with results.

Definition at line 461 of file NeuroFeaturesClient.cs.

◆ GetTokensAsync() [3/4]

Task< TokensEventArgs > NeuroFeatures.NeuroFeaturesClient.GetTokensAsync ( string  Address)

Get tokens the account owns.

Parameters
AddressAddress of server (component).
Returns
Response with results.

Definition at line 450 of file NeuroFeaturesClient.cs.

◆ GetTokensAsync() [4/4]

async Task< TokensEventArgs > NeuroFeatures.NeuroFeaturesClient.GetTokensAsync ( string  Address,
int  Offset,
int  MaxCount 
)

Get tokens the account owns.

Parameters
AddressAddress of server (component).
OffsetResult will start with the response at this offset into result set.
MaxCountResult will be limited to this number of items.
Returns
Response with results.

Definition at line 473 of file NeuroFeaturesClient.cs.

◆ GetTotals() [1/2]

Task NeuroFeatures.NeuroFeaturesClient.GetTotals ( EventHandlerAsync< TokenTotalsEventArgs Callback,
object  State 
)

Get totals of tokens the sender owns.

Parameters
CallbackMethod to call when response is returned.
StateState object to pass on to the callback method.

Definition at line 826 of file NeuroFeaturesClient.cs.

◆ GetTotals() [2/2]

Task NeuroFeatures.NeuroFeaturesClient.GetTotals ( string  Address,
EventHandlerAsync< TokenTotalsEventArgs Callback,
object  State 
)

Get totals of tokens the sender owns.

Parameters
AddressAddress of server (component).
CallbackMethod to call when response is returned.
StateState object to pass on to the callback method.

Definition at line 837 of file NeuroFeaturesClient.cs.

◆ GetTotalsAsync() [1/2]

Task< TokenTotalsEventArgs > NeuroFeatures.NeuroFeaturesClient.GetTotalsAsync ( )

Get totals of tokens the sender owns.

Returns
Response with results.

Definition at line 881 of file NeuroFeaturesClient.cs.

◆ GetTotalsAsync() [2/2]

async Task< TokenTotalsEventArgs > NeuroFeatures.NeuroFeaturesClient.GetTotalsAsync ( string  Address)

Get totals of tokens the sender owns.

Parameters
AddressAddress of server (component).
Returns
Response with results.

Definition at line 891 of file NeuroFeaturesClient.cs.

◆ Information() [1/4]

Task Waher.Networking.XMPP.XmppExtension.Information ( DateTime  Timestamp,
string  Comment 
)
inherited

Called to inform the viewer of something.

Parameters
TimestampTimestamp of event.
CommentComment.

Implements Waher.Events.IObservableLayer.

◆ Information() [2/4]

Task Waher.Networking.XMPP.XmppExtension.Information ( DateTime  Timestamp,
string  Comment 
)
inherited

Called to inform the viewer of something.

Parameters
TimestampTimestamp of event.
CommentComment.

Implements Waher.Events.IObservableLayer.

◆ Information() [3/4]

Task Waher.Networking.XMPP.XmppExtension.Information ( string  Comment)
inherited

Called to inform the viewer of something.

Parameters
CommentComment.

Implements Waher.Events.IObservableLayer.

◆ Information() [4/4]

Task Waher.Networking.XMPP.XmppExtension.Information ( string  Comment)
inherited

Called to inform the viewer of something.

Parameters
CommentComment.

Implements Waher.Events.IObservableLayer.

◆ ReceiveBinary() [1/4]

Task Waher.Networking.XMPP.XmppExtension.ReceiveBinary ( byte[]  Data)
inherited

Called when binary data has been received.

Parameters
DataBinary Data.

Implements Waher.Networking.ICommunicationLayer.

◆ ReceiveBinary() [2/4]

Task Waher.Networking.XMPP.XmppExtension.ReceiveBinary ( byte[]  Data)
inherited

Called when binary data has been received.

Parameters
DataBinary Data.

Implements Waher.Networking.ICommunicationLayer.

◆ ReceiveBinary() [3/4]

Task Waher.Networking.XMPP.XmppExtension.ReceiveBinary ( DateTime  Timestamp,
byte[]  Data 
)
inherited

Called when binary data has been received.

Parameters
TimestampTimestamp of event.
DataBinary Data.

Implements Waher.Networking.ICommunicationLayer.

◆ ReceiveBinary() [4/4]

Task Waher.Networking.XMPP.XmppExtension.ReceiveBinary ( DateTime  Timestamp,
byte[]  Data 
)
inherited

Called when binary data has been received.

Parameters
TimestampTimestamp of event.
DataBinary Data.

Implements Waher.Networking.ICommunicationLayer.

◆ ReceiveText() [1/4]

Task Waher.Networking.XMPP.XmppExtension.ReceiveText ( DateTime  Timestamp,
string  Text 
)
inherited

Called when text has been received.

Parameters
TimestampTimestamp of event.
TextText

Implements Waher.Networking.ICommunicationLayer.

◆ ReceiveText() [2/4]

Task Waher.Networking.XMPP.XmppExtension.ReceiveText ( DateTime  Timestamp,
string  Text 
)
inherited

Called when text has been received.

Parameters
TimestampTimestamp of event.
TextText

Implements Waher.Networking.ICommunicationLayer.

◆ ReceiveText() [3/4]

Task Waher.Networking.XMPP.XmppExtension.ReceiveText ( string  Text)
inherited

Called when text has been received.

Parameters
TextText

Implements Waher.Networking.ICommunicationLayer.

◆ ReceiveText() [4/4]

Task Waher.Networking.XMPP.XmppExtension.ReceiveText ( string  Text)
inherited

Called when text has been received.

Parameters
TextText

Implements Waher.Networking.ICommunicationLayer.

◆ Remove() [1/2]

bool Waher.Networking.XMPP.XmppExtension.Remove ( ISniffer  Sniffer)
inherited

Removes a sniffer, if registered.

Parameters
SnifferSniffer to remove.
Returns
If the sniffer was found and removed.

Implements Waher.Networking.ICommunicationLayer.

◆ Remove() [2/2]

bool Waher.Networking.XMPP.XmppExtension.Remove ( ISniffer  Sniffer)
inherited

Removes a sniffer, if registered.

Parameters
SnifferSniffer to remove.
Returns
If the sniffer was found and removed.

Implements Waher.Networking.ICommunicationLayer.

◆ TransmitBinary() [1/4]

Task Waher.Networking.XMPP.XmppExtension.TransmitBinary ( byte[]  Data)
inherited

Called when binary data has been transmitted.

Parameters
DataBinary Data.

Implements Waher.Networking.ICommunicationLayer.

◆ TransmitBinary() [2/4]

Task Waher.Networking.XMPP.XmppExtension.TransmitBinary ( byte[]  Data)
inherited

Called when binary data has been transmitted.

Parameters
DataBinary Data.

Implements Waher.Networking.ICommunicationLayer.

◆ TransmitBinary() [3/4]

Task Waher.Networking.XMPP.XmppExtension.TransmitBinary ( DateTime  Timestamp,
byte[]  Data 
)
inherited

Called when binary data has been transmitted.

Parameters
TimestampTimestamp of event.
DataBinary Data.

Implements Waher.Networking.ICommunicationLayer.

◆ TransmitBinary() [4/4]

Task Waher.Networking.XMPP.XmppExtension.TransmitBinary ( DateTime  Timestamp,
byte[]  Data 
)
inherited

Called when binary data has been transmitted.

Parameters
TimestampTimestamp of event.
DataBinary Data.

Implements Waher.Networking.ICommunicationLayer.

◆ TransmitText() [1/4]

Task Waher.Networking.XMPP.XmppExtension.TransmitText ( DateTime  Timestamp,
string  Text 
)
inherited

Called when text has been transmitted.

Parameters
TimestampTimestamp of event.
TextText

Implements Waher.Networking.ICommunicationLayer.

◆ TransmitText() [2/4]

Task Waher.Networking.XMPP.XmppExtension.TransmitText ( DateTime  Timestamp,
string  Text 
)
inherited

Called when text has been transmitted.

Parameters
TimestampTimestamp of event.
TextText

Implements Waher.Networking.ICommunicationLayer.

◆ TransmitText() [3/4]

Task Waher.Networking.XMPP.XmppExtension.TransmitText ( string  Text)
inherited

Called when text has been transmitted.

Parameters
TextText

Implements Waher.Networking.ICommunicationLayer.

◆ TransmitText() [4/4]

Task Waher.Networking.XMPP.XmppExtension.TransmitText ( string  Text)
inherited

Called when text has been transmitted.

Parameters
TextText

Implements Waher.Networking.ICommunicationLayer.

◆ Warning() [1/4]

Task Waher.Networking.XMPP.XmppExtension.Warning ( DateTime  Timestamp,
string  Warning 
)
inherited

Called to inform the viewer of a warning state.

Parameters
TimestampTimestamp of event.
WarningWarning.

Implements Waher.Events.IObservableLayer.

◆ Warning() [2/4]

Task Waher.Networking.XMPP.XmppExtension.Warning ( DateTime  Timestamp,
string  Warning 
)
inherited

Called to inform the viewer of a warning state.

Parameters
TimestampTimestamp of event.
WarningWarning.

Implements Waher.Events.IObservableLayer.

◆ Warning() [3/4]

Task Waher.Networking.XMPP.XmppExtension.Warning ( string  Warning)
inherited

Called to inform the viewer of a warning state.

Parameters
WarningWarning.

Implements Waher.Events.IObservableLayer.

◆ Warning() [4/4]

Task Waher.Networking.XMPP.XmppExtension.Warning ( string  Warning)
inherited

Called to inform the viewer of a warning state.

Parameters
WarningWarning.

Implements Waher.Events.IObservableLayer.

Member Data Documentation

◆ client

XmppClient Waher.Networking.XMPP.XmppExtension.client
protectedinherited

XMPP Client used by the extension.

Definition at line 17 of file XmppExtension.cs.

◆ DefinitionStateMachine

const string NeuroFeatures.NeuroFeaturesClient.DefinitionStateMachine = "StateMachine"
static

Local name of state-machine definition

Definition at line 38 of file NeuroFeaturesClient.cs.

◆ NamespaceNeuroFeatures

const string NeuroFeatures.NeuroFeaturesClient.NamespaceNeuroFeatures = "https://paiwise.tagroot.io/Schema/NeuroFeatures.xsd"
static

Namespace for Neuro-Features.

Definition at line 28 of file NeuroFeaturesClient.cs.

◆ NamespaceStateMachine

const string NeuroFeatures.NeuroFeaturesClient.NamespaceStateMachine = "https://paiwise.tagroot.io/Schema/StateMachines.xsd"
static

Namespace for State-Machines.

Definition at line 33 of file NeuroFeaturesClient.cs.

Property Documentation

◆ Client

XmppClient Waher.Networking.XMPP.XmppExtension.Client
getinherited

XMPP Client.

Definition at line 49 of file XmppExtension.cs.

◆ ClientDisposed

bool Waher.Networking.XMPP.XmppExtension.ClientDisposed
getinherited

If the client has been disposed.

Definition at line 54 of file XmppExtension.cs.

◆ ComponentAddress

string NeuroFeatures.NeuroFeaturesClient.ComponentAddress
get

Address of eDaler component

Definition at line 86 of file NeuroFeaturesClient.cs.

◆ ContractsClient

ContractsClient NeuroFeatures.NeuroFeaturesClient.ContractsClient
get

Reference to the Smart Contracts client.

Definition at line 67 of file NeuroFeaturesClient.cs.

◆ DecoupledEvents

bool Waher.Networking.XMPP.XmppExtension.DecoupledEvents
getinherited

If events raised from the communication layer are decoupled, i.e. executed in parallel with the source that raised them.

Implements Waher.Events.IObservableLayer.

Definition at line 70 of file XmppExtension.cs.

◆ Extensions

override string [] NeuroFeatures.NeuroFeaturesClient.Extensions
get

Implemented extensions.

Implements Waher.Networking.XMPP.IXmppExtension.

Definition at line 91 of file NeuroFeaturesClient.cs.

◆ HasSniffers

bool Waher.Networking.XMPP.XmppExtension.HasSniffers
getinherited

If there are sniffers registered on the object.

Implements Waher.Networking.ICommunicationLayer.

Definition at line 109 of file XmppExtension.cs.

◆ Sniffers

ISniffer [] Waher.Networking.XMPP.XmppExtension.Sniffers
getinherited

Registered sniffers.

Implements Waher.Networking.ICommunicationLayer.

Definition at line 104 of file XmppExtension.cs.

Event Documentation

◆ StateUpdated

EventHandlerAsync<NewStateEventArgs> NeuroFeatures.NeuroFeaturesClient.StateUpdated

Event raised when the state of a state-machine has been updated.

Definition at line 1713 of file NeuroFeaturesClient.cs.

◆ TokenAdded

EventHandlerAsync<TokenEventArgs> NeuroFeatures.NeuroFeaturesClient.TokenAdded

Event raised when a token has been added to the account.

Definition at line 792 of file NeuroFeaturesClient.cs.

◆ TokenRemoved

EventHandlerAsync<TokenEventArgs> NeuroFeatures.NeuroFeaturesClient.TokenRemoved

Event raised when a token has been removed from the account.

Definition at line 815 of file NeuroFeaturesClient.cs.

◆ VariablesUpdated

EventHandlerAsync<VariablesUpdatedEventArgs> NeuroFeatures.NeuroFeaturesClient.VariablesUpdated

Event raised when variables in a state-machine have been updated.

Definition at line 1731 of file NeuroFeaturesClient.cs.


The documentation for this class was generated from the following file: