if ( !SOSString.isEmpty ( order.params().value("host") ) ) {
host = order.params().value("host");
}
if ( !SOSString.isEmpty ( order.params().value("port") ) ) {
try {
port = Integer.parseInt( order.params().value("port") );
} catch (Exception e) {
throw new Exception("illegal, non-numeric value [" + order.params().value("port") + "] for parameter [port]: " + e.getMessage());
}