/**
* Visit reader class
*/
public void visit(BaseReader br) {
// FIXME, make as assert here about no class cast exception
InstanceReader iRdr = (InstanceReader) br;
try {
_i.setName(iRdr.getName());
} catch (LbReaderException le) {
// XXX ignore
}
try {
_i.setEnabled(Boolean.toString(iRdr.getLbEnabled()));
} catch (LbReaderException le) {
// XXX ignore
}
try {
_i.setDisableTimeoutInMinutes(iRdr.getDisableTimeoutInMinutes());
} catch (LbReaderException le) {
// XXX ignore
}
try {
_i.setListeners(iRdr.getListeners());
} catch (LbReaderException le) {
// XXX ignore
}
}