EventType
- KeyType
- EventType is a high-level, human-readable name of the protocol task.
KeyType is generally an identifier that may be dynamically assigned
and may not have any meaning, e.g., a DNS request identifier that
is later used to match the response against the request. Here, "DNS"
is the String EventType while the request identifier is the Integer
KeyType.public interface ProtocolEvent<EventType,KeyType> extends Keyable<KeyType>
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getMessage() |
EventType |
getType() |
void |
setKey(KeyType key)
Sets the protocol key.
|