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

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

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

Channel.unexport介绍

[英]Unexports object.
[中]未报告对象。

代码示例

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

  1. public void run() {
  2. channel.unexport(oid);
  3. }
  4. });

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

  1. public void run() {
  2. channel.unexport(oid);
  3. }
  4. });

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

  1. public void run() {
  2. channel.unexport(oid,createdAt,false);
  3. }
  4. });

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

  1. protected void execute(Channel channel) {
  2. channel.unexport(oid);
  3. }

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

  1. protected void execute(Channel channel) {
  2. channel.unexport(oid);
  3. }

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

  1. public void run() {
  2. channel.unexport(oid);
  3. }
  4. });

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

  1. public void run() {
  2. channel.unexport(oid);
  3. try {
  4. os.close();
  5. } catch (IOException e) {
  6. // ignore errors
  7. }
  8. }
  9. });

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

  1. public void run() {
  2. channel.unexport(oid,createdAt,false);
  3. try {
  4. os.close();
  5. } catch (IOException e) {
  6. // ignore errors
  7. }
  8. }
  9. });

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

  1. public void run() {
  2. channel.unexport(oid);
  3. try {
  4. os.close();
  5. } catch (IOException e) {
  6. // ignore errors
  7. }
  8. }
  9. });

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

  1. public void run() {
  2. channel.unexport(oid);
  3. try {
  4. os.close();
  5. } catch (IOException e) {
  6. // ignore errors
  7. }
  8. }
  9. });

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

  1. protected void execute(Channel channel) {
  2. OutputStream os = (OutputStream) channel.getExportedObject(oid);
  3. channel.unexport(oid);
  4. try {
  5. os.close();
  6. } catch (IOException e) {
  7. // ignore errors
  8. }
  9. }

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

  1. protected void execute(Channel channel) {
  2. InputStream in = (InputStream) channel.getExportedObject(oid);
  3. channel.unexport(oid);
  4. try {
  5. in.close();
  6. } catch (IOException e) {
  7. // ignore errors
  8. }
  9. }

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

  1. protected void execute(Channel channel) {
  2. OutputStream os = (OutputStream) channel.getExportedObject(oid);
  3. channel.unexport(oid);
  4. try {
  5. os.close();
  6. } catch (IOException e) {
  7. // ignore errors
  8. }
  9. }

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

  1. protected void execute(Channel channel) {
  2. OutputStream os = (OutputStream) channel.getExportedObject(oid);
  3. channel.unexport(oid);
  4. try {
  5. os.close();
  6. } catch (IOException e) {
  7. // ignore errors
  8. }
  9. }

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

  1. protected void execute(Channel channel) {
  2. InputStream in = (InputStream) channel.getExportedObject(oid);
  3. channel.unexport(oid);
  4. try {
  5. in.close();
  6. } catch (IOException e) {
  7. // ignore errors
  8. }
  9. }

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

  1. protected void execute(Channel channel) {
  2. InputStream in = (InputStream) channel.getExportedObject(oid);
  3. channel.unexport(oid);
  4. try {
  5. in.close();
  6. } catch (IOException e) {
  7. // ignore errors
  8. }
  9. }

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

  1. public void run() {
  2. channel.unexport(oid,createdAt,false);
  3. try {
  4. if (error!=null && os instanceof ErrorPropagatingOutputStream)
  5. ((ErrorPropagatingOutputStream) os).error(error);
  6. os.close();
  7. } catch (IOException e) {
  8. // ignore errors
  9. }
  10. }
  11. }));

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

  1. public void run() {
  2. try {
  3. final ProxyOutputStream ros = (ProxyOutputStream) channel.getExportedObject(oidRos);
  4. channel.unexport(oidRos);
  5. ros.connect(channel, oidPos);
  6. } catch (IOException e) {
  7. logger.log(Level.SEVERE, "Failed to connect to pipe", e);
  8. }
  9. }
  10. });

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

  1. public void run() {
  2. try {
  3. final ProxyOutputStream ros = (ProxyOutputStream) channel.getExportedObject(oidRos);
  4. channel.unexport(oidRos);
  5. ros.connect(channel, oidPos);
  6. } catch (IOException e) {
  7. logger.log(Level.SEVERE, "Failed to connect to pipe", e);
  8. }
  9. }
  10. });

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

  1. public void run() {
  2. try {
  3. final ProxyOutputStream ros = (ProxyOutputStream) channel.getExportedObject(oidRos);
  4. channel.unexport(oidRos);
  5. ros.connect(channel, oidPos);
  6. } catch (IOException e) {
  7. logger.log(Level.SEVERE, "Failed to connect to pipe", e);
  8. }
  9. }
  10. });

相关文章