コード例 #1
0
 /**
  * Outputs to the console that a call proceeding message has been received
  *
  * @since 1.0
  * @version 1.2
  */
 private void receivedCallProceeding(ATMCell cell) {
   System.out.println(
       "REC CALLPRO: Computer "
           + address
           + " received a call proceeding message "
           + cell.getTraceID());
 }
コード例 #2
0
 /**
  * Outputs to the console that a connect ack message has been sent
  *
  * @since 1.2
  */
 private void sentConnectAck(ATMCell cell) {
   System.out.println(
       "SND CALLACK: Computer " + address + " sent a connect ack message " + cell.getTraceID());
 }
コード例 #3
0
 /**
  * Outputs to the console that a wait message has been received
  *
  * @since 1.0
  * @version 1.2
  */
 private void receivedWait(ATMCell cell) {
   System.out.println(
       "REC WAIT: Computer " + address + " received a wait message " + cell.getTraceID());
 }
コード例 #4
0
 /**
  * Outputs to the console that an end message has been received
  *
  * @since 1.0
  * @version 1.2
  */
 private void receivedEndAck(ATMCell cell) {
   System.out.println(
       "REC ENDACK: Computer " + address + " received an end ack message " + cell.getTraceID());
 }
コード例 #5
0
 /**
  * Outputs to the console that an end message has been received
  *
  * @since 1.0
  * @version 1.2
  */
 private void sentEnd(ATMCell cell) {
   System.out.println(
       "SND END: Computer " + address + " sent an end message " + cell.getTraceID());
 }
コード例 #6
0
 /**
  * Outputs to the console that a connect message has been received
  *
  * @since 1.0
  * @version 1.2
  */
 private void receivedConnect(ATMCell cell) {
   System.out.println(
       "REC CONN: Computer " + address + " received a connect message " + cell.getTraceID());
 }
コード例 #7
0
 /**
  * Outputs to the console that a connect message has been sent
  *
  * @since 1.0
  * @version 1.2
  */
 private void sentSetup(ATMCell cell) {
   System.out.println(
       "SND SETUP: Computer " + address + " sent a connect setup " + cell.getTraceID());
 }