Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "RAP/AdapterRegistry"

< RAP
(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...)
 
(Replacing page with 'please delete this page')
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Overview =
+
please delete this page
 
+
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 types of targets used in a given [[RAP/Protocol#Protocol_Format|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 [[RAP/Protocol#Create|create operation]] for an unkown type (no matching adapter registered), the client will crash.
+
 
+
{| align="left" width="100%" height="73" cellspacing="0" cellpadding="3" border="1" style="margin: auto auto 1em auto;"
+
|-
+
! colspan = "2" bgcolor="#CCCCFF" style = "font-family:serif;font-size:16pt" | <b>Function Summary</b>
+
|- valign="top"
+
| align="right"| <code>undefined</code>
+
| <code><b>add( string key, Adapter adapter )</b></code><br> stores the given adapter. The key has to match the type string used in a RAP protocol [[RAP/Protocol#Create|create operation]].
+
|}
+

Latest revision as of 06:03, 19 December 2012

please delete this page

Back to the top