code: private void setFields(Connection connection,
                            JFapByteBuffer buffer,
                            int priority,
                            boolean isPooled,
                            boolean isExchange,
                            int segmentType,
                            int conversationId,
                            int requestNumber,
                            Conversation conversation,
                            SendListener sendListener,
                            boolean isTerminal,
                            int size)
     {
        this.connection = connection;
        this.buffer = buffer;
        this.priority = priority;
        this.isPooled = isPooled;
        this.isExchange = isExchange;
        this.segmentType = segmentType;
        this.conversationId = conversationId;
        this.requestNumber = requestNumber;
        this.conversation = conversation;
        this.sendListener = sendListener;
        this.isTerminal = isTerminal;
        this.size = size;
        bytesRemaining = size;
     }
docs: Helper method which sets up fields in this class.
  @param connection
  @param buffer
  @param priority
  @param isPooled
  @param isExchange
  @param segmentType
  @param conversationId
  @param requestNumber
  @param conversation
  @param sendListener
  @param isTerminal
  @param size