blob: 3fd0bbd4476f46f3c04e4b7c656a510ea403aadf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
/*************************************************
*
* = PACKAGE
* JACE.ASX
*
* = FILENAME
* ThruTask.java
*
*@author Prashant Jain
*
*************************************************/
package JACE.ASX;
/**
* Standard module that acts as a "no op", simply passing on all
* data to its adjacent neighbor.
*/
public class ThruTask extends Task
{
public int open (Object obj)
{
return 0;
}
public int close (long flags)
{
return 0;
}
public int put (MessageBlock msg, TimeValue tv)
{
return this.putNext (msg, tv);
}
public int svc ()
{
return -1;
}
public int handleTimeout (TimeValue tv, Object obj)
{
return 0;
}
}
|