this.is_in_only = false;
this.is_out_only = false;
this.send_binary_data = false;
ECons settings = portSetting.testCons();
if (settings == null)
throw ERT.badarg();
for (; settings != null && !settings.isNil(); settings = settings
.tail().testCons()) {
EObject val = settings.head();
ETuple tup;
if ((tup = val.testTuple()) != null) {
ETuple2 tup2;
if ((tup2 = ETuple2.cast(tup)) != null) {