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.
 
void ReceiveBinary (int Count)
 Called when binary data has been received. More...
 
void ReceiveBinary (bool ConstantBuffer, byte[] Data)
 Called when binary data has been received. More...
 
void ReceiveBinary (bool ConstantBuffer, byte[] Data, int Offset, int Count)
 Called when binary data has been received. More...
 
void ReceiveBinary (DateTime Timestamp, int Count)
 Called when binary data has been received. More...
 
void ReceiveBinary (DateTime Timestamp, bool ConstantBuffer, byte[] Data)
 Called when binary data has been received. More...
 
void ReceiveBinary (DateTime Timestamp, bool ConstantBuffer, byte[] Data, int Offset, int Count)
 Called when binary data has been received. More...
 
void ReceiveBinary (int Count)
 Called when binary data has been received. More...
 
void ReceiveBinary (bool ConstantBuffer, byte[] Data)
 Called when binary data has been received. More...
 
void ReceiveBinary (bool ConstantBuffer, byte[] Data, int Offset, int Count)
 Called when binary data has been received. More...
 
void ReceiveBinary (DateTime Timestamp, int Count)
 Called when binary data has been received. More...
 
void ReceiveBinary (DateTime Timestamp, bool ConstantBuffer, byte[] Data)
 Called when binary data has been received. More...
 
void ReceiveBinary (DateTime Timestamp, bool ConstantBuffer, byte[] Data, int Offset, int Count)
 Called when binary data has been received. More...
 
void TransmitBinary (int Count)
 Called when binary data has been transmitted. More...
 
void TransmitBinary (bool ConstantBuffer, byte[] Data)
 Called when binary data has been transmitted. More...
 
void TransmitBinary (bool ConstantBuffer, byte[] Data, int Offset, int Count)
 Called when binary data has been transmitted. More...
 
void TransmitBinary (DateTime Timestamp, int Count)
 Called when binary data has been transmitted. More...
 
void TransmitBinary (DateTime Timestamp, bool ConstantBuffer, byte[] Data)
 Called when binary data has been transmitted. More...
 
void TransmitBinary (DateTime Timestamp, bool ConstantBuffer, byte[] Data, int Offset, int Count)
 Called when binary data has been transmitted. More...
 
void TransmitBinary (int Count)
 Called when binary data has been transmitted. More...
 
void TransmitBinary (bool ConstantBuffer, byte[] Data)
 Called when binary data has been transmitted. More...
 
void TransmitBinary (bool ConstantBuffer, byte[] Data, int Offset, int Count)
 Called when binary data has been transmitted. More...
 
void TransmitBinary (DateTime Timestamp, int Count)
 Called when binary data has been transmitted. More...
 
void TransmitBinary (DateTime Timestamp, bool ConstantBuffer, byte[] Data)
 Called when binary data has been transmitted. More...
 
void TransmitBinary (DateTime Timestamp, bool ConstantBuffer, byte[] Data, int Offset, int Count)
 Called when binary data has been transmitted. More...
 
void ReceiveText (string Text)
 Called when text has been received. More...
 
void ReceiveText (DateTime Timestamp, string Text)
 Called when text has been received. More...
 
void ReceiveText (string Text)
 Called when text has been received. More...
 
void ReceiveText (DateTime Timestamp, string Text)
 Called when text has been received. More...
 
void TransmitText (string Text)
 Called when text has been transmitted. More...
 
void TransmitText (DateTime Timestamp, string Text)
 Called when text has been transmitted. More...
 
void TransmitText (string Text)
 Called when text has been transmitted. More...
 
void TransmitText (DateTime Timestamp, string Text)
 Called when text has been transmitted. More...
 
void Information (string Comment)
 Called to inform the viewer of something. More...
 
void Information (DateTime Timestamp, string Comment)
 Called to inform the viewer of something. More...
 
void Information (string Comment)
 Called to inform the viewer of something. More...
 
void Information (DateTime Timestamp, string Comment)
 Called to inform the viewer of something. More...
 
