[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Handle-info] GenericBatch query
Hi All,
We are using class net.handle.apps.batch.GenericBatch in our application
for batch Handle updates.
Our handle server is set up to take TCP packets only and as a result we
usually set the preferred protocols as TCP in the Handle resolver.
Looking inside GenericBatch constructors it constructs its own resolver
and doesn't allow the user to set the preferred protocols as a result
the application is
delayed cause first the UDP packages are sent and then TCP to the handle
server.
Line 102 in the GenericBatch is commented out which would have solved
the purpose.
//this.resolver.setPreferredProtocols(new int[] {
Interface.SP_HDL_TCP, Interface.SP_HDL_HTTP });
Do we need to modify the GenericBatch file and bundle again into
handle.jar and then use it or is there any better way which we may be
missing out ?
--
kind regards,
Amit Chaudhary.
Senior Developer,
PILIN Project, ARROW
Monash University Library
Building 4
Monash University VIC 3800 Australia
Tel : (+61 3) 9902 0344
Email : amit.chaudhary@lib.monash.edu.au
_______________________________________________
Handle-Info mailing list
Handle-Info@cnri.reston.va.us
http://www.handle.net/mailman/listinfo/handle-info