com.citycolor.net.telnet
Class TelnetClientConnection

java.lang.Object
  extended by com.citycolor.net.telnet.TelnetClientConnection
Direct Known Subclasses:
FTPControlConnection

public class TelnetClientConnection
extends java.lang.Object

A Standard Telnet Connection implementation. This class uses the TelnetReader to handle server-sent end of lines appropriately.

Author:
Sebastian E. Ferreyra Pons

Field Summary
 java.net.Socket commSocket
           
 TelnetReader reader
           
 java.io.PrintWriter writer
           
 
Constructor Summary
TelnetClientConnection(java.net.InetAddress ip, int port)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

commSocket

public final java.net.Socket commSocket

writer

public final java.io.PrintWriter writer

reader

public final TelnetReader reader
Constructor Detail

TelnetClientConnection

public TelnetClientConnection(java.net.InetAddress ip,
                              int port)
                       throws java.io.IOException
Throws:
java.io.IOException


Copyright 1999-2004 Sebastian E. Ferreyra Pons. All Rights Reserved.