void Warning (string Warning)
 Called to inform the viewer of a warning state. More...
 
void Warning (DateTime Timestamp, string Warning)
 Called to inform the viewer of a warning state. More...
 
void Warning (string Warning)
 Called to inform the viewer of a warning state. More...
 
void Warning (DateTime Timestamp, string Warning)
 Called to inform the viewer of a warning state. More...
 
void Error (string Error)
 Called to inform the viewer of an error state. More...
 
void Error (DateTime Timestamp, string Error)
 Called to inform the viewer of an error state. More...
 
void Error (string Error)
 Called to inform the viewer of an error state. More...
 
void Error (DateTime Timestamp, string Error)
 Called to inform the viewer of an error state. More...
 
void Exception (Exception Exception)
 Called to inform the viewer of an exception state. More...
 
void Exception (string Exception)
 Called to inform the viewer of an exception state. More...
 
void Exception (DateTime Timestamp, string Exception)
 Called to inform the viewer of an exception state. More...
 
void Exception (DateTime Timestamp, Exception Exception)
 Called to inform the viewer of an exception state. More...
 
void Exception (Exception Exception)
 Called to inform the viewer of an exception state. More...
 
void Exception (string Exception)
 Called to inform the viewer of an exception state. More...
 
void Exception (DateTime Timestamp, string Exception)
 Called to inform the viewer of an exception state. More...
 
void 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 Disposed [get]
 If extension 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 22 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 50 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 935 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 921 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 958 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 970 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 1012 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 998 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 1038 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 1050 of file NeuroFeaturesClient.cs.

◆ Dispose()

override void NeuroFeatures.NeuroFeaturesClient.Dispose ( )
virtual

IDisposable.Dispose

Reimplemented from Waher.Networking.XMPP.XmppExtension.

Definition at line 71 of file NeuroFeaturesClient.cs.

◆ Error() [1/4]

void 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]

void 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]

void 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]

void 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]

void 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]

void 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]

void 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]

void 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]

void 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]

void 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]

void 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]

void 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 1225 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 1271 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 1613 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 1635 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 1563 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 1585 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 1513 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 1535 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 1663 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 1685 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 511 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 539 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 498 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 524 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 588 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 614 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 576 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 600 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 655 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 683 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 642 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 668 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 732 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 758 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 720 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 744 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 1185 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 1197 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 1302 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 1485 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 1077 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 1090 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 1148 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 1159 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 104 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 152 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 178 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 201 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 189 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 214 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 273 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 294 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 283 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 306 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 441 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 462 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 451 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 474 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 831 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 842 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 886 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 896 of file NeuroFeaturesClient.cs.

◆ Information() [1/4]

void 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]

void 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]

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

Called to inform the viewer of something.

Parameters
CommentComment.

Implements Waher.Events.IObservableLayer.

◆ Information() [4/4]

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

Called to inform the viewer of something.

Parameters
CommentComment.

Implements Waher.Events.IObservableLayer.

◆ ReceiveBinary() [1/12]

void Waher.Networking.XMPP.XmppExtension.ReceiveBinary ( bool  ConstantBuffer,
byte[]  Data 
)
inherited

Called when binary data has been received.

Parameters
ConstantBufferIf the contents of the buffer remains constant (true), or if the contents in the buffer may change after the call (false).
DataBinary Data.

Implements Waher.Networking.ICommunicationLayer.

◆ ReceiveBinary() [2/12]

void Waher.Networking.XMPP.XmppExtension.ReceiveBinary ( bool  ConstantBuffer,
byte[]  Data 
)
inherited

Called when binary data has been received.

Parameters
ConstantBufferIf the contents of the buffer remains constant (true), or if the contents in the buffer may change after the call (false).
DataBinary Data.

Implements Waher.Networking.ICommunicationLayer.

◆ ReceiveBinary() [3/12]

void Waher.Networking.XMPP.XmppExtension.ReceiveBinary ( bool  ConstantBuffer,
byte[]  Data,
int  Offset,
int  Count 
)
inherited

