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 Object implements PacketWriter

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SMPacketWriter()`

- ## Method Summary

  Modifier and Type
  Method
  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 Details

  - ### SMPacketWriter

    public SMPacketWriter()

- ## Method Details

  - ### 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`