Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b2d9210

Browse files
SimplePipeRunnable now knows pipe mode: query or continuum
1 parent 700df88 commit b2d9210

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

sources/net.sf.j2s.ajax/ajaxpipe/net/sf/j2s/ajax/SimplePipeRunnable.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,19 @@ public abstract class SimplePipeRunnable extends SimpleRPCRunnable {
7272
@J2SIgnore
7373
List<SimpleSerializable> pipeData;
7474

75+
@J2SIgnore
76+
int pipeMode;
77+
78+
@J2SIgnore
79+
public int getPipeMode() {
80+
return pipeMode;
81+
}
82+
83+
@J2SIgnore
84+
public void setPipeMode(int pipeMode) {
85+
this.pipeMode = pipeMode;
86+
}
87+
7588
@J2SIgnore
7689
public List<SimpleSerializable> getPipeData() {
7790
return pipeData;

sources/net.sf.j2s.ajax/ajaxrpc/net/sf/j2s/ajax/SimpleClassLoader.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public Class<?> loadClass(String clazzName) throws ClassNotFoundException {
7070
}
7171
return clazz;
7272
} catch (Throwable e) {
73-
e.printStackTrace();
73+
//e.printStackTrace();
7474
}
7575
}
7676
return getParent().loadClass(clazzName);
@@ -122,7 +122,7 @@ public static Object loadSimpleInstance(String clazzName) {
122122
return runnableClass.newInstance();
123123
}
124124
} catch (Exception e) {
125-
e.printStackTrace();
125+
//e.printStackTrace();
126126
}
127127
return null;
128128
}

0 commit comments

Comments
 (0)