Called when binary data has been received.

Parameters
ConstantBufferIf the contents of the buffer remains constant (true), or if the contents in the buffer may change after the call (false).
DataBinary Data.
OffsetOffset into buffer where received data begins.
CountNumber of bytes received.

Implements Waher.Networking.ICommunicationLayer.

◆ ReceiveBinary() [4/12]

void Waher.Networking.XMPP.XmppExtension.ReceiveBinary ( bool  ConstantBuffer,
byte[]  Data,
int  Offset,
int  Count 
)
inherited

Called when binary data has been received.

Parameters
ConstantBufferIf the contents of the buffer remains constant (true), or if the contents in the buffer may change after the call (false).
DataBinary Data.
OffsetOffset into buffer where received data begins.
CountNumber of bytes received.

Implements Waher.Networking.ICommunicationLayer.

◆ ReceiveBinary() [5/12]

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

Called when binary data has been received.

Parameters
TimestampTimestamp of event.
ConstantBufferIf the contents of the buffer remains constant (true), or if the contents in the buffer may change after the call (false).
DataBinary Data.

Implements Waher.Networking.ICommunicationLayer.

◆ ReceiveBinary() [6/12]

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

Called when binary data has been received.

Parameters
TimestampTimestamp of event.
ConstantBufferIf the contents of the buffer remains constant (true), or if the contents in the buffer may change after the call (false).
DataBinary Data.

Implements Waher.Networking.ICommunicationLayer.

◆ ReceiveBinary() [7/12]

void Waher.Networking.XMPP.XmppExtension.ReceiveBinary ( DateTime  Timestamp,
bool  ConstantBuffer,
byte[]  Data,
int  Offset,
int  Count 
)
inherited

Called when binary data has been received.

Parameters
TimestampTimestamp of event.
ConstantBufferIf the contents of the buffer remains constant (true), or if the contents in the buffer may change after the call (false).
DataBinary Data.
OffsetOffset into buffer where received data begins.
CountNumber of bytes received.

Implements Waher.Networking.ICommunicationLayer.

◆ ReceiveBinary() [8/12]

void Waher.Networking.XMPP.XmppExtension.ReceiveBinary ( DateTime  Timestamp,
bool  ConstantBuffer,
byte[]  Data,
int  Offset,
int  Count 
)
inherited

Called when binary data has been received.

Parameters
TimestampTimestamp of event.
ConstantBufferIf the contents of the buffer remains constant (true), or if the contents in the buffer may change after the call (false).
DataBinary Data.
OffsetOffset into buffer where received data begins.
CountNumber of bytes received.

Implements Waher.Networking.ICommunicationLayer.

◆ ReceiveBinary() [9/12]

void Waher.Networking.XMPP.XmppExtension.ReceiveBinary ( DateTime  Timestamp,
int  Count 
)
inherited

Called when binary data has been received.

Parameters
TimestampTimestamp of event.
CountNumber of bytes received.

Implements Waher.Networking.ICommunicationLayer.

◆ ReceiveBinary() [10/12]

void Waher.Networking.XMPP.XmppExtension.ReceiveBinary ( DateTime  Timestamp,
int  Count 
)
inherited

Called when binary data has been received.

Parameters
TimestampTimestamp of event.
CountNumber of bytes received.

Implements Waher.Networking.ICommunicationLayer.

◆ ReceiveBinary() [11/12]

void Waher.Networking.XMPP.XmppExtension.ReceiveBinary ( int  Count)
inherited

Called when binary data has been received.

Parameters
CountNumber of bytes received.

Implements Waher.Networking.ICommunicationLayer.

◆ ReceiveBinary() [12/12]

void Waher.Networking.XMPP.XmppExtension.ReceiveBinary ( int  Count)
inherited

Called when binary data has been received.

Parameters
CountNumber of bytes received.

Implements Waher.Networking.ICommunicationLayer.

