16 public void initialize() { }
21 protected final Field getField(String fieldName) {
22 String
ftype = FWJavaScript.getFieldType(
this, fieldName,
"field");
23 if (ftype.equals(
"ILLEGAL"))
27 String sp[] = ftype.split (
" ");
28 Field fval = FWCreateField.createField(sp[0]);
29 fval.setOffset(ftype);
33 FWJavaScript.readField(
this, fieldName, fval);
41 public final Field getEventOut(String eventOutName) {
42 String
ftype = FWJavaScript
43 .getFieldType(
this, eventOutName,
"eventOut");
44 if (ftype.equals(
"ILLEGAL"))
48 String sp[] = ftype.split (
" ");
49 Field fval = FWCreateField.createField(sp[0]);
50 fval.setOffset(ftype);
59 protected final Field getEventIn(String eventInName) {
60 String
ftype = FWJavaScript
61 .getFieldType(
this, eventInName,
"eventIn");
62 if (ftype.equals(
"ILLEGAL"))
66 String sp[] = ftype.split (
" ");
68 Field fval = FWCreateField.createField(sp[0]);
69 fval.setOffset(ftype);
80 public void processEvents(
final int count,
final Event events[]) {
81 for (
int i = 0; i < count && i < events.length; ++i) {
82 processEvent(events[i]);
88 public void processEvent(
Event event) { }
91 public void eventsProcessed() { }
94 public void shutdown() { }