Example usage for io.netty.util AbstractReferenceCounted subclass-usage

List of usage examples for io.netty.util AbstractReferenceCounted subclass-usage

Introduction

In this page you can find the example usage for io.netty.util AbstractReferenceCounted subclass-usage.

Usage

From source file org.dcache.xrootd.protocol.messages.AsyncResponse.java

public class AsyncResponse<T extends XrootdRequest> extends AbstractReferenceCounted implements XrootdResponse<T> {
    private final XrootdResponse<T> response;

    public AsyncResponse(XrootdResponse<T> response) {
        this.response = response;
    }

From source file org.dcache.xrootd.protocol.messages.ReadVResponse.java

public class ReadVResponse extends AbstractReferenceCounted implements XrootdResponse<ReadVRequest> {
    public static final int READ_LIST_HEADER_SIZE = 16;

    private final ReadVRequest request;
    private final int stat;
    private final EmbeddedReadRequest[] requests;

From source file org.scache.network.protocol.MessageWithHeader.java

/**
 * A wrapper message that holds two separate pieces (a header and a body).
 *
 * The header must be a ByteBuf, while the body can be a ByteBuf or a FileRegion.
 */
class MessageWithHeader extends AbstractReferenceCounted implements FileRegion {