📄 threadcontainer.java
字号:
package org.osu.ogsa.stream.services;//This class is created for running the application //in a threadclass ThreadContainer extends Thread{ private StreamServiceProvider ssp; private StreamProcessor processor; public ThreadContainer(StreamServiceProvider ssp) { this.ssp = ssp; } public void run() { //get inBufArray and outBufArray ssp.startJob(); processor.work(ssp.inBufArray, ssp.outBufArray); ssp.finishJob(); } public void initProcessing(StreamProcessor proc) { this.processor = proc; processor.init(ssp); } public void startProcessing() { start(); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -