com.maverick.ssh
Interface SocketTimeoutSupport

All Known Implementing Classes:
SocketTransport, SocketWrapper

public interface SocketTimeoutSupport

This interface adds timeout support to the SocketTransport interface.

Author:
Lee David Painter

Method Summary
 int getSoTimeout()
          Get the current socket timeout in milliseconds.
 void setSoTimeout(int timeout)
          Set the socket timeout in milliseconds.
 

Method Detail

setSoTimeout

public void setSoTimeout(int timeout)
                  throws java.io.IOException
Set the socket timeout in milliseconds.

Parameters:
timeout - int
Throws:
java.io.IOException

getSoTimeout

public int getSoTimeout()
                 throws java.io.IOException
Get the current socket timeout in milliseconds.

Returns:
int
Throws:
java.io.IOException


Copyright © 2003 3SP LTD. All Rights Reserved.