tigase.component

## Interface PacketWriter

-     public interface PacketWriter

  Interface for writing Packets to XMPP stream.
  Author:
    bmalkow

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `write(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(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)

Copyright © 2022 "Tigase, Inc.". All rights reserved.