Class JSortClient

java.lang.Object
  |
  +--JSortClient

class JSortClient
extends java.lang.Object

JSortClient -- JSort Example Client


Field Summary
(package private)  int iRecLength
           
(package private)  JSortInterface jSort
           
 
Constructor Summary
(package private) JSortClient()
           
 
Method Summary
(package private)  void findService(java.lang.String sServiceName)
          This finds the JSort service using Jini's lookup service.
static void main(java.lang.String[] args)
           
private  java.lang.String releaseRecordsToSort(boolean bUseBlocksIn)
          This creates records then releases them to sort and invokes the sort.
(package private)  void returnRecordsFromSort(java.lang.String sJobNameIn, boolean bUseBlocksIn)
          This returns all the records from the sort service.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

iRecLength

int iRecLength

jSort

JSortInterface jSort
Constructor Detail

JSortClient

JSortClient()
Method Detail

main

public static void main(java.lang.String[] args)

findService

void findService(java.lang.String sServiceName)
This finds the JSort service using Jini's lookup service.

releaseRecordsToSort

private java.lang.String releaseRecordsToSort(boolean bUseBlocksIn)
This creates records then releases them to sort and invokes the sort. It returns the name of the sort job that is received from the jsort service.

returnRecordsFromSort

void returnRecordsFromSort(java.lang.String sJobNameIn,
                           boolean bUseBlocksIn)
This returns all the records from the sort service.