|
Post by Mukesh on Apr 30, 2013 7:44:53 GMT
How to add an extension in a generic payload ?
|
|
|
Post by mohitn on May 1, 2013 3:11:46 GMT
How to add an extension in a generic payload ? Hello Mukesh, The generic payload extension mechanism permits any number of extensions of any type to be defined and added to a transaction object. Each extension represents a new set of attributes, transported along with the transaction object. Extensions can be created, added, written and read by initiators, interconnect components, and targets alike. The extension mechanism itself does not impose any restrictions. Of course, undisciplined use of this extension mechanism would compromise interoperability, so disciplined use is strongly encouraged. But the flexibility is there where you need it! The use of the extension mechanism represents a trade-off between increased coding convenience when binding sockets, and decreased compile-time type checking. If you want to add extension in generic payload pls read the section "TLM-2.0 custom-protocol-compliant" in latest LRM....
|
|
|
Post by Mukesh on May 1, 2013 7:48:00 GMT
How to add an extension in a generic payload ? Hello Mukesh, The generic payload extension mechanism permits any number of extensions of any type to be defined and added to a transaction object. Each extension represents a new set of attributes, transported along with the transaction object. Extensions can be created, added, written and read by initiators, interconnect components, and targets alike. The extension mechanism itself does not impose any restrictions. Of course, undisciplined use of this extension mechanism would compromise interoperability, so disciplined use is strongly encouraged. But the flexibility is there where you need it! The use of the extension mechanism represents a trade-off between increased coding convenience when binding sockets, and decreased compile-time type checking. If you want to add extension in generic payload pls read the section "TLM-2.0 custom-protocol-compliant" in latest LRM.... Thanks Mohit your Answer will help me a lot
|
|
|
Post by richa11verma on May 3, 2013 4:14:48 GMT
How to add an extension in a generic payload ? Hello Mukesh, The generic payload extension mechanism permits any number of extensions of any type to be defined and added to a transaction object. Each extension represents a new set of attributes, transported along with the transaction object. Extensions can be created, added, written and read by initiators, interconnect components, and targets alike. The extension mechanism itself does not impose any restrictions. Of course, undisciplined use of this extension mechanism would compromise interoperability, so disciplined use is strongly encouraged. But the flexibility is there where you need it! The use of the extension mechanism represents a trade-off between increased coding convenience when binding sockets, and decreased compile-time type checking. If you want to add extension in generic payload pls read the section "TLM-2.0 custom-protocol-compliant" in latest LRM.... Mohit, could you please explain this with an example? Also, why and when payload extension comes into picture?
|
|