NS services: Difference between revisions
No edit summary |
No edit summary |
||
Line 1,984: | Line 1,984: | ||
| 2 || | | 2 || | ||
|} | |} | ||
==== Cmd0 ==== | |||
No input, returns an output Event handle and an [[#IAsyncValue]]. | |||
The async task does the following: | |||
* This waits for a client to connect. | |||
* The [[LDN_services|NodeInfo]] UserName is converted into two u64s, which are used to locate a state entry with matching values. | |||
* The client [[LDN_services|NodeInfo]] Ipv4Address is copied into state. | |||
* Then a ptr to the above located state entry is also written into state. | |||
==== Cmd1 ==== | |||
No input, returns an output Event handle and an [[#IAsyncResult]]. | |||
==== Cmd2 ==== | |||
No input, returns an output Event handle and an [[#IAsyncResult]]. | |||
=== IClientSession === | === IClientSession === | ||
Line 2,000: | Line 2,015: | ||
| 2 || | | 2 || | ||
|} | |} | ||
==== Cmd0 ==== | |||
No input, returns an output Event handle and an [[#IAsyncValue]]. | |||
The async task does the following: | |||
* Uses [[LDN_services|ldn]] Scan. | |||
* After a [[LDN_services|NodeInfo]] is found with a matching UserName, the Ipv4Address for it is copied into state. | |||
* If a timeout didn't occur and a valid NodeInfo was found, it proceeds with connecting to the network. | |||
==== Cmd1 ==== | |||
No input, returns an output Event handle and an [[#IAsyncResult]]. | |||
==== Cmd2 ==== | |||
No input, returns an output Event handle and an [[#IAsyncResult]]. | |||
=== IApplicationVersionInterface === | === IApplicationVersionInterface === |