org.apache.kafka.common.network
Class NetworkSend

java.lang.Object
  extended by org.apache.kafka.common.network.ByteBufferSend
      extended by org.apache.kafka.common.network.NetworkSend
All Implemented Interfaces:
Send
Direct Known Subclasses:
RequestSend

public class NetworkSend
extends ByteBufferSend

A size delimited Send that consists of a 4 byte network-ordered size N followed by N bytes of content


Field Summary
 
Fields inherited from class org.apache.kafka.common.network.ByteBufferSend
buffers
 
Constructor Summary
NetworkSend(int destination, java.nio.ByteBuffer... buffers)
           
 
Method Summary
 
Methods inherited from class org.apache.kafka.common.network.ByteBufferSend
completed, destination, reify, remaining, size, writeTo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetworkSend

public NetworkSend(int destination,
                   java.nio.ByteBuffer... buffers)