public class NodeAttributeTransport extends SingleParamTransport
After synchronization the server element has the same attribute value as the client counterpart. If the client element has not the specified attribute the server element attribute will be removed too.
With or without synchronization the attribute value can be obtained
calling ItsNatEvent.getExtraParam(String)
ItsNatDocument.addEventListener(org.w3c.dom.events.EventTarget,String,org.w3c.dom.events.EventListener,boolean,int,ParamTransport[],String,long),
Serialized Form| Constructor and Description |
|---|
NodeAttributeTransport(String name)
Creates a new instance ready to transport the attribute with the specified name
and synchronize it at the server side.
|
NodeAttributeTransport(String name,
boolean sync)
Creates a new instance ready to transport the attribute with the specified name
with optional server synchronization.
|
getNameisSyncpublic NodeAttributeTransport(String name)
name - the attribute name.public NodeAttributeTransport(String name, boolean sync)
name - the attribute name.sync - if true the server attribute is updated.Copyright © Innowhere Software, Jose Maria Arranz Santamaria.