You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2012/01/31 14:25:14 UTC
svn commit: r1238500 -
/commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetClient.java
Author: sebb
Date: Tue Jan 31 13:25:13 2012
New Revision: 1238500
URL: http://svn.apache.org/viewvc?rev=1238500&view=rev
Log:
Javadoc
Modified:
commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetClient.java
Modified: commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetClient.java
URL: http://svn.apache.org/viewvc/commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetClient.java?rev=1238500&r1=1238499&r2=1238500&view=diff
==============================================================================
--- commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetClient.java (original)
+++ commons/proper/net/trunk/src/main/java/org/apache/commons/net/telnet/TelnetClient.java Tue Jan 31 13:25:13 2012
@@ -52,7 +52,7 @@ public class TelnetClient extends Telnet
private TelnetInputListener inputListener;
/***
- * Default TelnetClient constructor.
+ * Default TelnetClient constructor, sets terminal-type {@code VT100}.
***/
public TelnetClient()
{
@@ -63,6 +63,11 @@ public class TelnetClient extends Telnet
__output = null;
}
+ /**
+ * Construct an instance with the specified terminal type.
+ *
+ * @param termtype the terminal type to use, e.g. {@code VT100}
+ */
/* TERMINAL-TYPE option (start)*/
public TelnetClient(String termtype)
{