mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-14 03:39:05 +01:00
Added thread safety documentation to interfaces.
This commit is contained in:
@@ -3,5 +3,9 @@ package org.briarproject.api.event;
|
||||
/** An interface for receiving notifications when events occur. */
|
||||
public interface EventListener {
|
||||
|
||||
/**
|
||||
* Called when an event is broadcast. Implementations of this method must
|
||||
* not block.
|
||||
*/
|
||||
void eventOccurred(Event e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user