Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

RAP/AdapterRegistry

< RAP
Revision as of 10:26, 24 October 2012 by Tbuschto.eclipsesource.com (Talk | contribs) (New page: = Overview = The <code>rwt.protocol.AdapterRegistry</code> object stores all protocol adapters known to the client. A protocol adapter is needed by the clients message processor for all t...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Overview

The rwt.protocol.AdapterRegistry object stores all protocol adapters known to the client. A protocol adapter is needed by the clients message processor for all types of targets used in a given RAP protocol message. It basically translates the API of the 'virtual' object referenced by the protocol message to the API of the actual client object. If a message contains a create operation for an unkown type (no matching adapter registered), the client will crash.

Function Summary
undefined add( string key, Adapter adapter )
stores the given adapter. The key has to match the type string used in a RAP protocol create operation.

Back to the top