Home | History | Annotate | Download | only in filetransfer

Lines Matching refs:outputStream

63 	private OutputStream outputStream;

75 protected void setOutputStream(OutputStream stream) {
76 if (outputStream == null) {
77 this.outputStream = stream;
89 protected OutputStream getOutputStream() {
91 return outputStream;
109 * @return The OutputStream that is connected to the peer to transmit the
115 public synchronized OutputStream sendFile(String fileName, long fileSize,
117 if (isDone() || outputStream != null) {
124 this.outputStream = negotiateStream(fileName, fileSize, description);
129 return outputStream;
147 * negotiation process and to retrieve the OutputStream when it
158 if (isDone() || outputStream != null) {
168 OutgoingFileTransfer.this.outputStream = negotiateStream(
170 progress.outputStreamEstablished(OutgoingFileTransfer.this.outputStream);
216 outputStream = negotiateStream(file.getName(), file
222 if (outputStream == null) {
233 writeToStream(inputStream, outputStream);
247 outputStream.flush();
248 outputStream.close();
285 outputStream = negotiateStream(fileName, fileSize, description);
293 if (outputStream == null) {
301 writeToStream(in, outputStream);
314 outputStream.flush();
315 outputStream.close();
362 private OutputStream negotiateStream(String fileName, long fileSize,
383 outputStream = streamNegotiator.createOutgoingStream(streamID,
389 return outputStream;
446 void outputStreamEstablished(OutputStream stream);