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