QJCC homepage

biz.chitec.qdemo.gjsa
Class SyncBurstReceiverDemo.IntegerBurstMaker

java.lang.Object
  extended bybiz.chitec.quarterback.gjsa.server.BurstMaker
      extended bybiz.chitec.qdemo.gjsa.SyncBurstReceiverDemo.IntegerBurstMaker
Enclosing class:
SyncBurstReceiverDemo

private class SyncBurstReceiverDemo.IntegerBurstMaker
extends BurstMaker

A small demo burst maker which returns integers. Returns the integers between the given start (inclusive) and end (exclusive)

Version:
$Id: 1bed9c82d4e37c59eb9acfc47ef639cc55643a1a $
Author:
chitec/dh, 2003

Nested Class Summary
 
Nested classes inherited from class biz.chitec.quarterback.gjsa.server.BurstMaker
 
Field Summary
(package private)  int globalend
           
(package private)  int globalstart
           
(package private)  boolean islinearcontinuable
           
 
Fields inherited from class biz.chitec.quarterback.gjsa.server.BurstMaker
loggable
 
Constructor Summary
SyncBurstReceiverDemo.IntegerBurstMaker(int startx, int endx)
           
 
Method Summary
 java.util.List getReplyPart(int start, int num)
          constructs a part of the answer.
 boolean linearContinueable()
          returns whether more data is available.
 
Methods inherited from class biz.chitec.quarterback.gjsa.server.BurstMaker
burstIterator, burstIterator, elementIterator, elementIterator, getCompleteReply, getCompleteReply, getRefNr, isLoggable, iterator, iterator, setLoggable, setRefNr
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

globalstart

int globalstart

globalend

int globalend

islinearcontinuable

boolean islinearcontinuable
Constructor Detail

SyncBurstReceiverDemo.IntegerBurstMaker

public SyncBurstReceiverDemo.IntegerBurstMaker(int startx,
                                               int endx)
Method Detail

getReplyPart

public java.util.List getReplyPart(int start,
                                   int num)
                            throws java.sql.SQLException
Description copied from class: BurstMaker
constructs a part of the answer. This method must be implemented by any actual BurstMaker.

Specified by:
getReplyPart in class BurstMaker
Throws:
java.sql.SQLException
See Also:
BurstMaker.getReplyPart(int, int)

linearContinueable

public boolean linearContinueable()
Description copied from class: BurstMaker
returns whether more data is available. This method returns true if another getReplyPart() call is possible where start is start+num of the last call.

Specified by:
linearContinueable in class BurstMaker
See Also:
BurstMaker.linearContinueable()

QJCC homepage