From 21186fb0c46b6733cbc52b09578b7a04925c4d3a Mon Sep 17 00:00:00 2001 From: nathan Date: Sun, 21 Jan 2018 00:15:13 +0100 Subject: [PATCH] Fixed self-defined type listener --- src/dorkbox/network/connection/Listener.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/dorkbox/network/connection/Listener.java b/src/dorkbox/network/connection/Listener.java index 1abc86fc..0e6596c5 100644 --- a/src/dorkbox/network/connection/Listener.java +++ b/src/dorkbox/network/connection/Listener.java @@ -65,7 +65,6 @@ interface Listener { * Called when the connection is idle for longer than the {@link EndPointBase#setIdleTimeout(int)} idle threshold. */ interface OnIdle extends Listener { - /** * 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 * 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 * the system looks up incoming message types to determine what listeners to dispatch them to.