|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface OldItemEvent
Provides to the Data Adapter a special interface for creating ItemEvents
in order to send updates to Lightstreamer Kernel.
If the external feed supplies Item data through old style objects,
like java.util.Hashtable or JMS MapMessage objects, that provide a
java.util.Enumeration to the Fields, then wrapping it into an OldItemEvent
can be simpler than wrapping it into an ItemEvent.
All implementation methods must execute fast and must be nonblocking.
All information needed to extract data must be provided at object
construction. If the implementation were slow, the whole update delivery
process, even for different sessions, would be slowed down.
ItemEvent| Method Summary | |
|---|---|
java.util.Enumeration |
getNames()
Returns an iterator to browse the names of the supplied Fields, expressed as String. |
java.lang.Object |
getValue(java.lang.String name)
Returns the value of a named Field (null is a legal value too). |
| Method Detail |
|---|
java.util.Enumeration getNames()
DataProviderjava.lang.Object getValue(java.lang.String name)
ItemEvent.getValue(String) for details.
name - A Field name.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||