Package tigase.component

# Class AbstractKernelBasedComponent.DefaultPacketWriter

java.lang.Object
tigase.component.AbstractKernelBasedComponent.DefaultPacketWriter

All Implemented Interfaces:
  `PacketWriter`

Enclosing class:
  AbstractKernelBasedComponent

@Bean(name="writer", active=true) public static final class AbstractKernelBasedComponent.DefaultPacketWriter extends Object implements PacketWriter

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected final Logger`
  `log`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DefaultPacketWriter()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `write(Collection<Packet> elements)`
  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`

- ## Field Details

  - ### log

    protected final Logger log

- ## Constructor Details

  - ### DefaultPacketWriter

    public DefaultPacketWriter()

- ## Method Details

  - ### write

    public void write(Collection<Packet> elements)
    Description copied from interface: `PacketWriter`
    Writes collection of Packets.
    Specified by:
      `write` in interface `PacketWriter`
    Parameters:
      `elements` - 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`