method to read two separate serial ports

I'm not sure how to accomplish what I'd like. The code below obviously doesn't work:

main sketch:

  if (Serial1.available () > 0) {
    comms.mehtod(1);
  }  // end of incoming data

  if (Serial3.available () > 0) {
    comms.method(3);
  }  // end of incoming data

comms:

void Comms::method(int port){

int inByteT = Serial(port).read();
}

can someone point me in the right direction?

Switch/case or an array.

Make sure you get the correct spelling of "method"