Secure iNet Factory

com.jscape.inet.ssh
Interface ChannelRequest

All Known Implementing Classes:
AbstractChannelRequest, AdaptiveSessionRequest, SessionRequest

public interface ChannelRequest

Channel request.

Version:
1.0
Author:
Alex
See Also:
Source code

Field Summary
static int DEFAULT_PACKET_SIZE
           
static int DEFAULT_WINDOW_SIZE
           
 
Method Summary
 void execute(ConnectionClient client)
          Executes the request.
 Channel getChannel()
          Returns opened channel.
 int getPacketSize()
          Returns request max packet size.
 long getWindowSize()
          Returns request window size.
 

Field Detail

DEFAULT_WINDOW_SIZE

static final int DEFAULT_WINDOW_SIZE
See Also:
Constant Field Values

DEFAULT_PACKET_SIZE

static final int DEFAULT_PACKET_SIZE
See Also:
Constant Field Values
Method Detail

getWindowSize

long getWindowSize()
Returns request window size.

Returns:
request window size in bytes

getPacketSize

int getPacketSize()
Returns request max packet size.

Returns:
request max packet size in bytes

execute

void execute(ConnectionClient client)
             throws java.io.IOException
Executes the request.

Parameters:
client - connection client
Throws:
java.io.IOException - if an I/O error occurs

getChannel

Channel getChannel()
Returns opened channel.

Returns:
opened channel or null if request has not been executed

Secure iNet Factory

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