| Package | com.adobe.rtc.messaging |
| Interface | public interface IValueObjectEncodable |
| Implementors | ChatMessageDescriptor, FileDescriptor, MessageItem, NodeConfiguration, StreamDescriptor, UserDescriptor, UserQueueItem |
One of the key benefits of IValueObjectEncodable is that it allows a class instance to transmit itself minus its default values. As long as the recipient is aware of the same set of default values for the class, these need not be sent and could therefore reduce the burden on bandwidth.
| Method | Defined by | ||
|---|---|---|---|
|
createValueObject():Object
Creates a ValueObject representation of the current class instance.
| IValueObjectEncodable | ||
|
readValueObject(p_valueObject:Object):void
Takes in a
valueObject and structure the current class instance according to the values therein. | IValueObjectEncodable | ||
| createValueObject | () | method |
public function createValueObject():ObjectCreates a ValueObject representation of the current class instance.
ReturnsObject — An Object which represents the non-default values for this class instance that is suitable for
consumption by readValueObject.
|
| readValueObject | () | method |
public function readValueObject(p_valueObject:Object):void
Takes in a valueObject and structure the current class instance according to the values therein.
p_valueObject:Object — An Object which represents the non-default values for this class instance.
|
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/labs/acrobatcom/com/adobe/rtc/messaging/IValueObjectEncodable.html