public abstract class SingleParamTransport extends ParamTransport
Derived classes may do some kind of automatic synchronization in the server, for instance an attribute of a client element can be transported and updated the server counterpart element.
With or without synchronization the transported 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| Modifier | Constructor and Description |
|---|---|
protected |
SingleParamTransport(String name,
boolean sync)
Creates a new instance ready to transport a client value with the specified name
with optional server synchronization.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the item name for instance a property or attribute name.
|
isSyncprotected SingleParamTransport(String name, boolean sync)
name - the attribute name.sync - if true the server attribute is updated.public String getName()
Copyright © Innowhere Software, Jose Maria Arranz Santamaria.