Confirmed users
110
edits
m (→Connection) |
|||
Line 67: | Line 67: | ||
=== Connection acknowledgement === | === Connection acknowledgement === | ||
Applications that fulfill the rules specified in the ''.connect()'' call and have explicitly been allowed by the user to connect with the caller application will receive a system message named 'connection' containing a '' | Applications that fulfill the rules specified in the ''.connect()'' call and have explicitly been allowed by the user to connect with the caller application will receive a system message named 'connection' containing a ''InterAppConnectionRequest'' object of this form as a ''message''. | ||
Dictionary | Dictionary InterAppConnectionRequest { | ||
DOMString keyword; | |||
InterAppMessagePort port; | |||
}; | }; | ||
where | where | ||
* ''keyword'' is the key string given with the ''.connect()'' call. | * ''keyword'' is the key string given with the ''.connect()'' call. | ||
* ''port'' is an instance of ''InterAppMessagePort'' that will be the message channel for the connection. | |||
== MessagePort == | == MessagePort == |