◆ ReceiveText() [1/4]

void 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]

void 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]

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

Called when text has been received.

Parameters
TextText

Implements Waher.Networking.ICommunicationLayer.

◆ ReceiveText() [4/4]

void 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/12]

void Waher.Networking.XMPP.XmppExtension.TransmitBinary ( bool  ConstantBuffer,
byte[]  Data 
)
inherited

Called when binary data has been transmitted.

Parameters
ConstantBufferIf the contents of the buffer remains constant (true), or if the contents in the buffer may change after the call (false).
DataBinary Data.

Implements Waher.Networking.ICommunicationLayer.

◆ TransmitBinary() [2/12]

void Waher.Networking.XMPP.XmppExtension.TransmitBinary ( bool  ConstantBuffer,
byte[]  Data 
)
inherited

Called when binary data has been transmitted.

Parameters
ConstantBufferIf the contents of the buffer remains constant (true), or if the contents in the buffer may change after the call (false).
DataBinary Data.

Implements Waher.Networking.ICommunicationLayer.

◆ TransmitBinary() [3/12]

void Waher.Networking.XMPP.XmppExtension.TransmitBinary ( bool  ConstantBuffer,
byte[]  Data,
int  Offset,
int  Count 
)
inherited

Called when binary data has been transmitted.

Parameters
ConstantBufferIf the contents of the buffer remains constant (true), or if the contents in the buffer may change after the call (false).
DataBinary Data.
OffsetOffset into buffer where transmitted data begins.
CountNumber of bytes transmitted.

Implements Waher.Networking.ICommunicationLayer.

◆ TransmitBinary() [4/12]

void Waher.Networking.XMPP.XmppExtension.TransmitBinary ( bool  ConstantBuffer,
byte[]  Data,
int  Offset,
int  Count 
)
inherited

Called when binary data has been transmitted.

Parameters
ConstantBufferIf the contents of the buffer remains constant (true), or if the contents in the buffer may change after the call (false).
DataBinary Data.
OffsetOffset into buffer where transmitted data begins.
CountNumber of bytes transmitted.

Implements Waher.Networking.ICommunicationLayer.

◆ TransmitBinary() [5/12]

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

Called when binary data has been transmitted.

Parameters
TimestampTimestamp of event.
ConstantBufferIf the contents of the buffer remains constant (true), or if the contents in the buffer may change after the call (false).
DataBinary Data.

Implements Waher.Networking.ICommunicationLayer.

◆ TransmitBinary() [6/12]

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

Called when binary data has been transmitted.

Parameters
TimestampTimestamp of event.
ConstantBufferIf the contents of the buffer remains constant (true), or if the contents in the buffer may change after the call (false).
DataBinary Data.

Implements Waher.Networking.ICommunicationLayer.

◆ TransmitBinary() [7/12]

void Waher.Networking.XMPP.XmppExtension.TransmitBinary ( DateTime  Timestamp,
bool  ConstantBuffer,
byte[]  Data,
int  Offset,
int  Count 
)
inherited

Called when binary data has been transmitted.

Parameters
TimestampTimestamp of event.
ConstantBufferIf the contents of the buffer remains constant (true), or if the contents in the buffer may change after the call (false).
DataBinary Data.
OffsetOffset into buffer where transmitted data begins.
CountNumber of bytes transmitted.

Implements Waher.Networking.ICommunicationLayer.

◆ TransmitBinary() [8/12]

void Waher.Networking.XMPP.XmppExtension.TransmitBinary ( DateTime  Timestamp,
bool  ConstantBuffer,
byte[]  Data,
int  Offset,
int  Count 
)
inherited

Called when binary data has been transmitted.

Parameters
TimestampTimestamp of event.
ConstantBufferIf the contents of the buffer remains constant (true), or if the contents in the buffer may change after the call (false).
DataBinary Data.
OffsetOffset into buffer where transmitted data begins.
CountNumber of bytes transmitted.

Implements Waher.Networking.ICommunicationLayer.

