+xns/Negotiation
Data: MessagePermission

+xns/Core/XNSObject
   |
   +--+xns/Negotiation/MessagePermission


Permission to invoke a particular message.


 

Data Elements
String Condition Condition under which this message in the given process states may be executed.
+xns/Core/IdentityDataAddress MsgName Address of a MessageDef object that defines the message to which this permission applies.
+xns/Core/TextList ProcessStates States that this permission allows a message to be in.
 

Element Detail

Condition

Condition under which this message in the given process states may be executed. For example, for the message +xns/Hosting/HostIdentity, process state = "LargeIdentity", the condition may be "User agrees to pay an additional 10% hosting fee for identities over 5 megabytes."  

DataType: String
 


MsgName

Address of a MessageDef object that defines the message to which this permission applies.  

DataType: +xns/Core/IdentityDataAddress
 


ProcessStates

States that this permission allows a message to be in. A message, for example, may recognize a state of "LargeIdentity". As the message enters the "LargeIdentity" state, it examines this object to see if permission is granted to continue processing. Message implementations must check permissions at the appropriate place, usually at the beginning of the implementation to allow for easy rollback if the permission is not granted. Example: MsgName: "+xns/Hosting/HostIdentity", ProcessStates = "LargeIdentity, AnonymousIdentity" (as a text list).  

DataType: +xns/Core/TextList
 

List: true
 


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