@Override public InputStream call() throws Exception { return streamNegotiator .createIncomingStream(receiveRequest.getStreamInitiation()); } });
public InputStream call() throws Exception { return streamNegotiator .createIncomingStream(recieveRequest.getStreamInitiation()); } });
public InputStream call() throws Exception { return streamNegotiator .createIncomingStream(recieveRequest.getStreamInitiation()); } });
public InputStream call() throws Exception { return streamNegotiator .createIncomingStream(recieveRequest.getStreamInitiation()); } });
private InputStream negotiateStream() throws XMPPException { setStatus(Status.NEGOTIATING_TRANSFER); StreamNegotiator streamNegotiator = negotiator .selectStreamNegotiator(recieveRequest); setStatus(Status.NEGOTIATING_STREAM); InputStream inputStream = streamNegotiator .createIncomingStream(recieveRequest.getStreamInitiation()); setStatus(Status.NEGOTIATED); return inputStream; }