◆ TransmitBinary() [9/12]

void Waher.Networking.XMPP.XmppExtension.TransmitBinary ( DateTime  Timestamp,
int  Count 
)
inherited

Called when binary data has been transmitted.

Parameters
TimestampTimestamp of event.
CountNumber of bytes transmitted.

Implements Waher.Networking.ICommunicationLayer.

◆ TransmitBinary() [10/12]

void Waher.Networking.XMPP.XmppExtension.TransmitBinary ( DateTime  Timestamp,
int  Count 
)
inherited

Called when binary data has been transmitted.

Parameters
TimestampTimestamp of event.
CountNumber of bytes transmitted.

Implements Waher.Networking.ICommunicationLayer.

◆ TransmitBinary() [11/12]

void Waher.Networking.XMPP.XmppExtension.TransmitBinary ( int  Count)
inherited

Called when binary data has been transmitted.

Parameters
CountNumber of bytes transmitted.

Implements Waher.Networking.ICommunicationLayer.

◆ TransmitBinary() [12/12]

void Waher.Networking.XMPP.XmppExtension.TransmitBinary ( int  Count)
inherited

Called when binary data has been transmitted.

Parameters
CountNumber of bytes transmitted.

Implements Waher.Networking.ICommunicationLayer.

◆ TransmitText() [1/4]

void 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]

void 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]

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

Called when text has been transmitted.

Parameters
TextText

Implements Waher.Networking.ICommunicationLayer.

◆ TransmitText() [4/4]

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

Called when text has been transmitted.

Parameters
TextText

Implements Waher.Networking.ICommunicationLayer.

◆ Warning() [1/4]

void 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]

void 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]

void 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]

void 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 16 of file XmppExtension.cs.

◆ DefinitionStateMachine

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

Local name of state-machine definition

Definition at line 37 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 27 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 32 of file NeuroFeaturesClient.cs.

Property Documentation

◆ Client

XmppClient Waher.Networking.XMPP.XmppExtension.Client
getinherited

XMPP Client.

Definition at line 41 of file XmppExtension.cs.

◆ ClientDisposed

bool Waher.Networking.XMPP.XmppExtension.ClientDisposed
getinherited

If the client has been disposed.

Definition at line 46 of file XmppExtension.cs.

◆ ComponentAddress

string NeuroFeatures.NeuroFeaturesClient.ComponentAddress
get

Address of eDaler component

Definition at line 85 of file NeuroFeaturesClient.cs.

◆ ContractsClient

ContractsClient NeuroFeatures.NeuroFeaturesClient.ContractsClient
get

Reference to the Smart Contracts client.

Definition at line 66 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 71 of file XmppExtension.cs.

◆ Disposed

bool Waher.Networking.XMPP.XmppExtension.Disposed
getinherited

If extension has been disposed.

Definition at line 63 of file XmppExtension.cs.

◆ Extensions

override string [] NeuroFeatures.NeuroFeaturesClient.Extensions
get

Implemented extensions.

Implements Waher.Networking.XMPP.IXmppExtension.

Definition at line 90 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 110 of file XmppExtension.cs.

◆ Sniffers

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

Registered sniffers.

Implements Waher.Networking.ICommunicationLayer.

Definition at line 105 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 1718 of file NeuroFeaturesClient.cs.

◆ TokenAdded

EventHandlerAsync<TokenEventArgs> NeuroFeatures.NeuroFeaturesClient.TokenAdded

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

Definition at line 795 of file NeuroFeaturesClient.cs.

◆ TokenRemoved

EventHandlerAsync<TokenEventArgs> NeuroFeatures.NeuroFeaturesClient.TokenRemoved

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

Definition at line 820 of file NeuroFeaturesClient.cs.

◆ VariablesUpdated

EventHandlerAsync<VariablesUpdatedEventArgs> NeuroFeatures.NeuroFeaturesClient.VariablesUpdated

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

Definition at line 1736 of file NeuroFeaturesClient.cs.


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