The IO framework ensures that only one notification is processed at a time for each instance of {@code Connection}. Thus, a {@code ConnectionListener} does not need to take special steps to ensurethread safety so long as it does not access resources shared among the listeners of other connections.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|