## Uses of Class
org.jgroups.util.Buffer

- Packages that use Buffer
  Package | Description
  --- | ---
  org.jgroups | Provides top-level public JGroups classes such as Channel, Message, etc.
  org.jgroups.blocks | Provides building blocks that are layered on top of channels.
  org.jgroups.protocols | Provides implementations of transport protocols which are responsible for sending and receiving messages to/from the network.
  org.jgroups.util | Provides useful functionality which cannot be assigned to any particular other package.

- - ### Uses of Buffer in org.jgroups

    Methods in org.jgroups with parameters of type Buffer
    Modifier and Type | Method and Description
    --- | ---
    `void` | Message.`setBuffer(Buffer buf)` Note that the byte[] buffer passed as argument must not be modified.

  - ### Uses of Buffer in org.jgroups.blocks

    Methods in org.jgroups.blocks that return Buffer
    Modifier and Type | Method and Description
    --- | ---
    `Buffer` | RpcDispatcher.Marshaller2.`objectToBuffer(java.lang.Object obj)` Marshals the object into a byte[] buffer and returns a Buffer with a ref to the underlying byte[] buffer, offset and length. Note that the underlying byte[] buffer must not be changed as this would change the buffer of a message which potentially can get retransmitted, and such a retransmission would then carry a ref to a changed byte[] buffer !
    `Buffer` | RpcDispatcher.MarshallerAdapter.`objectToBuffer(java.lang.Object obj)`

  - ### Uses of Buffer in org.jgroups.protocols

    Methods in org.jgroups.protocols with parameters of type Buffer
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | TP.`doSend(Buffer buf, Address dest, boolean multicast)`

  - ### Uses of Buffer in org.jgroups.util

    Methods in org.jgroups.util that return Buffer
    Modifier and Type | Method and Description
    --- | ---
    `Buffer` | Buffer.`copy()`
    `Buffer` | ExposedByteArrayOutputStream.`getBuffer()`
    `static Buffer` | Util.`messageToByteBuffer(Message msg)`
    `static Buffer` | Util.`msgListToByteBuffer(java.util.List<Message> xmit_list)` Marshalls a list of messages.

Copyright © 1998-2009 Bela Ban / Red Hat. All Rights Reserved.