Fixed self-defined type listener
This commit is contained in:
parent
328825d60e
commit
21186fb0c4
|
@ -65,7 +65,6 @@ interface Listener {
|
||||||
* Called when the connection is idle for longer than the {@link EndPointBase#setIdleTimeout(int)} idle threshold.
|
* Called when the connection is idle for longer than the {@link EndPointBase#setIdleTimeout(int)} idle threshold.
|
||||||
*/
|
*/
|
||||||
interface OnIdle<C extends Connection> extends Listener {
|
interface OnIdle<C extends Connection> extends Listener {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Called when the connection is idle for longer than the {@link EndPointBase#setIdleTimeout(int)} idle threshold.
|
* Called when the connection is idle for longer than the {@link EndPointBase#setIdleTimeout(int)} idle threshold.
|
||||||
*/
|
*/
|
||||||
|
@ -86,7 +85,7 @@ interface Listener {
|
||||||
* Permits a listener to specify it's own referenced object type, if passing in a generic parameter doesn't work. This is necessary since
|
* Permits a listener to specify it's own referenced object type, if passing in a generic parameter doesn't work. This is necessary since
|
||||||
* the system looks up incoming message types to determine what listeners to dispatch them to.
|
* the system looks up incoming message types to determine what listeners to dispatch them to.
|
||||||
*/
|
*/
|
||||||
interface SelfDefinedType {
|
interface SelfDefinedType extends Listener {
|
||||||
/**
|
/**
|
||||||
* Permits a listener to specify it's own referenced object type, if passing in a generic parameter doesn't work. This is necessary since
|
* Permits a listener to specify it's own referenced object type, if passing in a generic parameter doesn't work. This is necessary since
|
||||||
* the system looks up incoming message types to determine what listeners to dispatch them to.
|
* the system looks up incoming message types to determine what listeners to dispatch them to.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user