/** * Constructor for the <code>TransportChannel</code> object. The * transport channel basically wraps a channel and provides a * means to send and receive data using specialized adapters. * These adapters provide a simpler means for communicating over * the network to the connected client. * * @param transport this is the underlying transport to be used */ public TransportChannel(Transport transport) throws IOException { this.cursor = new TransportCursor(transport); this.writer = new TransportWriter(transport); this.certificate = transport.getCertificate(); this.engine = transport.getEngine(); this.trace = transport.getTrace(); this.transport = transport; }
/** * Constructor for the <code>TransportChannel</code> object. The * transport channel basically wraps a channel and provides a * means to send and receive data using specialized adapters. * These adapters provide a simpler means for communicating over * the network to the connected client. * * @param transport this is the underlying transport to be used */ public TransportChannel(Transport transport) throws IOException { this.cursor = new TransportCursor(transport); this.sender = new TransportSender(transport); this.certificate = transport.getCertificate(); this.engine = transport.getEngine(); this.trace = transport.getTrace(); this.transport = transport; }
/** * Constructor for the <code>TransportChannel</code> object. The * transport channel basically wraps a channel and provides a * means to send and receive data using specialized adapters. * These adapters provide a simpler means for communicating over * the network to the connected client. * * @param transport this is the underlying transport to be used */ public TransportChannel(Transport transport) throws IOException { this.cursor = new TransportCursor(transport); this.writer = new TransportWriter(transport); this.certificate = transport.getCertificate(); this.engine = transport.getEngine(); this.trace = transport.getTrace(); this.transport = transport; }