org.apache.blur.thirdparty.thrift_0_9_0.transport
Class TFileTransport.Event
java.lang.Object
org.apache.blur.thirdparty.thrift_0_9_0.transport.TFileTransport.Event
- Enclosing class:
- TFileTransport
public static class TFileTransport.Event
- extends Object
TFileTransport.Event
public TFileTransport.Event(byte[] buf)
- Initialize an event. Initially, it has no valid contents
- Parameters:
buf
- byte array buffer to store event
getBuf
public byte[] getBuf()
getSize
public int getSize()
setAvailable
public void setAvailable(int sz)
getRemaining
public int getRemaining()
emit
public int emit(byte[] buf,
int offset,
int ndesired)
Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.