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 ; }
Helper method which sets up fields in this class .