Secure iNet Factory

com.jscape.inet.ssh
Class AdaptiveSessionRequest

java.lang.Object
  extended by com.jscape.inet.ssh.AbstractChannelRequest
      extended by com.jscape.inet.ssh.SessionRequest
          extended by com.jscape.inet.ssh.AdaptiveSessionRequest
All Implemented Interfaces:
ChannelRequest

public class AdaptiveSessionRequest
extends SessionRequest

Adaptive session request.

Version:
1.0
Author:
Alex
See Also:
Source code

Field Summary
 
Fields inherited from interface com.jscape.inet.ssh.ChannelRequest
DEFAULT_PACKET_SIZE, DEFAULT_WINDOW_SIZE
 
Constructor Summary
AdaptiveSessionRequest()
          Creates a new request instance.
AdaptiveSessionRequest(long windowSize, int packetSize)
          Creates a new request instance.
 
Method Summary
 void execute(ConnectionClient client)
          Executes the request.
 
Methods inherited from class com.jscape.inet.ssh.SessionRequest
getChannel
 
Methods inherited from class com.jscape.inet.ssh.AbstractChannelRequest
getPacketSize, getWindowSize
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdaptiveSessionRequest

public AdaptiveSessionRequest(long windowSize,
                              int packetSize)
Creates a new request instance.

Parameters:
windowSize - window size
packetSize - max packet size

AdaptiveSessionRequest

public AdaptiveSessionRequest()
Creates a new request instance.

Method Detail

execute

public void execute(ConnectionClient client)
             throws java.io.IOException
Description copied from interface: ChannelRequest
Executes the request.

Parameters:
client - connection client
Throws:
java.io.IOException - if an I/O error occurs
See Also:
ChannelRequest.execute(com.jscape.inet.ssh.connection.ConnectionClient)

Secure iNet Factory

Copyright © JSCAPE LLC. 1999-2011. All Rights Reserved