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