net.sourceforge.networktools.core.telnet
Class TelnetClient

java.lang.Object
  extended by net.sourceforge.networktools.core.telnet.TelnetSession
      extended by net.sourceforge.networktools.core.telnet.TelnetClient

public class TelnetClient
extends TelnetSession

Author:
Geoffrey

Field Summary
 
Fields inherited from class net.sourceforge.networktools.core.telnet.TelnetSession
telnet
 
Constructor Summary
TelnetClient(Telnet telnet, java.lang.String clientHost, int clientPort)
          Creates a new instance of TelnetClient
 
Method Summary
 void receiveData(TelnetConnection telnetConnection, byte[] byteData)
           
 void sendData(int encoding, java.lang.String sendString, int suffixType)
           
 void stopConnection(TelnetConnection telnetConnection)
           
 void stopSession()
           
 
Methods inherited from class net.sourceforge.networktools.core.telnet.TelnetSession
processConnection, stopListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TelnetClient

public TelnetClient(Telnet telnet,
                    java.lang.String clientHost,
                    int clientPort)
             throws java.io.IOException
Creates a new instance of TelnetClient

Throws:
java.io.IOException
Method Detail

receiveData

public void receiveData(TelnetConnection telnetConnection,
                        byte[] byteData)
Overrides:
receiveData in class TelnetSession

sendData

public void sendData(int encoding,
                     java.lang.String sendString,
                     int suffixType)
Overrides:
sendData in class TelnetSession

stopConnection

public void stopConnection(TelnetConnection telnetConnection)
Overrides:
stopConnection in class TelnetSession

stopSession

public void stopSession()
Overrides:
stopSession in class TelnetSession


Copyright © 2004-2008 Geoffrey De Smet. All Rights Reserved.