Package org.eclipse.rap.rwt.remote
Interface Connection
-
public interface ConnectionAn instance of this interface represents a connection used to communicate with the client. Every UI session has exactly one connection which can be obtained by callingUISession.getConnection().- Since:
- 2.0
- See Also:
UISession.getConnection()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RemoteObjectcreateRemoteObject(java.lang.String remoteType)Creates a new remote object on the client with the given remote type.
-
-
-
Method Detail
-
createRemoteObject
RemoteObject createRemoteObject(java.lang.String remoteType)
Creates a new remote object on the client with the given remote type. The type must be known by the client, and the client must be able to create an object of this type. The returnedRemoteObjectcan be used to communicate with the remote object.- Parameters:
remoteType- the type of the remote object to be created, must not benull- Returns:
- a representation of the remote object that has been created
-
-