From 4ec7e6bc4c6ac9dc9b1367416b45b76b3be9f8ba Mon Sep 17 00:00:00 2001 From: ahren Date: Wed, 20 Dec 2023 16:04:24 +0100 Subject: [PATCH] =?UTF-8?q?bzw=20jetzt=20ist=20auch=20der=20Transmitter=20?= =?UTF-8?q?kein=20Subscriber=20mehr,=20warum=20war=20der=20das=20eh=20?= =?UTF-8?q?=C3=BCberhaupt=3F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ChatProgramm/model/Transmitter.java | 25 ++----------------------- 1 file changed, 2 insertions(+), 23 deletions(-) diff --git a/src/ChatProgramm/model/Transmitter.java b/src/ChatProgramm/model/Transmitter.java index 2b377ef..4927ea2 100644 --- a/src/ChatProgramm/model/Transmitter.java +++ b/src/ChatProgramm/model/Transmitter.java @@ -24,7 +24,7 @@ import java.util.logging.Logger; * * @author ahren */ -public abstract class Transmitter implements Runnable, Subscriber { +public abstract class Transmitter implements Runnable { static final int timeout = 60000; private static final int PORT = 35000; @@ -132,28 +132,7 @@ public abstract class Transmitter implements Runnable, Subscriber { } } - - @Override - public void onSubscribe(Flow.Subscription subscription) { - throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody - } - - @Override - public void onNext(Figur item) { - throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody - } - - @Override - public void onError(Throwable throwable) { - throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody - } - - @Override - public void onComplete() { - throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody - } - - private void startempfangen() + private void startempfangen() { synchronized (this){ }