Eclipse Remote Application Platform

org.eclipse.rap.rwt.client
Interface Client

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
WebClient

public interface Client
extends java.io.Serializable

Represents a remote client. The client that is connected to the current session can be obtained by calling RWT.getClient().

RWT clients can provide services, e.g. to allow access to device-specific capabilities.

Since:
2.0
See Also:
WebClient, RWT.getClient()

Method Summary
<T extends ClientService>
T
getService(java.lang.Class<T> type)
          Returns this client's implementation of a given service, if available.
 

Method Detail

getService

<T extends ClientService> T getService(java.lang.Class<T> type)
Returns this client's implementation of a given service, if available.

Returns:
the requested service if provided by this client, otherwise null

Eclipse Remote Application Platform

Copyright (c) EclipseSource and others 2002, 2012. All rights reserved.