View Javadoc
1   package org.eclipse.rap.rwt.client;
2   
3   import java.io.Serializable;
4   
5   import org.eclipse.rap.rwt.client.service.ClientService;
6   
7   public interface Client extends Serializable {
8   
9     /**
10     * Returns this client's implementation of a given service, if available.
11     *
12     * @param type the type of the requested service, must be a subtype of ClientService
13     * @return the requested service if provided by this client, otherwise <code>null</code>
14     * @see ClientService
15     */
16    <T extends ClientService> T getService( Class<T> type );
17  
18  }