From 8a0b94d8e807a7933a7ded4e1e5cca0905172bb9 Mon Sep 17 00:00:00 2001 From: Martin Oberhuber < martin.oberhuber@windriver.com> Date: Mon, 25 May 2009 21:16:12 +0000 Subject: [PATCH] [277061] Fix contributor --- .../terminal/telnet/TelnetConnection.java | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/terminal/org.eclipse.tm.terminal.telnet/src/org/eclipse/tm/internal/terminal/telnet/TelnetConnection.java b/terminal/org.eclipse.tm.terminal.telnet/src/org/eclipse/tm/internal/terminal/telnet/TelnetConnection.java index a630f99d800..e5ccc4e0ec8 100644 --- a/terminal/org.eclipse.tm.terminal.telnet/src/org/eclipse/tm/internal/terminal/telnet/TelnetConnection.java +++ b/terminal/org.eclipse.tm.terminal.telnet/src/org/eclipse/tm/internal/terminal/telnet/TelnetConnection.java @@ -6,13 +6,13 @@ * http://www.eclipse.org/legal/epl-v10.html * * Contributors: - * Fran Litterio (Wind River) - initial API and implementation - * Helmut Haigermoser (Wind River) - repackaged - * Ted Williams (Wind River) - repackaged into org.eclipse namespace - * Michael Scharf (Wind River) - split into core, view and connector plugins + * Fran Litterio (Wind River) - initial API and implementation + * Helmut Haigermoser (Wind River) - repackaged + * Ted Williams (Wind River) - repackaged into org.eclipse namespace + * Michael Scharf (Wind River) - split into core, view and connector plugins * Martin Oberhuber (Wind River) - fixed copyright headers and beautified * Michael Scharf (Wind River) - [209665] Add ability to log byte streams from terminal - * Michael Scharf (Wind River) - [277061] TelnetConnection.isConnected() should check if socket was not closed + * Alex Panchenko (Xored) - [277061] TelnetConnection.isConnected() should check if socket was not closed *******************************************************************************/ package org.eclipse.tm.internal.terminal.telnet; @@ -32,13 +32,13 @@ import org.eclipse.tm.internal.terminal.provisional.api.TerminalState; * also manages two sets of TelnetOption objects: one for the local endpoint and * one for the remote endpoint. *

- * + * * IMPORTANT: Understanding this code requires understanding the TELNET protocol * and TELNET option processing, as defined in the RFCs listed below. *

- * + * * @author Fran Litterio (francis.litterio@windriver.com) - * + * * @see RFC 854 * @see RFC 855 * @see RFC 856 @@ -132,11 +132,11 @@ public class TelnetConnection extends Thread implements TelnetCodes { * allows us to successfully connect to a TELNET server listening on a port * other than 23. *

- * + * * When this field first changes from false to true, we send all WILL or DO * commands to the remote endpoint. *

- * + * * @see #telnetServerDetected() */ protected boolean remoteIsTelnetServer = false; @@ -173,7 +173,7 @@ public class TelnetConnection extends Thread implements TelnetCodes { /** * This field is true if an error occurs while processing a subnegotiation * command. - * + * * @see #processTelnetProtocol(int) */ protected boolean ignoreSubnegotiation = false; @@ -285,7 +285,7 @@ public class TelnetConnection extends Thread implements TelnetCodes { private void displayTextInTerminal(String string) { terminalControl.displayTextInTerminal(string); } - + /** * This method runs in its own thread. It reads raw bytes from the TELNET * connection socket, processes any TELNET protocol bytes (and removes @@ -392,7 +392,7 @@ public class TelnetConnection extends Thread implements TelnetCodes { * calls to this function. The state is preserved in field telnetState. * This function implements an FSA that recognizes TELNET option codes. * TELNET option sub-negotiation is delegated to instances of TelnetOption. - * + * * @return The number of bytes remaining in the buffer after removing all * TELNET protocol bytes. */ @@ -654,7 +654,7 @@ public class TelnetConnection extends Thread implements TelnetCodes { * from the remote endpoint. When it is called for the first time for this * connection, we negotiate all options that we desire to be enabled. *

- * + * * This method does not negotiate options that we do not desire to be * enabled, because all options are initially disabled. *