Home
last modified time | relevance | path

Searched refs:readStream (Results 1 – 2 of 2) sorted by relevance

/thrift-3.4.0/lib/swift/Sources/
DTSocketTransport.swift79 var readStream: Unmanaged<CFReadStream>? variable
84 &readStream,
87 if let readStream = readStream?.takeRetainedValue(), variable
89 CFReadStreamSetProperty(readStream, .shouldCloseNativeSocket, kCFBooleanTrue)
93 …CFReadStreamSetProperty(readStream, .socketSecurityLevel, StreamSocketSecurityLevel.negotiatedSSL.…
97 inputStream = readStream as InputStream
107 if readStream != nil {
108 readStream?.release()
DTSSLSocketTransport.swift48 var readStream: Unmanaged<CFReadStream>? variable
91 CFStreamCreatePairWithSocket(kCFAllocatorDefault, sd, &readStream, &writeStream)
93 CFReadStreamSetProperty(readStream?.takeRetainedValue(), .socketNativeHandle, kCFBooleanTrue)
98 if readStream != nil && writeStream != nil {
100 CFReadStreamSetProperty(readStream?.takeRetainedValue(),
106 CFReadStreamSetProperty(readStream?.takeRetainedValue(),
114 inputStream = readStream!.takeRetainedValue()
122 readStream?.release()