+xns/Hosting
Message: HostIdentity

+xns/Core/XNSObject
   |
   +--+xns/Core/Message
         |
         +--+xns/Hosting/HostIdentity


Establishes a relationship between an identity and the identity that will function as its host.

This message is sent to the identity that is to function as a host identity. A host identity shares all its URIs with the identities it hosts.

An input identity is optional. If an input identity is provided, then the input identity will be hosted by the identity receiving the message. If no input identity is provided, then a new identity is created and hosted by the identity receiving the message. The input or new identity will receive communication via the same URIs as the host identity (see @xns/ID/Register.)

This message returns the identity address based upon the new hosting environment.

To: Host identity.
From: Any identity or exposure.


 

Input
+xns/Data/Identity Identity The data of the identity that is to be hosted.
 

Output
+xns/Core/IdentityAddress IdentityAddr The identity's new address with its host.
 

Input Detail

Identity

The data of the identity that is to be hosted.  

DataType: +xns/Data/Identity
 


 

Output Detail

IdentityAddr

The identity's new address with its host.  

DataType: +xns/Core/IdentityAddress
 


Publishing Identity: +xns
© 2002 XNSORG
Last Updated: 07/09/2002