hudson.remoting.Channel.getPipeWindow()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(4.4k)|赞(0)|评价(0)|浏览(109)

本文整理了Java中hudson.remoting.Channel.getPipeWindow()方法的一些代码示例,展示了Channel.getPipeWindow()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Channel.getPipeWindow()方法的具体详情如下:
包路径:hudson.remoting.Channel
类名称:Channel
方法名:getPipeWindow

Channel.getPipeWindow介绍

暂无

代码示例

代码示例来源:origin: hudson/hudson-2.x

@Override
protected void execute(Channel channel) {
  PipeWindow w = channel.getPipeWindow(oid);
  w.dead(createdAt.getCause());
}

代码示例来源:origin: org.eclipse.hudson/hudson-remoting

@Override
protected void execute(Channel channel) {
  PipeWindow w = channel.getPipeWindow(oid);
  w.dead(createdAt.getCause());
}

代码示例来源:origin: org.eclipse.hudson.main/hudson-remoting

@Override
protected void execute(Channel channel) {
  PipeWindow w = channel.getPipeWindow(oid);
  w.dead(createdAt.getCause());
}

代码示例来源:origin: jenkinsci/remoting

@Override
protected void execute(Channel channel) {
  PipeWindow w = channel.getPipeWindow(oid);
  w.dead(createdAt != null ? createdAt.getCause() : null);
}

代码示例来源:origin: jenkinsci/remoting

@Override
protected void execute(Channel channel) {
  PipeWindow w = channel.getPipeWindow(oid);
  w.dead(createdAt != null ? createdAt.getCause() : null);
}

代码示例来源:origin: org.eclipse.hudson.main/hudson-remoting

protected void execute(Channel channel) {
  PipeWindow w = channel.getPipeWindow(oid);
  w.increase(size);
}

代码示例来源:origin: org.eclipse.hudson/hudson-remoting

protected void execute(Channel channel) {
  PipeWindow w = channel.getPipeWindow(oid);
  w.increase(size);
}

代码示例来源:origin: jenkinsci/remoting

protected void execute(Channel channel) {
  PipeWindow w = channel.getPipeWindow(oid);
  w.increase(size);
}

代码示例来源:origin: hudson/hudson-2.x

protected void execute(Channel channel) {
  PipeWindow w = channel.getPipeWindow(oid);
  w.increase(size);
}

代码示例来源:origin: jenkinsci/remoting

protected void execute(Channel channel) {
  PipeWindow w = channel.getPipeWindow(oid);
  w.increase(size);
}

代码示例来源:origin: jenkinsci/remoting

/**
 * Connects this stream to the specified remote object.
 */
synchronized void connect(@Nonnull Channel channel, int oid) throws IOException {
  if(this.channel!=null)
    throw new IllegalStateException("Cannot connect twice");
  if(oid==0)
    throw new IllegalArgumentException("oid=0");
  this.channel = channel;
  this.oid = oid;
  window =  channel.getPipeWindow(oid);
  if(closed)  // already marked closed?
    doClose(error);
  notifyAll(); // release blocking writes
}

代码示例来源:origin: jenkinsci/remoting

/**
 * Connects this stream to the specified remote object.
 */
synchronized void connect(@Nonnull Channel channel, int oid) throws IOException {
  if(this.channel!=null)
    throw new IllegalStateException("Cannot connect twice");
  if(oid==0)
    throw new IllegalArgumentException("oid=0");
  this.channel = channel;
  this.oid = oid;
  window =  channel.getPipeWindow(oid);
  // if we already have bytes to write, do so now.
  if(tmp!=null) {
    char[] b = tmp.toCharArray();
    tmp = null;
    _write(b, 0, b.length);
  }
  if(closeCause != null) { // already closed asynchronously?
    close();
  }
}

代码示例来源:origin: hudson/hudson-2.x

/**
 * Connects this stream to the specified remote object.
 */
synchronized void connect(Channel channel, int oid) throws IOException {
  if (this.channel != null) {
    throw new IllegalStateException("Cannot connect twice");
  }
  if (oid == 0) {
    throw new IllegalArgumentException("oid=0");
  }
  this.channel = channel;
  this.oid = oid;
  window = channel.getPipeWindow(oid);
  // if we already have bytes to write, do so now.
  if (tmp != null) {
    byte[] b = tmp.toByteArray();
    tmp = null;
    _write(b, 0, b.length);
  }
  if (closed)  // already marked closed?
  {
    doClose();
  }
}

代码示例来源:origin: org.eclipse.hudson.main/hudson-remoting

/**
 * Connects this stream to the specified remote object.
 */
synchronized void connect(Channel channel, int oid) throws IOException {
  if (this.channel != null) {
    throw new IllegalStateException("Cannot connect twice");
  }
  if (oid == 0) {
    throw new IllegalArgumentException("oid=0");
  }
  this.channel = channel;
  this.oid = oid;
  window = channel.getPipeWindow(oid);
  // if we already have bytes to write, do so now.
  if (tmp != null) {
    byte[] b = tmp.toByteArray();
    tmp = null;
    _write(b, 0, b.length);
  }
  if (closed)  // already marked closed?
  {
    doClose();
  }
}

代码示例来源:origin: org.eclipse.hudson/hudson-remoting

/**
 * Connects this stream to the specified remote object.
 */
synchronized void connect(Channel channel, int oid) throws IOException {
  if (this.channel != null) {
    throw new IllegalStateException("Cannot connect twice");
  }
  if (oid == 0) {
    throw new IllegalArgumentException("oid=0");
  }
  this.channel = channel;
  this.oid = oid;
  window = channel.getPipeWindow(oid);
  // if we already have bytes to write, do so now.
  if (tmp != null) {
    byte[] b = tmp.toByteArray();
    tmp = null;
    _write(b, 0, b.length);
  }
  if (closed)  // already marked closed?
  {
    doClose();
  }
}

相关文章