used to add a new protocol on AMI engine
We assume that the description file is correct ( well-formed and contains SYSTEM attribute )
to be added : check description file before registration
Manages and stores incoming AMI packets
Singleton
The AMIInputSpool contains static parts and multi-threaded instance parts
There are the same number of AMIReader than of AMIInputSpool threads
Contains spools of AMI request waiting for sending
Singleton
The AMIOutputSpool is also responsable for merging queries in common packets if it is possible.
This class is an adaptation for AMI of the TableSorter class given by SUN int he swing tutorial
It isa decorator used by a JTable to give sorting capabilities
Original autor: Philip Milne 1.5 12/17/97
Used to factorise blowfish code utilation
in: byte array to encode
out: encoded byte array
We can't work with lines because a encoded string can contain an '\n'.
Used to avaluate interrest of the iai and stores results if it is a reply for an AR
Note that the fact of having unknown putr is not concidered as new result
The hashtable key is arid; the AR id and it contains an Object array with:
max (Integer) : max nb of results for this AR
retrieved (Integer) : nb of restrieved results for this AR
results (Vector) : results themselves
Stores parameters format
protocol name -> hashmap
parameter name -> String[] [ type,minlength,maxlength,minvalue,maxvalue,default ] null if not applicable
Returns true if the criteria set contains an AMI criteria ( in this case, it must be the only
criteria because a protocol ami criteria can't be mixed with others protocol criterias )
vector vAISPacket contains n hashtable hCurrentAIS
hashtable hCurrentAIS contains attributes entries and an object ( vector or string ) if any subelements
-- AR case:
Hashtable ar contains n vectors vParam
Each vParam vector contains n sParam string array
sParam array contains entries of the param ( "name", "value", "and" )
-- EAI case: "eai" -> hEAI
hEAI hashtable contains EAI properties