@NotThreadSafe public class TOutputStreamTransport extends Object implements com.facebook.drift.protocol.TTransport
| Constructor and Description |
|---|
TOutputStreamTransport(OutputStream outputStream) |
| Modifier and Type | Method and Description |
|---|---|
void |
read(byte[] buf,
int off,
int len) |
void |
write(byte[] buf,
int off,
int len) |
public TOutputStreamTransport(OutputStream outputStream)
public void read(byte[] buf,
int off,
int len)
read in interface com.facebook.drift.protocol.TTransportpublic void write(byte[] buf,
int off,
int len)
throws com.facebook.drift.protocol.TTransportException
write in interface com.facebook.drift.protocol.TTransportcom.facebook.drift.protocol.TTransportExceptionCopyright © 2010–2024 Airlift. All rights reserved.