code: protected void open(int remoteid, long remotewindow, int remotepacket)
  			throws IOException {
  		this.remoteid = remoteid;
  		this.remotewindow = new DataWindow(remotewindow, remotepacket);
  
  		this.state = CHANNEL_OPEN;
  
  		synchronized (listeners) {
  			for (Enumeration<ChannelEventListener> e = listeners.elements(); e
  					.hasMoreElements();) {
  				(e.nextElement()).channelOpened(this);
  			}
  		}
  	}
docs: Called once an SSH_MSG_CHANNEL_OPEN_CONFIRMATION has been sent.
  
  @param remoteid
  @param remotewindow
  @param remotepacket
  @throws IOException