Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb3449b9

Browse files
author
zhourenjian@gmail.com
committed
Support Simple Pipe level heart beat (status ok)
1 parentb2d9210 commitb3449b9

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,17 @@ public void setPipeMode(int pipeMode) {
8585
this.pipeMode =pipeMode;
8686
}
8787

88+
/**
89+
* Detect whether it is OK to send a status ok heart beat or not.
90+
* This method is considered as CPU sensitive.
91+
* @param now
92+
* @return whether send heart beat or not
93+
*/
94+
@J2SIgnore
95+
publicbooleancheckCometStatus(longnow) {
96+
returnfalse;
97+
}
98+
8899
@J2SIgnore
89100
publicList<SimpleSerializable>getPipeData() {
90101
returnpipeData;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp