Lines Matching refs:transport
27 public var transport: TTransport variable
34 public init(transport: TTransport, maxSize: Int) {
35 self.transport = transport
39 public convenience init(transport: TTransport) {
40 self.init(transport: transport, maxSize: TFramedTransport.defaultMaxLength)
44 let read = try transport.readAll(size: TFramedTransport.headerSize) in readHeader()
68 let data = try transport.readAll(size: toRead) in read()
80 try transport.write(data: frameSize) in flush()
81 try transport.write(data: buff) in flush()
82 try transport.flush() in flush()
111 try transport.close() in close()
115 try transport.open() in open()
119 return try transport.isOpen() in isOpen()