diff -r f345bda72bc4 -r 43e37759235e Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/secureclientandserver_8h.html --- a/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/secureclientandserver_8h.html Tue Mar 30 11:56:28 2010 +0100 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/secureclientandserver_8h.html Tue Mar 30 16:16:55 2010 +0100 @@ -1,193 +1,182 @@ - -
--Go to the source code of this file.
Enumerations | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
enum | TSecureServerRequest { - ESecureServerCreateSubSession, -ESecureServerCloseSubSession, -ESecureServerInitSubSession, -ESecureServerCloseSession, - - ESecureServerValue, -ESecureServerResourceCount, -ESecureServerIncrease, -ESecureServerIncreaseBy, - - ESecureServerDecrease, -ESecureServerDecreaseBy, -ESecureServerReset, -ESecureServerSaveCounter, - - ESecureServerSetCounterFromFile - + Go to the source code of this file. +
Detailed Description+
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | _LIT (KTxtSaveToFile,"\nTo save the value of counter A press 'a' and for counter B press 'b'..\n") | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | _LIT (KTxtSelectCounter,"\nYou selected counter %c\n") | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
- | _LIT (KTxtSaveCounter,"\nSaving Counter Value..\n") | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Variables | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-const TUint | KDefaultMessageSlots = 4 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
const TUint | KSecureServMajorVersionNumber = 0 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-const TUint | KSecureServMinorVersionNumber = 1 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
-const TUint | KSecureServBuildVersionNumber = 1 |
Definition in file secureclientandserver.h.
-Definition in file secureclientandserver.h.
+enum TSecureServerRequest | +enum TSecureServerRequest |
-Op codes supported by the server.
ESecureServerCreateSubSession | -Op code to create a subsession. | |||||||||||||||||||||||||||||
ESecureServerCloseSubSession | -Op code to close a subsession. | |||||||||||||||||||||||||||||
ESecureServerInitSubSession | -Op code to initialise the counter of the subsession. | |||||||||||||||||||||||||||||
ESecureServerCloseSession | -Op code to close a session. | |||||||||||||||||||||||||||||
ESecureServerValue | -Op code to get the counter value from the server. | |||||||||||||||||||||||||||||
ESecureServerResourceCount | -Op code to get the resource count from the server. | |||||||||||||||||||||||||||||
ESecureServerIncrease | -Op code to increase the counter value by one. | |||||||||||||||||||||||||||||
ESecureServerIncreaseBy | -Op code to increase the counter value by a value greater than one. | |||||||||||||||||||||||||||||
ESecureServerDecrease | -Op code to decrease the counter value by one. | |||||||||||||||||||||||||||||
ESecureServerDecreaseBy | -Op code to increase the counter value by a value greater than one. | |||||||||||||||||||||||||||||
ESecureServerReset | -Op code to reset the counter to default value. | |||||||||||||||||||||||||||||
ESecureServerSaveCounter | -Op code to save the counter value to the counter.dat file. | |||||||||||||||||||||||||||||
ESecureServerSetCounterFromFile | -Op code to set the counter value from the counter.dat file. |
enum TSecureServerLeave | +enum TSecureServerLeave |
-Defines the leave code of the server.
ENonNumericString |
-Leave code if the string that sets the counter contains non-numeric characters. For example, the string "ab" is invalid and "10" is valid.
+ Defines the leave code of the server. +
Definition at line 111 of file secureclientandserver.h. +Definition at line 111 of file secureclientandserver.h. -- Function Documentation- + +Function Documentation+
+
Name of the server. --Name of the server. +
-
-
--Create the thread that will act as the server. This function is exported from the DLL and called by the client. -Note that a server can also be implemented as a separate executable (i.e. as a separate process). -Creates the server thread. If the server is not running, the function starts the server thread. The function CSecureServer::ThreadFunction() contains the code that is called when the server thread starts.
- Variable Documentation- + +Variable Documentation+
+
-Version numbers of the server. --Version numbers of the server. - Definition at line 43 of file secureclientandserver.h. +Definition at line 43 of file secureclientandserver.h. - Generated on Thu Jan 21 10:33:02 2010 for TB10.1 Example Applications by + + + Generated by - ![]() ![]() |