Secure iNet Factory

com.jscape.inet.ssh
Class SessionRequest

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

public abstract class SessionRequest
extends AbstractChannelRequest

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
SessionRequest(long windowSize, int packetSize)
          Creates a new request instance.
 
Method Summary
 Channel getChannel()
          Returns opened channel.
 
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
 
Methods inherited from interface com.jscape.inet.ssh.ChannelRequest
execute
 

Constructor Detail

SessionRequest

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

Parameters:
windowSize - window size
packetSize - packet size
Method Detail

getChannel

public Channel getChannel()
Description copied from interface: ChannelRequest
Returns opened channel.

Returns:
opened channel or null if request has not been executed
See Also:
ChannelRequest.getChannel()

Secure iNet Factory

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