|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines a key generator. Such a generator allows generating keys for identifying messages.
Note that a key generator may change the message: it can, for instance, insert a chunk that contains the key.
Key
Field Summary | |
static String |
ITF_NAME
The commonly used name to refer to this interface. |
Method Summary | |
Key |
generateKey(Message message)
Generates a key for the given message. |
Field Detail |
public static final String ITF_NAME
Method Detail |
public Key generateKey(Message message) throws Exception
KeyChunk
to the message.
message
- the message for which a key must be generated.
Exception
- if this is not possible to generate a key (for instance
when the generator try to add a Chunk to a non extensible
message).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |