public MessageChannel createMessageChannel(SIPRequest request,MessageProcessor mp,Hop nextHop) throws IOException {
  Host targetHost=new Host();
  targetHost.setHostname(nextHop.getHost());
  HostPort targetHostPort=new HostPort();
  targetHostPort.setHost(targetHost);
  targetHostPort.setPort(nextHop.getPort());
  MessageChannel returnChannel=mp.createMessageChannel(targetHostPort);
  return returnChannel;
}

public MessageChannel createMessageChannel ( SIPRequest request , MessageProcessor mp , Hop nextHop ) throws IOException { Host targetHost = new Host ( ) ; targetHost . setHostname ( nextHop . getHost ( ) ) ; HostPort targetHostPort = new HostPort ( ) ; targetHostPort . setHost ( targetHost ) ; targetHostPort . setPort ( nextHop . getPort ( ) ) ; MessageChannel returnChannel = mp . createMessageChannel ( targetHostPort ) ; return returnChannel ; }
creates a client transaction to handle a new request . gets the real message channel from the superclass , and then creates a new client transaction wrapped around this channel .
