124125126127128129130131
{ if (!(ctx.requestContext instanceof NiftyRequestContext)) { return 0; } NiftyRequestContext requestContext = (NiftyRequestContext) ctx.requestContext; return requestContext.getNiftyTransport().getReadByteCount(); }
136137138139140141142143
// Standard TTransport interface doesn't give us a way to determine how many bytes // were read return 0; } NiftyRequestContext requestContext = (NiftyRequestContext) ctx.requestContext; return requestContext.getNiftyTransport().getWrittenByteCount(); }