if(sc.output_type == Constants.TYPE_INTEGER){output = resp.content().readInt();
}else if(sc.output_type == Constants.TYPE_DOUBLE){output = resp.content().readDouble();
}else if(sc.output_type == Constants.TYPE_STRING){output = resp.content().readStringUTF8();
}else if(sc.output_type == Constants.POSITION_2D){
double x = resp.content().readDouble();
double y = resp.content().readDouble();
output = new SumoPosition2D(x,y);
}else if(sc.output_type == Constants.POSITION_3D){
double x = resp.content().readDouble();
double y = resp.content().readDouble();
double z = resp.content().readDouble();