com.ptc.wvs.server.cadagent
Class TelnetClient.TWrapper

java.lang.Object
  extended bysocket.TelnetWrapper
      extended bycom.ptc.wvs.server.cadagent.TelnetClient.TWrapper
Enclosing class:
TelnetClient

public class TelnetClient.TWrapper
extends socket.TelnetWrapper


Field Summary
 
Fields inherited from class socket.TelnetWrapper
debug
 
Constructor Summary
TelnetClient.TWrapper(String host)
           
 
Method Summary
 String receiveUntil(String token, long timeout)
           
 void wait(String token, long timeout)
           
 
Methods inherited from class socket.TelnetWrapper
available, disconnect, finalize, login, main, receive, receiveBytes, receiveUntil, send, send, sendLine, setDefaultPrompt, setLogin, setPrompt, unsetLogin, wait
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TelnetClient.TWrapper

public TelnetClient.TWrapper(String host)
                      throws IOException
Method Detail

wait

public void wait(String token,
                 long timeout)
          throws IOException,
                 socket.TimedOutException
Throws:
IOException
socket.TimedOutException

receiveUntil

public String receiveUntil(String token,
                           long timeout)
                    throws IOException,
                           socket.TimedOutException
Throws:
IOException
socket.TimedOutException