![]() |
Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
|
eDaler XMPP client. More...
Public Member Functions | |
| EDalerClient (XmppClient Client, ContractsClient ContractsClient, string ComponentAddress) | |
| eDaler XMPP client. More... | |
| override void | Dispose () |
| IDisposable.Dispose More... | |
| Task | GetBalance (EventHandlerAsync< BalanceIqResultEventArgs > Callback, object State) |
| Gets the current balance of the eDaler wallet associated with the account. More... | |
| Task | GetBalance (string ComponentAddress, EventHandlerAsync< BalanceIqResultEventArgs > Callback, object State) |
| Gets the current balance of the eDaler wallet associated with the account. More... | |
| Task< Balance > | GetBalanceAsync () |
| Gets the current balance of the eDaler wallet associated with the account. More... | |
| async Task< Balance > | GetBalanceAsync (string ComponentAddress) |
| Gets the current balance of the eDaler wallet associated with the account. More... | |
| Task | SendEDalerUri (string Uri, EventHandlerAsync< TransactionEventArgs > Callback, object State) |
| Sends an eDaler URI to the server More... | |
| Task | SendEDalerUri (string ComponentAddress, string Uri, EventHandlerAsync< TransactionEventArgs > Callback, object State) |
| Sends an eDaler URI to the server More... | |
| Task< Transaction > | SendEDalerUriAsync (string Uri) |
| Sends an eDaler URI to the server More... | |
| async Task< Transaction > | SendEDalerUriAsync (string ComponentAddress, string Uri) |
| Sends an eDaler URI to the server More... | |
| Task | GetAccountEvents (int MaxEvents, EventHandlerAsync< AccountEventsEventArgs > Callback, object State) |
| Gets account events associated with the wallet of the account. More... | |
| Task | GetAccountEvents (string ComponentAddress, int MaxEvents, EventHandlerAsync< AccountEventsEventArgs > Callback, object State) |
| Gets account events associated with the wallet of the account. More... | |
| Task | GetAccountEvents (int MaxEvents, DateTime From, EventHandlerAsync< AccountEventsEventArgs > Callback, object State) |
| Gets account events associated with the wallet of the account. More... | |
| Task | GetAccountEvents (string ComponentAddress, int MaxEvents, DateTime From, EventHandlerAsync< AccountEventsEventArgs > Callback, object State) |
| Gets account events associated with the wallet of the account. More... | |
| Task<(AccountEvent[], bool)> | GetAccountEventsAsync (int MaxEvents) |
| Gets account events associated with the wallet of the account. More... | |
| Task<(AccountEvent[], bool)> | GetAccountEventsAsync (string ComponentAddress, int MaxEvents) |
| Gets account events associated with the wallet of the account. More... | |
| Task<(AccountEvent[], bool)> | GetAccountEventsAsync (int MaxEvents, DateTime From) |
| Gets account events associated with the wallet of the account. More... | |
| async Task<(AccountEvent[], bool)> | GetAccountEventsAsync (string ComponentAddress, int MaxEvents, DateTime From) |
| Gets account events associated with the wallet of the account. More... | |
| Task< string > | CreateFullPaymentUri (decimal Amount, decimal? AmountExtra, CaseInsensitiveString Currency, int ValidNrDays) |
| Creates a full payment URI to anyone who is the first in claiming the URI. More... | |
| Task< string > | CreateFullPaymentUri (string ToBareJid, decimal Amount, decimal? AmountExtra, CaseInsensitiveString Currency, int ValidNrDays) |
| Creates a full payment URI. More... | |
| async Task< string > | CreateFullPaymentUri (string ToBareJid, decimal Amount, decimal? AmountExtra, CaseInsensitiveString Currency, int ValidNrDays, string Message) |
| Creates a full payment URI. More... | |
| Task< string > | CreateFullPaymentUri (LegalIdentity ToLegalId, decimal Amount, decimal? AmountExtra, CaseInsensitiveString Currency, int ValidNrDays) |
| Creates a full payment URI. More... | |
| async Task< string > | CreateFullPaymentUri (LegalIdentity ToLegalId, decimal Amount, decimal? AmountExtra, CaseInsensitiveString Currency, int ValidNrDays, string PrivateMessage) |
| Creates a full payment URI. More... | |
| string | CreateIncompletePayMeUri (string BareJid, decimal? Amount, decimal? AmountExtra, string Currency, string Message) |
| Generates an incomplete eDaler PayMe URI. More... | |
| string | CreateIncompletePayMeUri (LegalIdentity Id, decimal? Amount, decimal? AmountExtra, string Currency, string PrivateMessage) |
| Generates an incomplete eDaler PayMe URI. More... | |
| async Task< string > | DecryptMessage (byte[] EncryptedMessage, byte[] PublicKey, Guid TransactionId) |
| Decrypts a message that was aimed at the client using the current keys. More... | |
| async Task< string > | DecryptMessage (byte[] EncryptedMessage, byte[] PublicKey, Guid TransactionId, string RemoteEndpoint) |
| Decrypts a message that was aimed at the client using the current keys. More... | |
| async Task<(decimal, string, PendingPayment[])> | GetPendingPayments () |
| Gets the amount of payments pending to be processed. More... | |
| Task | GetServiceProvidersForBuyingEDaler (EventHandlerAsync< BuyEDalerServiceProvidersEventArgs > Callback, object State) |
| Gets available service providers who can help the user buy eDaler. More... | |
| Task | GetServiceProvidersForBuyingEDaler (string ComponentAddress, EventHandlerAsync< BuyEDalerServiceProvidersEventArgs > Callback, object State) |
| Gets available service providers who can help the user buy eDaler. More... | |
| Task< IBuyEDalerServiceProvider[]> | GetServiceProvidersForBuyingEDalerAsync () |
| Gets available service providers who can help the user buy eDaler. More... | |
| async Task< IBuyEDalerServiceProvider[]> | GetServiceProvidersForBuyingEDalerAsync (string ComponentAddress) |
| Gets available service providers who can help the user buy eDaler. More... | |
| Task | GetServiceProvidersForSellingEDaler (EventHandlerAsync< SellEDalerServiceProvidersEventArgs > Callback, object State) |
| Gets available service providers who can help the user sell eDaler. More... | |
| Task | GetServiceProvidersForSellingEDaler (string ComponentAddress, EventHandlerAsync< SellEDalerServiceProvidersEventArgs > Callback, object State) |
| Gets available service providers who can help the user sell eDaler. More... | |
| Task< ISellEDalerServiceProvider[]> | GetServiceProvidersForSellingEDalerAsync () |
| Gets available service providers who can help the user sell eDaler. More... | |
| async Task< ISellEDalerServiceProvider[]> | GetServiceProvidersForSellingEDalerAsync (string ComponentAddress) |
| Gets available service providers who can help the user sell eDaler. More... | |
| Task | InitiateGetOptionsBuyEDaler (string ServiceId, string ServiceProvider, EventHandlerAsync< TransactionIdEventArgs > Callback, object State) |
| Initiates a process for getting payment options for buying eDaler. More... | |
| Task | InitiateGetOptionsBuyEDaler (string ComponentAddress, string ServiceId, string ServiceProvider, EventHandlerAsync< TransactionIdEventArgs > Callback, object State) |
| Initiates a process for getting payment options for buying eDaler. More... | |
| Task | InitiateGetOptionsBuyEDaler (string ServiceId, string ServiceProvider, string TransactionId, string SuccessUrl, string FailureUrl, string CancelUrl, EventHandlerAsync< TransactionIdEventArgs > Callback, object State) |
| Initiates a process for getting payment options for buying eDaler. More... | |
| Task | InitiateGetOptionsBuyEDaler (string ComponentAddress, string ServiceId, string ServiceProvider, string TransactionId, string SuccessUrl, string FailureUrl, string CancelUrl, EventHandlerAsync< TransactionIdEventArgs > Callback, object State) |
| Initiates a process for getting payment options for buying eDaler. More... | |
| Task< string > | InitiateGetOptionsBuyEDalerAsync (string ServiceId, string ServiceProvider) |
| Initiates a process for getting payment options for buying eDaler. More... | |
| Task< string > | InitiateGetOptionsBuyEDalerAsync (string ServiceId, string ServiceProvider, string TransactionId, string SuccessUrl, string FailureUrl, string CancelUrl) |
| Initiates a process for getting payment options for buying eDaler. More... | |
| async Task< string > | InitiateGetOptionsBuyEDalerAsync (string ComponentAddress, string ServiceId, string ServiceProvider, string TransactionId, string SuccessUrl, string FailureUrl, string CancelUrl) |
| Initiates a process for getting payment options for buying eDaler. More... | |
| Task | InitiateGetOptionsSellEDaler (string ServiceId, string ServiceProvider, EventHandlerAsync< TransactionIdEventArgs > Callback, object State) |
| Initiates a process for getting payment options for selling eDaler. More... | |
| Task | InitiateGetOptionsSellEDaler (string ComponentAddress, string ServiceId, string ServiceProvider, EventHandlerAsync< TransactionIdEventArgs > Callback, object State) |
| Initiates a process for getting payment options for selling eDaler. More... | |
| Task | InitiateGetOptionsSellEDaler (string ServiceId, string ServiceProvider, string TransactionId, string SuccessUrl, string FailureUrl, string CancelUrl, EventHandlerAsync< TransactionIdEventArgs > Callback, object State) |
| Initiates a process for getting payment options for selling eDaler. More... | |
| Task | InitiateGetOptionsSellEDaler (string ComponentAddress, string ServiceId, string ServiceProvider, string TransactionId, string SuccessUrl, string FailureUrl, string CancelUrl, EventHandlerAsync< TransactionIdEventArgs > Callback, object State) |
| Initiates a process for getting payment options for selling eDaler. More... | |
| Task< string > | InitiateGetOptionsSellEDalerAsync (string ServiceId, string ServiceProvider) |
| Initiates a process for getting payment options for selling eDaler. More... | |
| Task< string > | InitiateGetOptionsSellEDalerAsync (string ServiceId, string ServiceProvider, string TransactionId, string SuccessUrl, string FailureUrl, string CancelUrl) |
| Initiates a process for getting payment options for selling eDaler. More... | |
| async Task< string > | InitiateGetOptionsSellEDalerAsync (string ComponentAddress, string ServiceId, string ServiceProvider, string TransactionId, string SuccessUrl, string FailureUrl, string CancelUrl) |
| Initiates a process for getting payment options for selling eDaler. More... | |
| Task | InitiateBuyEDaler (string ServiceId, string ServiceProvider, decimal Amount, string Currency, EventHandlerAsync< TransactionIdEventArgs > Callback, object State) |
| Initiates a process for buying eDaler. More... | |
| Task | InitiateBuyEDaler (string ComponentAddress, string ServiceId, string ServiceProvider, decimal Amount, string Currency, EventHandlerAsync< TransactionIdEventArgs > Callback, object State) |
| Initiates a process for buying eDaler. More... | |
| Task | InitiateBuyEDaler (string ServiceId, string ServiceProvider, decimal Amount, string Currency, string TransactionId, string SuccessUrl, string FailureUrl, string CancelUrl, EventHandlerAsync< TransactionIdEventArgs > Callback, object State) |
| Initiates a process for buying eDaler. More... | |
| Task | InitiateBuyEDaler (string ComponentAddress, string ServiceId, string ServiceProvider, decimal Amount, string Currency, string TransactionId, string SuccessUrl, string FailureUrl, string CancelUrl, EventHandlerAsync< TransactionIdEventArgs > Callback, object State) |
| Initiates a process for buying eDaler. More... | |
| Task< string > | InitiateBuyEDalerAsync (string ServiceId, string ServiceProvider, decimal Amount, string Currency) |
| Initiates a process for buying eDaler. More... | |
| Task< string > | InitiateBuyEDalerAsync (string ComponentAddress, string ServiceId, string ServiceProvider, decimal Amount, string Currency) |
| Initiates a process for buying eDaler. More... | |
| Task< string > | InitiateBuyEDalerAsync (string ServiceId, string ServiceProvider, decimal Amount, string Currency, string TransactionId, string SuccessUrl, string FailureUrl, string CancelUrl) |
| Initiates a process for buying eDaler. More... | |
| async Task< string > | InitiateBuyEDalerAsync (string ComponentAddress, string ServiceId, string ServiceProvider, decimal Amount, string Currency, string TransactionId, string SuccessUrl, string FailureUrl, string CancelUrl) |
| Initiates a process for buying eDaler. More... | |
| Task | InitiateSellEDaler (string ServiceId, string ServiceProvider, decimal Amount, string Currency, EventHandlerAsync< TransactionIdEventArgs > Callback, object State) |
| Initiates a process for selling eDaler. More... | |
| Task | InitiateSellEDaler (string ComponentAddress, string ServiceId, string ServiceProvider, decimal Amount, string Currency, EventHandlerAsync< TransactionIdEventArgs > Callback, object State) |
| Initiates a process for selling eDaler. More... | |
| Task | InitiateSellEDaler (string ServiceId, string ServiceProvider, decimal Amount, string Currency, string TransactionId, string SuccessUrl, string FailureUrl, string CancelUrl, EventHandlerAsync< TransactionIdEventArgs > Callback, object State) |
| Initiates a process for selling eDaler. More... | |
| Task | InitiateSellEDaler (string ComponentAddress, string ServiceId, string ServiceProvider, decimal Amount, string Currency, string TransactionId, string SuccessUrl, string FailureUrl, string CancelUrl, EventHandlerAsync< TransactionIdEventArgs > Callback, object State) |
| Initiates a process for selling eDaler. More... | |
| Task< string > | InitiateSellEDalerAsync (string ServiceId, string ServiceProvider, decimal Amount, string Currency) |
| Initiates a process for selling eDaler. More... | |
| Task< string > | InitiateSellEDalerAsync (string ComponentAddress, string ServiceId, string ServiceProvider, decimal Amount, string Currency) |
| Initiates a process for selling eDaler. More... | |
| Task< string > | InitiateSellEDalerAsync (string ServiceId, string ServiceProvider, decimal Amount, string Currency, string TransactionId, string SuccessUrl, string FailureUrl, string CancelUrl) |
| Initiates a process for selling eDaler. More... | |
| async Task< string > | InitiateSellEDalerAsync (string ComponentAddress, string ServiceId, string ServiceProvider, decimal Amount, string Currency, string TransactionId, string SuccessUrl, string FailureUrl, string CancelUrl) |
| Initiates a process for selling eDaler. 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< ISniffer > | GetEnumerator () |
| Gets a typed enumerator. | |
| IEnumerator< ISniffer > | GetEnumerator () |
| 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 | NamespaceEDaler = "http://waher.se/Schema/eDaler.xsd" |
| Namespace of eDaler component. More... | |
Protected Attributes | |
| XmppClient | client |
| XMPP Client used by the extension. More... | |
Properties | |
| 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< BalanceEventArgs > | BalanceUpdated = null |
| Event raised when the client receives notification that the balance has been updated. More... | |
| EventHandlerAsync< BuyEDalerClientUrlEventArgs > | BuyEDalerOptionsClientUrlReceived |
| Event raised when a Client URL has been sent to the client as part of a process of getting payment options for buying eDaler started with a call to InitiateGetOptionsBuyEDalerAsync. Such an URL must be opened by the client to complete the procedure. More... | |
| EventHandlerAsync< PaymentOptionsEventArgs > | BuyEDalerOptionsCompleted |
| Event raised when a process of getting payment options for buying eDaler, initiated using a call to InitiateGetOptionsBuyEDalerAsync, has been completed. More... | |
| EventHandlerAsync< PaymentErrorEventArgs > | BuyEDalerOptionsError |
| Event raised when a process of getting payment options for buying eDaler, initiated using a call to InitiateGetOptionsBuyEDalerAsync, fails. More... | |
| EventHandlerAsync< SellEDalerClientUrlEventArgs > | SellEDalerOptionsClientUrlReceived |
| Event raised when a Client URL has been sent to the client as part of a process of getting payment options for selling eDaler started with a call to InitiateGetOptionsSellEDalerAsync. Such an URL must be opened by the client to complete the procedure. More... | |
| EventHandlerAsync< PaymentOptionsEventArgs > | SellEDalerOptionsCompleted |
| Event raised when a process of getting payment options for selling eDaler, initiated using a call to InitiateGetOptionsSellEDalerAsync, has been completed. More... | |
| EventHandlerAsync< PaymentErrorEventArgs > | SellEDalerOptionsError |
| Event raised when a process of getting payment options for selling eDaler, initiated using a call to InitiateGetOptionsSellEDalerAsync, fails. More... | |
| EventHandlerAsync< BuyEDalerClientUrlEventArgs > | BuyEDalerClientUrlReceived |
| Event raised when a Client URL has been sent to the client as part of a process of buying eDaler started with a call to InitiateBuyEDalerAsync. Such an URL must be opened by the client to complete a payment procedure. More... | |
| EventHandlerAsync< PaymentCompletedEventArgs > | BuyEDalerCompleted |
| Event raised when a process of buying eDaler, initiated using a call to InitiateBuyEDalerAsync, has been completed. More... | |
| EventHandlerAsync< PaymentErrorEventArgs > | BuyEDalerError |
| Event raised when a process of buying eDaler, initiated using a call to InitiateBuyEDalerAsync, fails. More... | |
| EventHandlerAsync< SellEDalerClientUrlEventArgs > | SellEDalerClientUrlReceived |
| Event raised when a Client URL has been sent to the client as part of a process of selling eDaler started with a call to InitiateSellEDalerAsync. Such an URL must be opened by the client to complete a payment procedure. More... | |
| EventHandlerAsync< PaymentCompletedEventArgs > | SellEDalerCompleted |
| Event raised when a process of selling eDaler, initiated using a call to InitiateSellEDalerAsync, has been completed. More... | |
| EventHandlerAsync< PaymentErrorEventArgs > | SellEDalerError |
| Event raised when a process of selling eDaler, initiated using a call to InitiateSellEDalerAsync, fails. More... | |
eDaler XMPP client.
Definition at line 23 of file EDalerClient.cs.
| EDaler.EDalerClient.EDalerClient | ( | XmppClient | Client, |
| ContractsClient | ContractsClient, | ||
| string | ComponentAddress | ||
| ) |
eDaler XMPP client.
| Client | XMPP Client |
| ContractsClient | Contracts clients, for signing agreements. |
| ComponentAddress | Address of eDaler component |
Definition at line 43 of file EDalerClient.cs.
|
inherited |
Adds a sniffer to the node.
| Sniffer | Sniffer to add. |
Implements Waher.Networking.ICommunicationLayer.
|
inherited |
Adds a sniffer to the node.
| Sniffer | Sniffer to add. |
Implements Waher.Networking.ICommunicationLayer.
|
inherited |
Adds a range of sniffers to the node.
| Sniffers | Sniffers to add. |
Implements Waher.Networking.ICommunicationLayer.
|
inherited |
Adds a range of sniffers to the node.
| Sniffers | Sniffers to add. |
Implements Waher.Networking.ICommunicationLayer.
|
inherited |
Adds a range of sniffers to the node.
| Sniffers | Sniffers to add. |
| Task< string > EDaler.EDalerClient.CreateFullPaymentUri | ( | decimal | Amount, |
| decimal? | AmountExtra, | ||
| CaseInsensitiveString | Currency, | ||
| int | ValidNrDays | ||
| ) |
Creates a full payment URI to anyone who is the first in claiming the URI.
| Amount | Amount to transfer |
| AmountExtra | Any extra amount to transfer. |
| Currency | Currency of transfer |
| ValidNrDays | For how many days, the URI should be valid. |
Definition at line 613 of file EDalerClient.cs.
| Task< string > EDaler.EDalerClient.CreateFullPaymentUri | ( | LegalIdentity | ToLegalId, |
| decimal | Amount, | ||
| decimal? | AmountExtra, | ||
| CaseInsensitiveString | Currency, | ||
| int | ValidNrDays | ||
| ) |
Creates a full payment URI.
| ToLegalId | To whom the payment is to be done. |
| Amount | Amount to transfer |
| AmountExtra | Any extra amount to transfer. |
| Currency | Currency of transfer |
| ValidNrDays | For how many days, the URI should be valid. |
Definition at line 806 of file EDalerClient.cs.
| async Task< string > EDaler.EDalerClient.CreateFullPaymentUri | ( | LegalIdentity | ToLegalId, |
| decimal | Amount, | ||
| decimal? | AmountExtra, | ||
| CaseInsensitiveString | Currency, | ||
| int | ValidNrDays, | ||
| string | PrivateMessage | ||
| ) |
Creates a full payment URI.
| ToLegalId | To whom the payment is to be done. |
| Amount | Amount to transfer |
| AmountExtra | Any extra amount to transfer. |
| Currency | Currency of transfer |
| ValidNrDays | For how many days, the URI should be valid. |
| PrivateMessage | Private message. Will be encrypted, and can only be read by the client having the private keys of ToLegalId . |
Definition at line 823 of file EDalerClient.cs.
| Task< string > EDaler.EDalerClient.CreateFullPaymentUri | ( | string | ToBareJid, |
| decimal | Amount, | ||
| decimal? | AmountExtra, | ||
| CaseInsensitiveString | Currency, | ||
| int | ValidNrDays | ||
| ) |
Creates a full payment URI.
| ToBareJid | To whom the payment is to be done. |
| Amount | Amount to transfer |
| AmountExtra | Any extra amount to transfer. |
| Currency | Currency of transfer |
| ValidNrDays | For how many days, the URI should be valid. |
Definition at line 628 of file EDalerClient.cs.
| async Task< string > EDaler.EDalerClient.CreateFullPaymentUri | ( | string | ToBareJid, |
| decimal | Amount, | ||
| decimal? | AmountExtra, | ||
| CaseInsensitiveString | Currency, | ||
| int | ValidNrDays, | ||
| string | Message | ||
| ) |
Creates a full payment URI.
| ToBareJid | To whom the payment is to be done. |
| Amount | Amount to transfer |
| AmountExtra | Any extra amount to transfer. |
| Currency | Currency of transfer |
| ValidNrDays | For how many days, the URI should be valid. |
| Message | Message to send to recipient. Message will not be encrypted. |
Definition at line 644 of file EDalerClient.cs.
| string EDaler.EDalerClient.CreateIncompletePayMeUri | ( | LegalIdentity | Id, |
| decimal? | Amount, | ||
| decimal? | AmountExtra, | ||
| string | Currency, | ||
| string | PrivateMessage | ||
| ) |
Generates an incomplete eDaler PayMe URI.
| Id | Payment should be made to this legal identity. |
| Amount | Amount requested. |
| AmountExtra | Any extra amount to transfer. |
| Currency | Currency requested. |
| PrivateMessage | Private Message (encrypted) to include in payment. Note that the message IS NOT encrypted in the URI, as knowledge about who will send the payment is not available. |
Definition at line 915 of file EDalerClient.cs.
| string EDaler.EDalerClient.CreateIncompletePayMeUri | ( | string | BareJid, |
| decimal? | Amount, | ||
| decimal? | AmountExtra, | ||
| string | Currency, | ||
| string | Message | ||
| ) |
Generates an incomplete eDaler PayMe URI.
| BareJid | Payment should be made to this account. |
| Amount | Amount requested. |
| AmountExtra | Any extra amount to transfer. |
| Currency | Currency requested. |
| Message | Message (not encrypted) to include in payment. |
Definition at line 899 of file EDalerClient.cs.
| async Task< string > EDaler.EDalerClient.DecryptMessage | ( | byte[] | EncryptedMessage, |
| byte[] | PublicKey, | ||
| Guid | TransactionId | ||
| ) |
Decrypts a message that was aimed at the client using the current keys.
| EncryptedMessage | Encrypted message. |
| PublicKey | Public key used by the sender. |
| TransactionId | ID of transaction where encrypted message was found. |
Definition at line 962 of file EDalerClient.cs.
| async Task< string > EDaler.EDalerClient.DecryptMessage | ( | byte[] | EncryptedMessage, |
| byte[] | PublicKey, | ||
| Guid | TransactionId, | ||
| string | RemoteEndpoint | ||
| ) |
Decrypts a message that was aimed at the client using the current keys.
| EncryptedMessage | Encrypted message. |
| PublicKey | Public key used by the sender. |
| TransactionId | ID of transaction where encrypted message was found. |
| RemoteEndpoint | Remote endpoint |
Definition at line 995 of file EDalerClient.cs.
|
virtual |
IDisposable.Dispose
Reimplemented from Waher.Networking.XMPP.XmppExtension.
Definition at line 67 of file EDalerClient.cs.
|
inherited |
Called to inform the viewer of an error state.
| Timestamp | Timestamp of event. |
| Error | Error. |
Implements Waher.Events.IObservableLayer.
|
inherited |
Called to inform the viewer of an error state.
| Timestamp | Timestamp of event. |
| Error | Error. |
Implements Waher.Events.IObservableLayer.
|
inherited |
Called to inform the viewer of an error state.
| Error | Error. |
Implements Waher.Events.IObservableLayer.
|
inherited |
Called to inform the viewer of an error state.
| Error | Error. |
Implements Waher.Events.IObservableLayer.
|
inherited |
Called to inform the viewer of an exception state.
| Timestamp | Timestamp of event. |
| Exception | Exception. |
Implements Waher.Events.IObservableLayer.
|
inherited |
Called to inform the viewer of an exception state.
| Timestamp | Timestamp of event. |
| Exception | Exception. |
Implements Waher.Events.IObservableLayer.
|
inherited |
Called to inform the viewer of an exception state.
| Timestamp | Timestamp of event. |
| Exception | Exception. |
Implements Waher.Events.IObservableLayer.
|
inherited |
Called to inform the viewer of an exception state.
| Timestamp | Timestamp of event. |
| Exception | Exception. |
Implements Waher.Events.IObservableLayer.
|
inherited |
Called to inform the viewer of an exception state.
| Exception | Exception. |
Implements Waher.Events.IObservableLayer.
|
inherited |
Called to inform the viewer of an exception state.
| Exception | Exception. |
Implements Waher.Events.IObservableLayer.
|
inherited |
Called to inform the viewer of an exception state.
| Exception | Exception. |
Implements Waher.Events.IObservableLayer.
|
inherited |
Called to inform the viewer of an exception state.
| Exception | Exception. |
Implements Waher.Events.IObservableLayer.
| Task EDaler.EDalerClient.GetAccountEvents | ( | int | MaxEvents, |
| DateTime | From, | ||
| EventHandlerAsync< AccountEventsEventArgs > | Callback, | ||
| object | State | ||
| ) |
Gets account events associated with the wallet of the account.
| MaxEvents | Maximum number of events to return. |
| From | From when events are to be returned (descending time order). |
| Callback | Method to call when response is returned. |
| State | State object to pass on to callback method. |
Definition at line 432 of file EDalerClient.cs.
| Task EDaler.EDalerClient.GetAccountEvents | ( | int | MaxEvents, |
| EventHandlerAsync< AccountEventsEventArgs > | Callback, | ||
| object | State | ||
| ) |
Gets account events associated with the wallet of the account.
| MaxEvents | Maximum number of events to return. |
| Callback | Method to call when response is returned. |
| State | State object to pass on to callback method. |
Definition at line 408 of file EDalerClient.cs.
| Task EDaler.EDalerClient.GetAccountEvents | ( | string | ComponentAddress, |
| int | MaxEvents, | ||
| DateTime | From, | ||
| EventHandlerAsync< AccountEventsEventArgs > | Callback, | ||
| object | State | ||
| ) |
Gets account events associated with the wallet of the account.
| ComponentAddress | eDaler component addres. |
| MaxEvents | Maximum number of events to return. |
| From | From when events are to be returned (descending time order). |
| Callback | Method to call when response is returned. |
| State | State object to pass on to callback method. |
Definition at line 445 of file EDalerClient.cs.
| Task EDaler.EDalerClient.GetAccountEvents | ( | string | ComponentAddress, |
| int | MaxEvents, | ||
| EventHandlerAsync< AccountEventsEventArgs > | Callback, | ||
| object | State | ||
| ) |
Gets account events associated with the wallet of the account.
| ComponentAddress | eDaler component addres. |
| MaxEvents | Maximum number of events to return. |
| Callback | Method to call when response is returned. |
| State | State object to pass on to callback method. |
Definition at line 420 of file EDalerClient.cs.
| Task<(AccountEvent[], bool)> EDaler.EDalerClient.GetAccountEventsAsync | ( | int | MaxEvents | ) |
Gets account events associated with the wallet of the account.
| MaxEvents | Maximum number of events to return. |
Definition at line 507 of file EDalerClient.cs.
| Task<(AccountEvent[], bool)> EDaler.EDalerClient.GetAccountEventsAsync | ( | int | MaxEvents, |
| DateTime | From | ||
| ) |
Gets account events associated with the wallet of the account.
| MaxEvents | Maximum number of events to return. |
| From | From when events are to be returned (descending time order). |
Definition at line 529 of file EDalerClient.cs.
| Task<(AccountEvent[], bool)> EDaler.EDalerClient.GetAccountEventsAsync | ( | string | ComponentAddress, |
| int | MaxEvents | ||
| ) |
Gets account events associated with the wallet of the account.
| ComponentAddress | eDaler component addres. |
| MaxEvents | Maximum number of events to return. |
Definition at line 518 of file EDalerClient.cs.
| async Task<(AccountEvent[], bool)> EDaler.EDalerClient.GetAccountEventsAsync | ( | string | ComponentAddress, |
| int | MaxEvents, | ||
| DateTime | From | ||
| ) |
Gets account events associated with the wallet of the account.
| ComponentAddress | eDaler component addres. |
| MaxEvents | Maximum number of events to return. |
| From | From when events are to be returned (descending time order). |
Definition at line 541 of file EDalerClient.cs.
| Task EDaler.EDalerClient.GetBalance | ( | EventHandlerAsync< BalanceIqResultEventArgs > | Callback, |
| object | State | ||
| ) |
Gets the current balance of the eDaler wallet associated with the account.
| Callback | Method to call when response is returned. |
| State | State object to pass on to callback method. |
Definition at line 103 of file EDalerClient.cs.
| Task EDaler.EDalerClient.GetBalance | ( | string | ComponentAddress, |
| EventHandlerAsync< BalanceIqResultEventArgs > | Callback, | ||
| object | State | ||
| ) |
Gets the current balance of the eDaler wallet associated with the account.
| ComponentAddress | eDaler component addres. |
| Callback | Method to call when response is returned. |
| State | State object to pass on to callback method. |
Definition at line 114 of file EDalerClient.cs.
| Task< Balance > EDaler.EDalerClient.GetBalanceAsync | ( | ) |
Gets the current balance of the eDaler wallet associated with the account.
Definition at line 209 of file EDalerClient.cs.
| async Task< Balance > EDaler.EDalerClient.GetBalanceAsync | ( | string | ComponentAddress | ) |
Gets the current balance of the eDaler wallet associated with the account.
| ComponentAddress | eDaler component addres. |
Definition at line 219 of file EDalerClient.cs.
| async Task<(decimal, string, PendingPayment[])> EDaler.EDalerClient.GetPendingPayments | ( | ) |
Gets the amount of payments pending to be processed.
Definition at line 1025 of file EDalerClient.cs.
| Task EDaler.EDalerClient.GetServiceProvidersForBuyingEDaler | ( | EventHandlerAsync< BuyEDalerServiceProvidersEventArgs > | Callback, |
| object | State | ||
| ) |
Gets available service providers who can help the user buy eDaler.
| Callback | Method to call when response is returned. |
| State | State object to pass on to callback method. |
Definition at line 1069 of file EDalerClient.cs.
| Task EDaler.EDalerClient.GetServiceProvidersForBuyingEDaler | ( | string | ComponentAddress, |
| EventHandlerAsync< BuyEDalerServiceProvidersEventArgs > | Callback, | ||
| object | State | ||
| ) |
Gets available service providers who can help the user buy eDaler.
| ComponentAddress | Address of component. |
| Callback | Method to call when response is returned. |
| State | State object to pass on to callback method. |
Definition at line 1080 of file EDalerClient.cs.
| Task< IBuyEDalerServiceProvider[]> EDaler.EDalerClient.GetServiceProvidersForBuyingEDalerAsync | ( | ) |
Gets available service providers who can help the user buy eDaler.
Definition at line 1194 of file EDalerClient.cs.
| async Task< IBuyEDalerServiceProvider[]> EDaler.EDalerClient.GetServiceProvidersForBuyingEDalerAsync | ( | string | ComponentAddress | ) |
Gets available service providers who can help the user buy eDaler.
| ComponentAddress | Address of component. |
Definition at line 1203 of file EDalerClient.cs.
| Task EDaler.EDalerClient.GetServiceProvidersForSellingEDaler | ( | EventHandlerAsync< SellEDalerServiceProvidersEventArgs > | Callback, |
| object | State | ||
| ) |
Gets available service providers who can help the user sell eDaler.
| Callback | Method to call when response is returned. |
| State | State object to pass on to callback method. |
Definition at line 1230 of file EDalerClient.cs.
| Task EDaler.EDalerClient.GetServiceProvidersForSellingEDaler | ( | string | ComponentAddress, |
| EventHandlerAsync< SellEDalerServiceProvidersEventArgs > | Callback, | ||
| object | State | ||
| ) |
Gets available service providers who can help the user sell eDaler.
| ComponentAddress | Address of component. |
| Callback | Method to call when response is returned. |
| State | State object to pass on to callback method. |
Definition at line 1241 of file EDalerClient.cs.
| Task< ISellEDalerServiceProvider[]> EDaler.EDalerClient.GetServiceProvidersForSellingEDalerAsync | ( | ) |
Gets available service providers who can help the user sell eDaler.
Definition at line 1286 of file EDalerClient.cs.
| async Task< ISellEDalerServiceProvider[]> EDaler.EDalerClient.GetServiceProvidersForSellingEDalerAsync | ( | string | ComponentAddress | ) |
Gets available service providers who can help the user sell eDaler.
| ComponentAddress | Address of component. |
Definition at line 1295 of file EDalerClient.cs.
|
inherited |
Called to inform the viewer of something.
| Timestamp | Timestamp of event. |
| Comment | Comment. |
Implements Waher.Events.IObservableLayer.
|
inherited |
Called to inform the viewer of something.
| Timestamp | Timestamp of event. |
| Comment | Comment. |
Implements Waher.Events.IObservableLayer.
|
inherited |
Called to inform the viewer of something.
| Comment | Comment. |
Implements Waher.Events.IObservableLayer.
|
inherited |
Called to inform the viewer of something.
| Comment | Comment. |
Implements Waher.Events.IObservableLayer.
| Task EDaler.EDalerClient.InitiateBuyEDaler | ( | string | ComponentAddress, |
| string | ServiceId, | ||
| string | ServiceProvider, | ||
| decimal | Amount, | ||
| string | Currency, | ||
| EventHandlerAsync< TransactionIdEventArgs > | Callback, | ||
| object | State | ||
| ) |
Initiates a process for buying eDaler.
| ComponentAddress | Component address. |
| ServiceId | Selected Service ID |
| ServiceProvider | Selected Service Provider |
| Amount | Amount to buy. |
| Currency | Currency of amount. |
| Callback | Method to call when response is returned. |
| State | State object to pass on to callback method. |
Definition at line 1970 of file EDalerClient.cs.
| Task EDaler.EDalerClient.InitiateBuyEDaler | ( | string | ComponentAddress, |
| string | ServiceId, | ||
| string | ServiceProvider, | ||
| decimal | Amount, | ||
| string | Currency, | ||
| string | TransactionId, | ||
| string | SuccessUrl, | ||
| string | FailureUrl, | ||
| string | CancelUrl, | ||
| EventHandlerAsync< TransactionIdEventArgs > | Callback, | ||
| object | State | ||
| ) |
Initiates a process for buying eDaler.
| ComponentAddress | Component address. |
| ServiceId | Selected Service ID |
| ServiceProvider | Selected Service Provider |
| Amount | Amount to buy. |
| Currency | Currency of amount. |
| TransactionId | Transaction ID. Needs to be generated by client and embedded in URLs. |
| SuccessUrl | Optional Success URL the service provider can open on the client from a client web page, if payment has succeeded. |
| FailureUrl | Optional Failure URL the service provider can open on the client from a client web page, if payment has succeeded. |
| CancelUrl | Optional Cancel URL the service provider can open on the client from a client web page, if payment has succeeded. |
| Callback | Method to call when response is returned. |
| State | State object to pass on to callback method. |
Definition at line 2009 of file EDalerClient.cs.
| Task EDaler.EDalerClient.InitiateBuyEDaler | ( | string | ServiceId, |
| string | ServiceProvider, | ||
| decimal | Amount, | ||
| string | Currency, | ||
| EventHandlerAsync< TransactionIdEventArgs > | Callback, | ||
| object | State | ||
| ) |
Initiates a process for buying eDaler.
| ServiceId | Selected Service ID |
| ServiceProvider | Selected Service Provider |
| Amount | Amount to buy. |
| Currency | Currency of amount. |
| Callback | Method to call when response is returned. |
| State | State object to pass on to callback method. |
Definition at line 1954 of file EDalerClient.cs.
| Task EDaler.EDalerClient.InitiateBuyEDaler | ( | string | ServiceId, |
| string | ServiceProvider, | ||
| decimal | Amount, | ||
| string | Currency, | ||
| string | TransactionId, | ||
| string | SuccessUrl, | ||
| string | FailureUrl, | ||
| string | CancelUrl, | ||
| EventHandlerAsync< TransactionIdEventArgs > | Callback, | ||
| object | State | ||
| ) |
Initiates a process for buying eDaler.
| ServiceId | Selected Service ID |
| ServiceProvider | Selected Service Provider |
| Amount | Amount to buy. |
| Currency | Currency of amount. |
| TransactionId | Transaction ID. Needs to be generated by client and embedded in URLs. |
| SuccessUrl | Optional Success URL the service provider can open on the client from a client web page, if payment has succeeded. |
| FailureUrl | Optional Failure URL the service provider can open on the client from a client web page, if payment has succeeded. |
| CancelUrl | Optional Cancel URL the service provider can open on the client from a client web page, if payment has succeeded. |
| Callback | Method to call when response is returned. |
| State | State object to pass on to callback method. |
Definition at line 1989 of file EDalerClient.cs.
| Task< string > EDaler.EDalerClient.InitiateBuyEDalerAsync | ( | string | ComponentAddress, |
| string | ServiceId, | ||
| string | ServiceProvider, | ||
| decimal | Amount, | ||
| string | Currency | ||
| ) |
Initiates a process for buying eDaler.
| ComponentAddress | Component address. |
| ServiceId | Selected Service ID |
| ServiceProvider | Selected Service Provider |
| Amount | Amount to buy. |
| Currency | Currency of amount. |
| Exception | Corresponding exception object will be thrown, if process could not be started. |
Definition at line 2106 of file EDalerClient.cs.
| async Task< string > EDaler.EDalerClient.InitiateBuyEDalerAsync | ( | string | ComponentAddress, |
| string | ServiceId, | ||
| string | ServiceProvider, | ||
| decimal | Amount, | ||
| string | Currency, | ||
| string | TransactionId, | ||
| string | SuccessUrl, | ||
| string | FailureUrl, | ||
| string | CancelUrl | ||
| ) |
Initiates a process for buying eDaler.
| ComponentAddress | Component address. |
| ServiceId | Selected Service ID |
| ServiceProvider | Selected Service Provider |
| Amount | Amount to buy. |
| Currency | Currency of amount. |
| TransactionId | Transaction ID. Needs to be generated by client and embedded in URLs. |
| SuccessUrl | Optional Success URL the service provider can open on the client from a client web page, if payment has succeeded. |
| FailureUrl | Optional Failure URL the service provider can open on the client from a client web page, if payment has succeeded. |
| CancelUrl | Optional Cancel URL the service provider can open on the client from a client web page, if payment has succeeded. |
| Exception | Corresponding exception object will be thrown, if process could not be started. |
Definition at line 2147 of file EDalerClient.cs.
| Task< string > EDaler.EDalerClient.InitiateBuyEDalerAsync | ( | string | ServiceId, |
| string | ServiceProvider, | ||
| decimal | Amount, | ||
| string | Currency | ||
| ) |
Initiates a process for buying eDaler.
| ServiceId | Selected Service ID |
| ServiceProvider | Selected Service Provider |
| Amount | Amount to buy. |
| Currency | Currency of amount. |
| Exception | Corresponding exception object will be thrown, if process could not be started. |
Definition at line 2090 of file EDalerClient.cs.
| Task< string > EDaler.EDalerClient.InitiateBuyEDalerAsync | ( | string | ServiceId, |
| string | ServiceProvider, | ||
| decimal | Amount, | ||
| string | Currency, | ||
| string | TransactionId, | ||
| string | SuccessUrl, | ||
| string | FailureUrl, | ||
| string | CancelUrl | ||
| ) |
Initiates a process for buying eDaler.
| ServiceId | Selected Service ID |
| ServiceProvider | Selected Service Provider |
| Amount | Amount to buy. |
| Currency | Currency of amount. |
| TransactionId | Transaction ID. Needs to be generated by client and embedded in URLs. |
| SuccessUrl | Optional Success URL the service provider can open on the client from a client web page, if payment has succeeded. |
| FailureUrl | Optional Failure URL the service provider can open on the client from a client web page, if payment has succeeded. |
| CancelUrl | Optional Cancel URL the service provider can open on the client from a client web page, if payment has succeeded. |
| Exception | Corresponding exception object will be thrown, if process could not be started. |
Definition at line 2126 of file EDalerClient.cs.
| Task EDaler.EDalerClient.InitiateGetOptionsBuyEDaler | ( | string | ComponentAddress, |
| string | ServiceId, | ||
| string | ServiceProvider, | ||
| EventHandlerAsync< TransactionIdEventArgs > | Callback, | ||
| object | State | ||
| ) |
Initiates a process for getting payment options for buying eDaler.
| ComponentAddress | Component address. |
| ServiceId | Selected Service ID |
| ServiceProvider | Selected Service Provider |
| Callback | Method to call when response is returned. |
| State | State object to pass on to callback method. |
Definition at line 1338 of file EDalerClient.cs.
| Task EDaler.EDalerClient.InitiateGetOptionsBuyEDaler | ( | string | ComponentAddress, |
| string | ServiceId, | ||
| string | ServiceProvider, | ||
| string | TransactionId, | ||
| string | SuccessUrl, | ||
| string | FailureUrl, | ||
| string | CancelUrl, | ||
| EventHandlerAsync< TransactionIdEventArgs > | Callback, | ||
| object | State | ||
| ) |
Initiates a process for getting payment options for buying eDaler.
| ComponentAddress | Component address. |
| ServiceId | Selected Service ID |
| ServiceProvider | Selected Service Provider |
| TransactionId | Transaction ID. Needs to be generated by client and embedded in URLs. |
| SuccessUrl | Optional Success URL the service provider can open on the client from a client web page, if payment has succeeded. |
| FailureUrl | Optional Failure URL the service provider can open on the client from a client web page, if payment has succeeded. |
| CancelUrl | Optional Cancel URL the service provider can open on the client from a client web page, if payment has succeeded. |
| Callback | Method to call when response is returned. |
| State | State object to pass on to callback method. |
Definition at line 1373 of file EDalerClient.cs.
| Task EDaler.EDalerClient.InitiateGetOptionsBuyEDaler | ( | string | ServiceId, |
| string | ServiceProvider, | ||
| EventHandlerAsync< TransactionIdEventArgs > | Callback, | ||
| object | State | ||
| ) |
Initiates a process for getting payment options for buying eDaler.
| ServiceId | Selected Service ID |
| ServiceProvider | Selected Service Provider |
| Callback | Method to call when response is returned. |
| State | State object to pass on to callback method. |
Definition at line 1324 of file EDalerClient.cs.
| Task EDaler.EDalerClient.InitiateGetOptionsBuyEDaler | ( | string | ServiceId, |
| string | ServiceProvider, | ||
| string | TransactionId, | ||
| string | SuccessUrl, | ||
| string | FailureUrl, | ||
| string | CancelUrl, | ||
| EventHandlerAsync< TransactionIdEventArgs > | Callback, | ||
| object | State | ||
| ) |
Initiates a process for getting payment options for buying eDaler.
| ServiceId | Selected Service ID |
| ServiceProvider | Selected Service Provider |
| TransactionId | Transaction ID. Needs to be generated by client and embedded in URLs. |
| SuccessUrl | Optional Success URL the service provider can open on the client from a client web page, if payment has succeeded. |
| FailureUrl | Optional Failure URL the service provider can open on the client from a client web page, if payment has succeeded. |
| CancelUrl | Optional Cancel URL the service provider can open on the client from a client web page, if payment has succeeded. |
| Callback | Method to call when response is returned. |
| State | State object to pass on to callback method. |
Definition at line 1355 of file EDalerClient.cs.
| async Task< string > EDaler.EDalerClient.InitiateGetOptionsBuyEDalerAsync | ( | string | ComponentAddress, |
| string | ServiceId, | ||
| string | ServiceProvider, | ||
| string | TransactionId, | ||
| string | SuccessUrl, | ||
| string | FailureUrl, | ||
| string | CancelUrl | ||
| ) |
Initiates a process for getting payment options for buying eDaler.
| ComponentAddress | Component address. |
| ServiceId | Selected Service ID |
| ServiceProvider | Selected Service Provider |
| TransactionId | Transaction ID. Needs to be generated by client and embedded in URLs. |
| SuccessUrl | Optional Success URL the service provider can open on the client from a client web page, if payment has succeeded. |
| FailureUrl | Optional Failure URL the service provider can open on the client from a client web page, if payment has succeeded. |
| CancelUrl | Optional Cancel URL the service provider can open on the client from a client web page, if payment has succeeded. |
| Exception | Corresponding exception object will be thrown, if process could not be started. |
Definition at line 1484 of file EDalerClient.cs.
| Task< string > EDaler.EDalerClient.InitiateGetOptionsBuyEDalerAsync | ( | string | ServiceId, |
| string | ServiceProvider | ||
| ) |
Initiates a process for getting payment options for buying eDaler.
| ServiceId | Selected Service ID |
| ServiceProvider | Selected Service Provider |
| Exception | Corresponding exception object will be thrown, if process could not be started. |
Definition at line 1448 of file EDalerClient.cs.
| Task< string > EDaler.EDalerClient.InitiateGetOptionsBuyEDalerAsync | ( | string | ServiceId, |
| string | ServiceProvider, | ||
| string | TransactionId, | ||
| string | SuccessUrl, | ||
| string | FailureUrl, | ||
| string | CancelUrl | ||
| ) |
Initiates a process for getting payment options for buying eDaler.
| ServiceId | Selected Service ID |
| ServiceProvider | Selected Service Provider |
| TransactionId | Transaction ID. Needs to be generated by client and embedded in URLs. |
| SuccessUrl | Optional Success URL the service provider can open on the client from a client web page, if payment has succeeded. |
| FailureUrl | Optional Failure URL the service provider can open on the client from a client web page, if payment has succeeded. |
| CancelUrl | Optional Cancel URL the service provider can open on the client from a client web page, if payment has succeeded. |
| Exception | Corresponding exception object will be thrown, if process could not be started. |
Definition at line 1465 of file EDalerClient.cs.
| Task EDaler.EDalerClient.InitiateGetOptionsSellEDaler | ( | string | ComponentAddress, |
| string | ServiceId, | ||
| string | ServiceProvider, | ||
| EventHandlerAsync< TransactionIdEventArgs > | Callback, | ||
| object | State | ||
| ) |
Initiates a process for getting payment options for selling eDaler.
| ComponentAddress | Component address. |
| ServiceId | Selected Service ID |
| ServiceProvider | Selected Service Provider |
| Callback | Method to call when response is returned. |
| State | State object to pass on to callback method. |
Definition at line 1710 of file EDalerClient.cs.
| Task EDaler.EDalerClient.InitiateGetOptionsSellEDaler | ( | string | ComponentAddress, |
| string | ServiceId, | ||
| string | ServiceProvider, | ||
| string | TransactionId, | ||
| string | SuccessUrl, | ||
| string | FailureUrl, | ||
| string | CancelUrl, | ||
| EventHandlerAsync< TransactionIdEventArgs > | Callback, | ||
| object | State | ||
| ) |
Initiates a process for getting payment options for selling eDaler.
| ComponentAddress | Component address. |
| ServiceId | Selected Service ID |
| ServiceProvider | Selected Service Provider |
| TransactionId | Transaction ID. Needs to be generated by client and embedded in URLs. |
| SuccessUrl | Optional Success URL the service provider can open on the client from a client web page, if payment has succeeded. |
| FailureUrl | Optional Failure URL the service provider can open on the client from a client web page, if payment has succeeded. |
| CancelUrl | Optional Cancel URL the service provider can open on the client from a client web page, if payment has succeeded. |
| Callback | Method to call when response is returned. |
| State | State object to pass on to callback method. |
Definition at line 1745 of file EDalerClient.cs.
| Task EDaler.EDalerClient.InitiateGetOptionsSellEDaler | ( | string | ServiceId, |
| string | ServiceProvider, | ||
| EventHandlerAsync< TransactionIdEventArgs > | Callback, | ||
| object | State | ||
| ) |
Initiates a process for getting payment options for selling eDaler.
| ServiceId | Selected Service ID |
| ServiceProvider | Selected Service Provider |
| Callback | Method to call when response is returned. |
| State | State object to pass on to callback method. |
Definition at line 1696 of file EDalerClient.cs.
| Task EDaler.EDalerClient.InitiateGetOptionsSellEDaler | ( | string | ServiceId, |
| string | ServiceProvider, | ||
| string | TransactionId, | ||
| string | SuccessUrl, | ||
| string | FailureUrl, | ||
| string | CancelUrl, | ||
| EventHandlerAsync< TransactionIdEventArgs > | Callback, | ||
| object | State | ||
| ) |
Initiates a process for getting payment options for selling eDaler.
| ServiceId | Selected Service ID |
| ServiceProvider | Selected Service Provider |
| TransactionId | Transaction ID. Needs to be generated by client and embedded in URLs. |
| SuccessUrl | Optional Success URL the service provider can open on the client from a client web page, if payment has succeeded. |
| FailureUrl | Optional Failure URL the service provider can open on the client from a client web page, if payment has succeeded. |
| CancelUrl | Optional Cancel URL the service provider can open on the client from a client web page, if payment has succeeded. |
| Callback | Method to call when response is returned. |
| State | State object to pass on to callback method. |
Definition at line 1727 of file EDalerClient.cs.
| async Task< string > EDaler.EDalerClient.InitiateGetOptionsSellEDalerAsync | ( | string | ComponentAddress, |
| string | ServiceId, | ||
| string | ServiceProvider, | ||
| string | TransactionId, | ||
| string | SuccessUrl, | ||
| string | FailureUrl, | ||
| string | CancelUrl | ||
| ) |
Initiates a process for getting payment options for selling eDaler.
| ComponentAddress | Component address. |
| ServiceId | Selected Service ID |
| ServiceProvider | Selected Service Provider |
| TransactionId | Transaction ID. Needs to be generated by client and embedded in URLs. |
| SuccessUrl | Optional Success URL the service provider can open on the client from a client web page, if payment has succeeded. |
| FailureUrl | Optional Failure URL the service provider can open on the client from a client web page, if payment has succeeded. |
| CancelUrl | Optional Cancel URL the service provider can open on the client from a client web page, if payment has succeeded. |
| Exception | Corresponding exception object will be thrown, if process could not be started. |
Definition at line 1856 of file EDalerClient.cs.
| Task< string > EDaler.EDalerClient.InitiateGetOptionsSellEDalerAsync | ( | string | ServiceId, |
| string | ServiceProvider | ||
| ) |
Initiates a process for getting payment options for selling eDaler.
| ServiceId | Selected Service ID |
| ServiceProvider | Selected Service Provider |
| Exception | Corresponding exception object will be thrown, if process could not be started. |
Definition at line 1820 of file EDalerClient.cs.
| Task< string > EDaler.EDalerClient.InitiateGetOptionsSellEDalerAsync | ( | string | ServiceId, |
| string | ServiceProvider, | ||
| string | TransactionId, | ||
| string | SuccessUrl, | ||
| string | FailureUrl, | ||
| string | CancelUrl | ||
| ) |
Initiates a process for getting payment options for selling eDaler.
| ServiceId | Selected Service ID |
| ServiceProvider | Selected Service Provider |
| TransactionId | Transaction ID. Needs to be generated by client and embedded in URLs. |
| SuccessUrl | Optional Success URL the service provider can open on the client from a client web page, if payment has succeeded. |
| FailureUrl | Optional Failure URL the service provider can open on the client from a client web page, if payment has succeeded. |
| CancelUrl | Optional Cancel URL the service provider can open on the client from a client web page, if payment has succeeded. |
| Exception | Corresponding exception object will be thrown, if process could not be started. |
Definition at line 1837 of file EDalerClient.cs.
| Task EDaler.EDalerClient.InitiateSellEDaler | ( | string | ComponentAddress, |
| string | ServiceId, | ||
| string | ServiceProvider, | ||
| decimal | Amount, | ||
| string | Currency, | ||
| EventHandlerAsync< TransactionIdEventArgs > | Callback, | ||
| object | State | ||
| ) |
Initiates a process for selling eDaler.
| ComponentAddress | Component address. |
| ServiceId | Selected Service ID |
| ServiceProvider | Selected Service Provider |
| Amount | Amount to sell. |
| Currency | Currency of amount. |
| Callback | Method to call when response is returned. |
| State | State object to pass on to callback method. |
Definition at line 2239 of file EDalerClient.cs.
| Task EDaler.EDalerClient.InitiateSellEDaler | ( | string | ComponentAddress, |
| string | ServiceId, | ||
| string | ServiceProvider, | ||
| decimal | Amount, | ||
| string | Currency, | ||
| string | TransactionId, | ||
| string | SuccessUrl, | ||
| string | FailureUrl, | ||
| string | CancelUrl, | ||
| EventHandlerAsync< TransactionIdEventArgs > | Callback, | ||
| object | State | ||
| ) |
Initiates a process for selling eDaler.
| ComponentAddress | Component address. |
| ServiceId | Selected Service ID |
| ServiceProvider | Selected Service Provider |
| Amount | Amount to sell. |
| Currency | Currency of amount. |
| TransactionId | Transaction ID. Needs to be generated by client and embedded in URLs. |
| SuccessUrl | Optional Success URL the service provider can open on the client from a client web page, if payment has succeeded. |
| FailureUrl | Optional Failure URL the service provider can open on the client from a client web page, if payment has succeeded. |
| CancelUrl | Optional Cancel URL the service provider can open on the client from a client web page, if payment has succeeded. |
| Callback | Method to call when response is returned. |
| State | State object to pass on to callback method. |
Definition at line 2279 of file EDalerClient.cs.
| Task EDaler.EDalerClient.InitiateSellEDaler | ( | string | ServiceId, |
| string | ServiceProvider, | ||
| decimal | Amount, | ||
| string | Currency, | ||
| EventHandlerAsync< TransactionIdEventArgs > | Callback, | ||
| object | State | ||
| ) |
Initiates a process for selling eDaler.
| ServiceId | Selected Service ID |
| ServiceProvider | Selected Service Provider |
| Amount | Amount to sell. |
| Currency | Currency of amount. |
| Callback | Method to call when response is returned. |
| State | State object to pass on to callback method. |
Definition at line 2223 of file EDalerClient.cs.
| Task EDaler.EDalerClient.InitiateSellEDaler | ( | string | ServiceId, |
| string | ServiceProvider, | ||
| decimal | Amount, | ||
| string | Currency, | ||
| string | TransactionId, | ||
| string | SuccessUrl, | ||
| string | FailureUrl, | ||
| string | CancelUrl, | ||
| EventHandlerAsync< TransactionIdEventArgs > | Callback, | ||
| object | State | ||
| ) |
Initiates a process for selling eDaler.
| ServiceId | Selected Service ID |
| ServiceProvider | Selected Service Provider |
| Amount | Amount to sell. |
| Currency | Currency of amount. |
| TransactionId | Transaction ID. Needs to be generated by client and embedded in URLs. |
| SuccessUrl | Optional Success URL the service provider can open on the client from a client web page, if payment has succeeded. |
| FailureUrl | Optional Failure URL the service provider can open on the client from a client web page, if payment has succeeded. |
| CancelUrl | Optional Cancel URL the service provider can open on the client from a client web page, if payment has succeeded. |
| Callback | Method to call when response is returned. |
| State | State object to pass on to callback method. |
Definition at line 2258 of file EDalerClient.cs.
| Task< string > EDaler.EDalerClient.InitiateSellEDalerAsync | ( | string | ComponentAddress, |
| string | ServiceId, | ||
| string | ServiceProvider, | ||
| decimal | Amount, | ||
| string | Currency | ||
| ) |
Initiates a process for selling eDaler.
| ComponentAddress | Component address. |
| ServiceId | Selected Service ID |
| ServiceProvider | Selected Service Provider |
| Amount | Amount to sell. |
| Currency | Currency of amount. |
| Exception | Corresponding exception object will be thrown, if process could not be started. |
Definition at line 2376 of file EDalerClient.cs.
| async Task< string > EDaler.EDalerClient.InitiateSellEDalerAsync | ( | string | ComponentAddress, |
| string | ServiceId, | ||
| string | ServiceProvider, | ||
| decimal | Amount, | ||
| string | Currency, | ||
| string | TransactionId, | ||
| string | SuccessUrl, | ||
| string | FailureUrl, | ||
| string | CancelUrl | ||
| ) |
Initiates a process for selling eDaler.
| ComponentAddress | Component address. |
| ServiceId | Selected Service ID |
| ServiceProvider | Selected Service Provider |
| Amount | Amount to sell. |
| Currency | Currency of amount. |
| TransactionId | Transaction ID. Needs to be generated by client and embedded in URLs. |
| SuccessUrl | Optional Success URL the service provider can open on the client from a client web page, if payment has succeeded. |
| FailureUrl | Optional Failure URL the service provider can open on the client from a client web page, if payment has succeeded. |
| CancelUrl | Optional Cancel URL the service provider can open on the client from a client web page, if payment has succeeded. |
| Exception | Corresponding exception object will be thrown, if process could not be started. |
Definition at line 2415 of file EDalerClient.cs.
| Task< string > EDaler.EDalerClient.InitiateSellEDalerAsync | ( | string | ServiceId, |
| string | ServiceProvider, | ||
| decimal | Amount, | ||
| string | Currency | ||
| ) |
Initiates a process for selling eDaler.
| ServiceId | Selected Service ID |
| ServiceProvider | Selected Service Provider |
| Amount | Amount to sell. |
| Currency | Currency of amount. |
| Exception | Corresponding exception object will be thrown, if process could not be started. |
Definition at line 2361 of file EDalerClient.cs.
| Task< string > EDaler.EDalerClient.InitiateSellEDalerAsync | ( | string | ServiceId, |
| string | ServiceProvider, | ||
| decimal | Amount, | ||
| string | Currency, | ||
| string | TransactionId, | ||
| string | SuccessUrl, | ||
| string | FailureUrl, | ||
| string | CancelUrl | ||
| ) |
Initiates a process for selling eDaler.
| ServiceId | Selected Service ID |
| ServiceProvider | Selected Service Provider |
| Amount | Amount to sell. |
| Currency | Currency of amount. |
| TransactionId | Transaction ID. Needs to be generated by client and embedded in URLs. |
| SuccessUrl | Optional Success URL the service provider can open on the client from a client web page, if payment has succeeded. |
| FailureUrl | Optional Failure URL the service provider can open on the client from a client web page, if payment has succeeded. |
| CancelUrl | Optional Cancel URL the service provider can open on the client from a client web page, if payment has succeeded. |
| Exception | Corresponding exception object will be thrown, if process could not be started. |
Definition at line 2395 of file EDalerClient.cs.
|
inherited |
Called when binary data has been received.
| Data | Binary Data. |
Implements Waher.Networking.ICommunicationLayer.
|
inherited |
Called when binary data has been received.
| Data | Binary Data. |
Implements Waher.Networking.ICommunicationLayer.
|
inherited |
Called when binary data has been received.
| Timestamp | Timestamp of event. |
| Data | Binary Data. |
Implements Waher.Networking.ICommunicationLayer.
|
inherited |
Called when binary data has been received.
| Timestamp | Timestamp of event. |
| Data | Binary Data. |
Implements Waher.Networking.ICommunicationLayer.
|
inherited |
Called when text has been received.
| Timestamp | Timestamp of event. |
| Text | Text |
Implements Waher.Networking.ICommunicationLayer.
|
inherited |
Called when text has been received.
| Timestamp | Timestamp of event. |
| Text | Text |
Implements Waher.Networking.ICommunicationLayer.
|
inherited |
Called when text has been received.
| Text | Text |
Implements Waher.Networking.ICommunicationLayer.
|
inherited |
Called when text has been received.
| Text | Text |
Implements Waher.Networking.ICommunicationLayer.
|
inherited |
Removes a sniffer, if registered.
| Sniffer | Sniffer to remove. |
Implements Waher.Networking.ICommunicationLayer.
|
inherited |
Removes a sniffer, if registered.
| Sniffer | Sniffer to remove. |
Implements Waher.Networking.ICommunicationLayer.
| Task EDaler.EDalerClient.SendEDalerUri | ( | string | ComponentAddress, |
| string | Uri, | ||
| EventHandlerAsync< TransactionEventArgs > | Callback, | ||
| object | State | ||
| ) |
Sends an eDaler URI to the server
| ComponentAddress | eDaler component addres. |
| Uri | URI |
| Callback | Method to call when response is returned. |
| State | State object to pass on to callback method. |
Definition at line 331 of file EDalerClient.cs.
| Task EDaler.EDalerClient.SendEDalerUri | ( | string | Uri, |
| EventHandlerAsync< TransactionEventArgs > | Callback, | ||
| object | State | ||
| ) |
Sends an eDaler URI to the server
| Uri | URI |
| Callback | Method to call when response is returned. |
| State | State object to pass on to callback method. |
Definition at line 319 of file EDalerClient.cs.
| async Task< Transaction > EDaler.EDalerClient.SendEDalerUriAsync | ( | string | ComponentAddress, |
| string | Uri | ||
| ) |
Sends an eDaler URI to the server
| ComponentAddress | eDaler component addres. |
| Uri | URI |
Definition at line 379 of file EDalerClient.cs.
| Task< Transaction > EDaler.EDalerClient.SendEDalerUriAsync | ( | string | Uri | ) |
|
inherited |
Called when binary data has been transmitted.
| Data | Binary Data. |
Implements Waher.Networking.ICommunicationLayer.
|
inherited |
Called when binary data has been transmitted.
| Data | Binary Data. |
Implements Waher.Networking.ICommunicationLayer.
|
inherited |
Called when binary data has been transmitted.
| Timestamp | Timestamp of event. |
| Data | Binary Data. |
Implements Waher.Networking.ICommunicationLayer.
|
inherited |
Called when binary data has been transmitted.
| Timestamp | Timestamp of event. |
| Data | Binary Data. |
Implements Waher.Networking.ICommunicationLayer.
|
inherited |
Called when text has been transmitted.
| Timestamp | Timestamp of event. |
| Text | Text |
Implements Waher.Networking.ICommunicationLayer.
|
inherited |
Called when text has been transmitted.
| Timestamp | Timestamp of event. |
| Text | Text |
Implements Waher.Networking.ICommunicationLayer.
|
inherited |
Called when text has been transmitted.
| Text | Text |
Implements Waher.Networking.ICommunicationLayer.
|
inherited |
Called when text has been transmitted.
| Text | Text |
Implements Waher.Networking.ICommunicationLayer.
|
inherited |
Called to inform the viewer of a warning state.
| Timestamp | Timestamp of event. |
| Warning | Warning. |
Implements Waher.Events.IObservableLayer.
|
inherited |
Called to inform the viewer of a warning state.
| Timestamp | Timestamp of event. |
| Warning | Warning. |
Implements Waher.Events.IObservableLayer.
|
inherited |
Called to inform the viewer of a warning state.
| Warning | Warning. |
Implements Waher.Events.IObservableLayer.
|
inherited |
Called to inform the viewer of a warning state.
| Warning | Warning. |
Implements Waher.Events.IObservableLayer.
|
protectedinherited |
XMPP Client used by the extension.
Definition at line 17 of file XmppExtension.cs.
|
static |
Namespace of eDaler component.
Definition at line 28 of file EDalerClient.cs.
|
getinherited |
XMPP Client.
Definition at line 49 of file XmppExtension.cs.
|
getinherited |
If the client has been disposed.
Definition at line 54 of file XmppExtension.cs.
|
get |
Address of eDaler component
Definition at line 89 of file EDalerClient.cs.
|
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.
|
get |
Implemented extensions.
Implements Waher.Networking.XMPP.IXmppExtension.
Definition at line 94 of file EDalerClient.cs.
|
getinherited |
If there are sniffers registered on the object.
Implements Waher.Networking.ICommunicationLayer.
Definition at line 109 of file XmppExtension.cs.
|
getinherited |
Registered sniffers.
Implements Waher.Networking.ICommunicationLayer.
Definition at line 104 of file XmppExtension.cs.
| EventHandlerAsync<BalanceEventArgs> EDaler.EDalerClient.BalanceUpdated = null |
Event raised when the client receives notification that the balance has been updated.
Definition at line 307 of file EDalerClient.cs.
| EventHandlerAsync<BuyEDalerClientUrlEventArgs> EDaler.EDalerClient.BuyEDalerClientUrlReceived |
Event raised when a Client URL has been sent to the client as part of a process of buying eDaler started with a call to InitiateBuyEDalerAsync. Such an URL must be opened by the client to complete a payment procedure.
Definition at line 2179 of file EDalerClient.cs.
| EventHandlerAsync<PaymentCompletedEventArgs> EDaler.EDalerClient.BuyEDalerCompleted |
Event raised when a process of buying eDaler, initiated using a call to InitiateBuyEDalerAsync, has been completed.
Definition at line 2194 of file EDalerClient.cs.
| EventHandlerAsync<PaymentErrorEventArgs> EDaler.EDalerClient.BuyEDalerError |
Event raised when a process of buying eDaler, initiated using a call to InitiateBuyEDalerAsync, fails.
Definition at line 2208 of file EDalerClient.cs.
| EventHandlerAsync<BuyEDalerClientUrlEventArgs> EDaler.EDalerClient.BuyEDalerOptionsClientUrlReceived |
Event raised when a Client URL has been sent to the client as part of a process of getting payment options for buying eDaler started with a call to InitiateGetOptionsBuyEDalerAsync. Such an URL must be opened by the client to complete the procedure.
Definition at line 1517 of file EDalerClient.cs.
| EventHandlerAsync<PaymentOptionsEventArgs> EDaler.EDalerClient.BuyEDalerOptionsCompleted |
Event raised when a process of getting payment options for buying eDaler, initiated using a call to InitiateGetOptionsBuyEDalerAsync, has been completed.
Definition at line 1669 of file EDalerClient.cs.
| EventHandlerAsync<PaymentErrorEventArgs> EDaler.EDalerClient.BuyEDalerOptionsError |
Event raised when a process of getting payment options for buying eDaler, initiated using a call to InitiateGetOptionsBuyEDalerAsync, fails.
Definition at line 1683 of file EDalerClient.cs.
| EventHandlerAsync<SellEDalerClientUrlEventArgs> EDaler.EDalerClient.SellEDalerClientUrlReceived |
Event raised when a Client URL has been sent to the client as part of a process of selling eDaler started with a call to InitiateSellEDalerAsync. Such an URL must be opened by the client to complete a payment procedure.
Definition at line 2447 of file EDalerClient.cs.
| EventHandlerAsync<PaymentCompletedEventArgs> EDaler.EDalerClient.SellEDalerCompleted |
Event raised when a process of selling eDaler, initiated using a call to InitiateSellEDalerAsync, has been completed.
Definition at line 2462 of file EDalerClient.cs.
| EventHandlerAsync<PaymentErrorEventArgs> EDaler.EDalerClient.SellEDalerError |
Event raised when a process of selling eDaler, initiated using a call to InitiateSellEDalerAsync, fails.
Definition at line 2476 of file EDalerClient.cs.
| EventHandlerAsync<SellEDalerClientUrlEventArgs> EDaler.EDalerClient.SellEDalerOptionsClientUrlReceived |
Event raised when a Client URL has been sent to the client as part of a process of getting payment options for selling eDaler started with a call to InitiateGetOptionsSellEDalerAsync. Such an URL must be opened by the client to complete the procedure.
Definition at line 1889 of file EDalerClient.cs.
| EventHandlerAsync<PaymentOptionsEventArgs> EDaler.EDalerClient.SellEDalerOptionsCompleted |
Event raised when a process of getting payment options for selling eDaler, initiated using a call to InitiateGetOptionsSellEDalerAsync, has been completed.
Definition at line 1925 of file EDalerClient.cs.
| EventHandlerAsync<PaymentErrorEventArgs> EDaler.EDalerClient.SellEDalerOptionsError |
Event raised when a process of getting payment options for selling eDaler, initiated using a call to InitiateGetOptionsSellEDalerAsync, fails.
Definition at line 1939 of file EDalerClient.cs.