X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fjexer%2Fnet%2FTelnetServerSocket.java;h=3c5b3077ba591ff706b564ed3dd5955675e61240;hb=12b90437b5f22c2ae6e9b9b14c3b62b60f6143e5;hp=88c6a1e52a0a1b290b64aef2e6a29b1ff98120e2;hpb=e16dda65585466c8987bd1efd718431450a96605;p=fanfix.git diff --git a/src/jexer/net/TelnetServerSocket.java b/src/jexer/net/TelnetServerSocket.java index 88c6a1e..3c5b307 100644 --- a/src/jexer/net/TelnetServerSocket.java +++ b/src/jexer/net/TelnetServerSocket.java @@ -3,7 +3,7 @@ * * The MIT License (MIT) * - * Copyright (C) 2016 Kevin Lamonte + * Copyright (C) 2019 Kevin Lamonte * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -37,9 +37,16 @@ import java.net.SocketException; /** * This class provides a ServerSocket that return TelnetSocket's in accept(). */ -public final class TelnetServerSocket extends ServerSocket { +public class TelnetServerSocket extends ServerSocket { - // ServerSocket interface ------------------------------------------------- + // ------------------------------------------------------------------------ + // Variables -------------------------------------------------------------- + // ------------------------------------------------------------------------ + + + // ------------------------------------------------------------------------ + // Constructors ----------------------------------------------------------- + // ------------------------------------------------------------------------ /** * Creates an unbound server socket. @@ -94,6 +101,10 @@ public final class TelnetServerSocket extends ServerSocket { super(port, backlog, bindAddr); } + // ------------------------------------------------------------------------ + // ServerSocket ----------------------------------------------------------- + // ------------------------------------------------------------------------ + /** * Listens for a connection to be made to this socket and accepts it. The * method blocks until a connection is made.