MCPcopy Create free account
hub / github.com/M66B/FairEmail / initStreams

Method initStreams

app/src/main/java/com/sun/mail/iap/Protocol.java:135–144  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

133 }
134
135 private void initStreams() throws IOException {
136 traceInput = new TraceInputStream(socket.getInputStream(), traceLogger);
137 traceInput.setQuote(quote);
138 input = new ResponseInputStream(traceInput);
139
140 traceOutput =
141 new TraceOutputStream(socket.getOutputStream(), traceLogger);
142 traceOutput.setQuote(quote);
143 output = new DataOutputStream(new BufferedOutputStream(traceOutput));
144 }
145
146 /**
147 * Compute the tag prefix to be used for this connection.

Callers 2

ProtocolMethod · 0.95
startTLSMethod · 0.95

Calls 3

getInputStreamMethod · 0.65
getOutputStreamMethod · 0.65
setQuoteMethod · 0.45

Tested by

no test coverage detected