|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
D
- type of low level data that are sent via networkK
- type of keys used to identify registry itemsV
- type of values stored in the registrypublic interface CommunicationProtocol<D extends java.io.Serializable,K extends java.io.Serializable,V extends java.io.Serializable>
Interface defines generic facade for transformation data from/to form used during low level network communications.
Method Summary | |
---|---|
D |
createDataToSend(byte aType,
java.lang.String aTo,
ItemEntry<K,V> aEntry)
Converts information stored in ItemEntry into low level data which could be sent in network communication. |
byte |
fillItemEntry(D aData,
ItemEntry<K,V> aEntry)
Extracts low level data obtained from network notification and wraps them into provided ItemEntry . |
Method Detail |
---|
byte fillItemEntry(D aData, ItemEntry<K,V> aEntry)
ItemEntry
.
aData
- low level data received with external notificationaEntry
- entry that will be filled based on received data
CommunicationHelper
D createDataToSend(byte aType, java.lang.String aTo, ItemEntry<K,V> aEntry)
aType
- type of notificationaTo
- aEntry
- entry to be converted
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |