public interface Protocol
Modifier and Type | Method and Description |
---|---|
void |
addProtocolListener(ProtocolListener listener)
Adds the given listener to this protocol.
|
boolean |
removeProtocolListener(ProtocolListener listener)
Removes the given protocol listener from this protocol.
|
void addProtocolListener(ProtocolListener listener)
listener
- a protocol listener.boolean removeProtocolListener(ProtocolListener listener)
listener
- a protocol listener.