Changes between Version 3 and Version 4 of Client/Development/ConnectingToTheServer


Ignore:
Timestamp:
Mar 8, 2013 9:31:32 AM (4 years ago)
Author:
lama
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Client/Development/ConnectingToTheServer

    v3 v4  
    11= Contacting the server (Java) =
    22
    3 Let's start with a small sample which just sets up everything needed to use the stub functions and then calls getServerInfo() to retrieve a ServerInfo object:
     3Let's start with a small sample which just sets up everything needed to use the stub functions and then calls getServerInfo() to retrieve a !ServerInfo object:
    44
    5  * Create and install a TrustManager which does not validate certificate chains as our certification authority (DFN-CERT) is not included in standard Java distributions.
     5 * Create and install a !TrustManager which does not validate certificate chains as our certification authority (DFN-CERT) is not included in standard Java distributions.
    66{{{#!java
    77            // Create a trust manager that does not validate certificate chains
     
    6161}}}
    6262
    63  * Retrieve a ServerInfo object for this user and print out some information.
     63 * Retrieve a !ServerInfo object for this user and print out some information.
    6464{{{#!java
    6565            ServerInfo info;
     
    110110}}}
    111111 "checkException()" is a small helper function which makes exception handling for stub functions much easier.
    112  As you can see, the ServerInfo provides the following information:
     112 As you can see, the !ServerInfo provides the following information:
    113113  * User information which is likely to change over time. So here, the user can see, what email adresses and which homepage is currently saved in the account.
    114114  * Name, default minimum match length and default suffixes for each available language