tigase.server.xmppsession

## Class SessionManager.SMPacketWriter

- java.lang.Object
- - tigase.server.xmppsession.SessionManager.SMPacketWriter

- All Implemented Interfaces:
    PacketWriter
  Enclosing class:
    SessionManager

      @Bean(name="writer",
            active=true)
      public static class SessionManager.SMPacketWriter
      extends Object
      implements PacketWriter

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SMPacketWriter()`

  - ### Method Summary

    All Methods Instance Methods Concrete 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)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SMPacketWriter

          public SMPacketWriter()

  - ### Method Detail

    - #### write

          public void write(Collection<Packet> packets)

      Description copied from interface: `PacketWriter`
      Writes collection of Packets.
      Specified by:
        `write` in interface `PacketWriter`
      Parameters:
        `packets` - collection of Packets to be written.

    - #### write

          public void write(Packet packet)

      Description copied from interface: `PacketWriter`
      Writes single Packet.
      Specified by:
        `write` in interface `PacketWriter`
      Parameters:
        `packet` - `Packet` to be written.

    - #### write

          public void write(Packet packet,
                            AsyncCallback callback)

      Specified by:
        `write` in interface `PacketWriter`

Copyright © 2004–2021 "Tigase, Inc.". All rights reserved.