equal
deleted
inserted
replaced
49 |
49 |
50 /** |
50 /** |
51 * Creates a new SocketOutputStream. Can only be called |
51 * Creates a new SocketOutputStream. Can only be called |
52 * by a Socket. This method needs to hang on to the owner Socket so |
52 * by a Socket. This method needs to hang on to the owner Socket so |
53 * that the fd will not be closed. |
53 * that the fd will not be closed. |
54 * @param impl the socket output stream inplemented |
54 * @param impl the socket output stream implemented |
55 */ |
55 */ |
56 SocketOutputStream(AbstractPlainSocketImpl impl) throws IOException { |
56 SocketOutputStream(AbstractPlainSocketImpl impl) throws IOException { |
57 super(impl.getFileDescriptor()); |
57 super(impl.getFileDescriptor()); |
58 this.impl = impl; |
58 this.impl = impl; |
59 socket = impl.getSocket(); |
59 socket = impl.getSocket(); |