Package tigase.component

## Interface PacketWriter

- All Known Implementing Classes:
    `AbstractComponent.DefaultPacketWriter`, `AbstractKernelBasedComponent.DefaultPacketWriter`, `SessionManager.SMPacketWriter`

      public interface PacketWriter

  Interface for writing Packets to XMPP stream.
  Author:
    bmalkow

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | `write​(java.util.Collection<Packet> packets)` | Writes collection of Packets.
    `void` | `write​(Packet packet)` | Writes single Packet.
    `void` | `write​(Packet packet, AsyncCallback callback)` |

- - ### Method Detail

    - #### write

          void write​(java.util.Collection<Packet> packets)

      Writes collection of Packets.
      Parameters:
        `packets` - collection of Packets to be written.

    - #### write

          void write​(Packet packet)

      Writes single Packet.
      Parameters:
        `packet` - `Packet` to be written.

    - #### write

          void write​(Packet packet,
                     AsyncCallback callback)