package pw.koj.jetstreem.core;

public class Streem {
    TaskMode mode;
    char flags;
    StrmFunc startFunc;
    StrmFunc closeFunc;
    Void data;
    Streem dst;
    Streem nextd;

    public Streem(TaskMode mode, StrmFunc startFunc, StrmFunc closeFunc, Void data) {
        this.mode = mode;
        this.startFunc = startFunc;
        this.closeFunc = closeFunc;
        this.data = data;
        this.dst = null;
        this.nextd = null;
        this.flags = 0;
    }
}


@@ -51,16 +51,24 @@
 m %7B%0A    
+private 
 TaskMode
@@ -78,16 +78,53 @@
 de;%0A    
+private StrmQueue queue;%0A    private 
 char fla
@@ -127,24 +127,32 @@
  flags;%0A    
+private 
 StrmFunc sta
@@ -163,16 +163,24 @@
 nc;%0A    
+private 
 StrmFunc
@@ -195,16 +195,24 @@
 nc;%0A    
+private 
 Void dat
@@ -214,24 +214,32 @@
 d data;%0A    
+private 
 Streem dst;%0A
@@ -242,16 +242,24 @@
 st;%0A    
+private 
 Streem n
@@ -297,16 +297,33 @@
 de mode,
+ StrmQueue queue,
  StrmFun
@@ -390,24 +390,52 @@
 ode = mode;%0A
+        this.queue = queue;%0A
         this

add member queue to class Streem