Package 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 java.lang.Object
      implements PacketWriter

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `SMPacketWriter()` |

  - ### Method Summary

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

    - ### 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​(java.util.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`