public setSize ( int row, int col, int wp, int hp ) : void | ||
row | int | |
col | int | |
wp | int | |
hp | int | |
return | void |
public void setSize(int row, int col, int wp, int hp)
{
this.width_columns=row;
this.height_rows=col;
this.width_pixels=wp;
this.height_pixels=hp;
}
public void request(Session session, Channel channel)
public void setPtySize(int col, int row, int wp, int hp) { //if(thread==null) return; try { RequestWindowChange request = new RequestWindowChange(); request.setSize(col, row, wp, hp); request.request(session, this); } catch (Exception e) { throw new JSchException("ChannelShell.setPtySize: " + e.ToString()); } }