/**
* Visit reader class
*/
public void visit(BaseReader br) {
// FIXME, make as assert here about no class cast exception
InstanceReader iRdr = (InstanceReader) br;
try {
_c.setInstanceName(_i,iRdr.getName());
} catch (LbReaderException le) {
// XXX ignore
}
try {
_c.setInstanceEnabled(_i, ""+iRdr.getLbEnabled());
} catch (LbReaderException le) {
// XXX ignore
}
try {
_c.setInstanceDisableTimeoutInMinutes(_i,
iRdr.getDisableTimeoutInMinutes());
} catch (LbReaderException le) {
// XXX ignore
}
try {
_c.setInstanceListeners(_i, iRdr.getListeners());
} catch (LbReaderException le) {
// XXX ignore
}
try {
_c.setInstanceWeight(_i,
iRdr.getWeight());
} catch (LbReaderException le) {
// XXX ignore
}