From 076ad26f262982a5dd8b9dc940f6114c1ab51d8b Mon Sep 17 00:00:00 2001 From: Strongest Number 9 <16169054+StrongestNumber9@users.noreply.github.com> Date: Thu, 27 Jun 2024 10:26:53 +0300 Subject: [PATCH] Removes IngressFake (#215) --- .../teragrep/rlp_03/frame/IngressFake.java | 80 ------------------- 1 file changed, 80 deletions(-) delete mode 100644 src/test/java/com/teragrep/rlp_03/frame/IngressFake.java diff --git a/src/test/java/com/teragrep/rlp_03/frame/IngressFake.java b/src/test/java/com/teragrep/rlp_03/frame/IngressFake.java deleted file mode 100644 index c7b49bd..0000000 --- a/src/test/java/com/teragrep/rlp_03/frame/IngressFake.java +++ /dev/null @@ -1,80 +0,0 @@ -/* - * Java Reliable Event Logging Protocol Library Server Implementation RLP-03 - * Copyright (C) 2021-2024 Suomen Kanuuna Oy - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Affero General Public License for more details. - * - * You should have received a copy of the GNU Affero General Public License - * along with this program. If not, see . - * - * - * Additional permission under GNU Affero General Public License version 3 - * section 7 - * - * If you modify this Program, or any covered work, by linking or combining it - * with other code, such other code is not for that reason alone subject to any - * of the requirements of the GNU Affero GPL version 3 as long as this Program - * is the same Program as licensed from Suomen Kanuuna Oy without any additional - * modifications. - * - * Supplemented terms under GNU Affero General Public License version 3 - * section 7 - * - * Origin of the software must be attributed to Suomen Kanuuna Oy. Any modified - * versions must be marked as "Modified version of" The Program. - * - * Names of the licensors and authors may not be used for publicity purposes. - * - * No rights are granted for use of trade names, trademarks, or service marks - * which are in The Program if any. - * - * Licensee must indemnify licensors and authors for any liability that these - * contractual assumptions impose on licensors and authors. - * - * To the extent this program is licensed as part of the Commercial versions of - * Teragrep, the applicable Commercial License may apply to this file if you as - * a licensee so wish it. - */ -package com.teragrep.rlp_03.frame; - -import com.teragrep.net_01.channel.context.Clock; -import com.teragrep.net_01.channel.context.Ingress; - -import java.util.concurrent.atomic.AtomicBoolean; - -public class IngressFake implements Ingress { - - @Override - public void run() { - throw new UnsupportedOperationException("IngressFake does not implement this."); - } - - @Override - public AtomicBoolean needWrite() { - throw new UnsupportedOperationException("IngressFake does not implement this."); - } - - @Override - public void register(final Clock clock) { - throw new UnsupportedOperationException("IngressFake does not implement this."); - } - - @Override - public void unregister(final Clock clock) { - throw new UnsupportedOperationException("IngressFake does not implement this."); - } - - @Override - public void close() throws Exception { - throw new UnsupportedOperationException("IngressFake does not implement this."); - } - -}