4142434445464748495051
this.httpTransport = httpTransport; } public TransportManager createTransportManager(Protocol protocol) { TransportManager manager = null; switch(protocol) { case HTTP: manager = httpTransport;
3132333435363738394041
public class DefaultTransportManagerFactory implements TransportManagerFactory { public TransportManager createTransportManager(Protocol protocol) { TransportManager manager = null; switch(protocol) { case HTTP: manager = new HttpTransportManager();
3940414243444546474849
this.httpTransport = httpTransport; } public TransportManager createTransportManager(Protocol protocol) { TransportManager t = null; switch(protocol) { case HTTP: t = httpTransport;