tigase.component

## Interface PacketWriter

-     public interface PacketWriter

  Interface for writing Packets to XMPP stream.
  Author:
    bmalkow

- - ### Method Summary

    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 © 2015 "Tigase, Inc.". All rights reserved.